]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
bnx2x: Block nvram access when the device is inactive
authorEilon Greenstein <eilong@broadcom.com>
Wed, 14 Jan 2009 06:44:07 +0000 (06:44 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Jan 2009 00:20:10 +0000 (16:20 -0800)
commit2add3acb11a26cc14b54669433ae6ace6406cbf2
treeb703441fec9c0024bc656554000aee6ab4e2b73d
parent5a40e08e666e8caa1227333de41fd1e2cd84d4f5
bnx2x: Block nvram access when the device is inactive

Don't dump eeprom when bnx2x adapter is down.  Running ethtool -e causes an eeh
without it when the device is down

Signed-off-by: Paul Larson <pl@linux.vnet.ibm.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x_main.c