]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 2 Feb 2009 17:53:23 +0000 (09:53 -0800)
commite11aab2d66df7c69df336d0f06f61b6a6050ca68
tree892e4df87463259994557f08ccb622031b9ed78f
parenta440c07665d64806a94db1e39ce2dae09d1ff78b
bnx2x: Block nvram access when the device is inactive

commit 2add3acb11a26cc14b54669433ae6ace6406cbf2 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/bnx2x_main.c