From: Mark Rustad Date: Tue, 4 Mar 2014 03:02:34 +0000 (+0000) Subject: ixgbevf: Check register reads for adapter removal X-Git-Tag: v3.15-rc1~113^2~97^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dbf8b0d891bd3e0436ca17530c372b6b51d6ddab;p=pandora-kernel.git 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 Tested-by: Phil Schmitt Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed