From: Auke Kok Date: Fri, 9 Jun 2006 18:29:03 +0000 (-0700) Subject: e1000: prevent statistics from garbling during bus resets X-Git-Tag: v2.6.18-rc2~255^2~1^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a487a8f7b6947f6445e5a1aa876522916785d5ec;p=pandora-kernel.git e1000: prevent statistics from garbling during bus resets If a PCI bus error/fault triggers a PCI bus reset, attempts to get the ethernet packet count statistics from the hardware will fail, returning garbage data upstream. This patch skips statistics data collection if the PCI device is not on the bus. Signed-off-by: Linas Vepstas Cc: Jesse Brandeburg Signed-off-by: Andrew Morton Acked-by: Auke Kok --- Reading git-diff-tree failed