android_kernel_xiaomi_sdm845/drivers/net/e1000
Auke Kok a487a8f7b6 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 <linas@austin.ibm.com>
Cc: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Acked-by: Auke Kok <auke-jan.h.kok@intel.com>
2006-06-09 11:29:03 -07:00
..
e1000_ethtool.c Merge branch 'upstream-fixes' into upstream 2006-06-08 15:55:45 -04:00
e1000_hw.c e1000: remove leading and trailing whitespace. 2006-05-23 13:36:06 -07:00
e1000_hw.h e1000: remove leading and trailing whitespace. 2006-05-23 13:36:06 -07:00
e1000_main.c e1000: prevent statistics from garbling during bus resets 2006-06-09 11:29:03 -07:00
e1000_osdep.h e1000: Version bump, contact fix, year string change 2006-04-14 19:05:31 -07:00
e1000_param.c e1000: Version bump, contact fix, year string change 2006-04-14 19:05:31 -07:00
e1000.h e1000: Version bump, contact fix, year string change 2006-04-14 19:05:31 -07:00
LICENSE Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile e1000: Fix date string in Makefile 2006-05-23 13:36:10 -07:00