commit | 9f52b564b7162ede5a73a4f4b421ccf93c55b025 | [log] [tgz] |
---|---|---|
author | Michael Chan <mchan@broadcom.com> | Thu Oct 09 12:21:46 2008 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu Oct 09 12:21:46 2008 -0700 |
tree | 1bc5a044492c5e8bf76115ebddb34fd85b6b52d7 | |
parent | 74bf4ba3d367aacbc04fef167289767f162cd730 [diff] |
bnx2: Check netif_running() in all ethtool operations. We need to check netif_running() state in most ethtool operations and properly handle the !netif_running() state where the chip is in an uninitailzed state or low power state that may not accept any MMIO. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: Benjamin Li <benli@broadcom.com> Signed-off-by: Matt Carlson <mcarlson@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>