diff options
author | Michael Chan <mchan@broadcom.com> | 2008-10-09 21:21:46 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-09 21:21:46 +0200 |
commit | 9f52b564b7162ede5a73a4f4b421ccf93c55b025 (patch) | |
tree | 1bc5a044492c5e8bf76115ebddb34fd85b6b52d7 /drivers/net/bnx2_fw.h | |
parent | bnx2: Add bnx2_shutdown_chip(). (diff) | |
download | linux-9f52b564b7162ede5a73a4f4b421ccf93c55b025.tar.xz linux-9f52b564b7162ede5a73a4f4b421ccf93c55b025.zip |
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>
Diffstat (limited to 'drivers/net/bnx2_fw.h')
0 files changed, 0 insertions, 0 deletions