From: Michael Chan Date: Tue, 15 Jul 2008 05:37:21 +0000 (-0700) Subject: bnx2: Prevent ethtool -s from crashing when device is down. X-Git-Tag: v2.6.27-rc1~969^2~145 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6b14486953d0e8d1c57db29bf6104cea198b884;p=pandora-kernel.git bnx2: Prevent ethtool -s from crashing when device is down. The device may be in D3-hot state and may crash if we try to configure the speed settings by accessing the registers. Signed-off-by: Michael Chan Signed-off-by: David S. Miller --- Reading git-diff-tree failed