diff options
author | Mark Rustad <mark.d.rustad@intel.com> | 2014-03-04 07:02:34 +0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2014-03-21 13:19:52 +0400 |
commit | dbf8b0d891bd3e0436ca17530c372b6b51d6ddab (patch) | |
tree | c29d2aee2b4adaed712e3d8c7361cda143c90845 /drivers/net/ethernet/nuvoton | |
parent | 388b2e4c0f09fa6f98f687b5ae8f3db6fd247e9d (diff) | |
download | linux-dbf8b0d891bd3e0436ca17530c372b6b51d6ddab.tar.xz |
ixgbevf: Check register reads for adapter removal
Check all register reads for adapter removal by checking the status
register after any register read that returns 0xFFFFFFFF. Since the
status register will never return 0xFFFFFFFF unless the adapter is
removed, such a value from a status register read confirms the
removal. Since this patch adds so much to ixgbe_read_reg, stop
inlining it, to reduce driver bloat.
Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/nuvoton')
0 files changed, 0 insertions, 0 deletions