]> git.karo-electronics.de Git - karo-tx-linux.git/commit
bnx2x: PCI configuration bug on big-endian
authorEilon Greenstein <eilong@broadcom.com>
Tue, 4 Nov 2008 00:46:19 +0000 (16:46 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 20 Nov 2008 22:54:43 +0000 (14:54 -0800)
commitb905e4eea3b6ee9d273262a999b8736929f5002d
tree17f08a2290d781c2b0be94d584f24090f64af82a
parent365ef014724ec99fa6aee6bad8b66f352e2ab711
bnx2x: PCI configuration bug on big-endian

commit 7d96567ac0527703cf1b80043fc0ebd7f21a10ad upstream.

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>
Cc: Alex Chiang <achiang@hp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/bnx2x_init.h