commit | f076f453729bb7dd63a798743ee11dea039c7df3 | [log] [tgz] |
---|---|---|
author | Lendacky, Thomas <Thomas.Lendacky@amd.com> | Fri Aug 29 13:16:56 2014 -0500 |
committer | David S. Miller <davem@davemloft.net> | Mon Sep 01 20:38:14 2014 -0700 |
tree | 62cd16e3e0ab4cf13bc85a40fd73f4db98d84170 | |
parent | a9a4a2d9d622e3bde41356aa4e2694cee052d002 [diff] |
amd-xgbe: Reported fifo size from hardware is not correct The fifo size reported by the hardware is not correct. Add support to limit the reported size to what is actually present. Also, fix the argument types used in the fifo size calculation function. Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: David S. Miller <davem@davemloft.net>