bnx2x: PCI configuration bug on big-endian
authorEilon Greenstein <eilong@broadcom.com>
Tue, 4 Nov 2008 00:46:19 +0000 (16:46 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Nov 2008 00:46:19 +0000 (16:46 -0800)
commit7d96567ac0527703cf1b80043fc0ebd7f21a10ad
treec51fc21eb9149b8ac13bec127c8f9e6599a8164c
parent9a0354405feb0f8bd460349a93db05e4cca8d166
bnx2x: PCI configuration bug on big-endian

The current code read nothing but zeros on big-endian (wrong part of the
32bits). This caused poor performance on big-endian machines. Though this
issue did not cause the system to crash, the performance is significantly
better with the fix so I view it as critical bug fix.

Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x_init.h