kernel-ark/drivers/net/e1000e
Bruce Allan 7c25769f88 e1000e: cleanup several stats issues
Several stats registers are completely unused and we just waste pci
bus time reading them. We also omit using the high 32 bits of the GORC/
GOTC counters. We can just read clear them and only read the low registers.

Mii-tool can also break es2lan if it executes a MII PHY register
ioctl while the device is in autonegotiation. Unfortunately it seems
that several applications and installations still perform this ioctl
call periodically and especially in this crucial startup time. We
can fool the ioctl by providing fail safe information that mimics
the "down" link state and only perform the dangerous PHY reads once
after link comes up to fill in the real values. As long as link
stays up the information will not change.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2008-04-25 02:07:11 -04:00
..
82571.c e1000e: cleanup several stats issues 2008-04-25 02:07:11 -04:00
defines.h e1000e: cleanup several stats issues 2008-04-25 02:07:11 -04:00
e1000.h e1000e: cleanup several stats issues 2008-04-25 02:07:11 -04:00
es2lan.c e1000e: cleanup several stats issues 2008-04-25 02:07:11 -04:00
ethtool.c e1000e: cleanup several stats issues 2008-04-25 02:07:11 -04:00
hw.h e1000e: cleanup several stats issues 2008-04-25 02:07:11 -04:00
ich8lan.c e1000e: rename a few functions 2008-04-16 20:41:37 -04:00
lib.c e1000e: rename a few functions 2008-04-16 20:41:37 -04:00
Makefile e1000e: reformat comment blocks, cosmetic changes only 2008-03-28 22:14:56 -04:00
netdev.c e1000e: cleanup several stats issues 2008-04-25 02:07:11 -04:00
param.c e1000e: reformat comment blocks, cosmetic changes only 2008-03-28 22:14:56 -04:00
phy.c e1000e: reorganize PHY and flow control interface 2008-03-28 22:15:00 -04:00