diff options
author | Tom Lendacky | 2017-08-28 22:29:34 +0200 |
---|---|---|
committer | David S. Miller | 2017-08-30 00:31:10 +0200 |
commit | f602b976b6b0eab8de59e438f9313da72b47a8e4 (patch) | |
tree | d73b436921bbb845c8a8187454a16c132efccff3 /drivers/net/ethernet/toshiba | |
parent | Merge branch 'nsh-headers-GSO' (diff) | |
download | kernel-qcow2-linux-f602b976b6b0eab8de59e438f9313da72b47a8e4.tar.gz kernel-qcow2-linux-f602b976b6b0eab8de59e438f9313da72b47a8e4.tar.xz kernel-qcow2-linux-f602b976b6b0eab8de59e438f9313da72b47a8e4.zip |
amd-xgbe: Interrupt summary bits are h/w version dependent
There is a difference in the bit position of the normal interrupt summary
enable (NIE) and abnormal interrupt summary enable (AIE) between revisions
of the hardware. For older revisions the NIE and AIE bits are positions
16 and 15 respectively. For newer revisions the NIE and AIE bits are
positions 15 and 14. The effect in changing the bit position is that
newer hardware won't receive AIE interrupts in the current version of the
driver. Specifically, the driver uses this interrupt to collect
statistics on when a receive buffer unavailable event occurs and to
restart the driver/device when a fatal bus error occurs.
Update the driver to set the interrupt enable bit based on the reported
version of the hardware.
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/toshiba')
0 files changed, 0 insertions, 0 deletions