diff options
author | Michael Chan <mchan@broadcom.com> | 2008-10-09 12:21:46 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-09 12:21:46 -0700 |
commit | 9f52b564b7162ede5a73a4f4b421ccf93c55b025 (patch) | |
tree | 1bc5a044492c5e8bf76115ebddb34fd85b6b52d7 /drivers/net/r6040.c | |
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>
Diffstat (limited to 'drivers/net/r6040.c')
0 files changed, 0 insertions, 0 deletions