e1000e: perform 10/100 adaptive IFS only on parts that support it
authorBruce Allan <bruce.w.allan@intel.com>
Thu, 7 Jan 2010 16:31:35 +0000 (16:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Jan 2010 08:35:30 +0000 (00:35 -0800)
commitf464ba87fe7f346e270239354eb0d38f7a3b3e6b
tree0772d25c99b76181496ebd496ade3b17d29d507b
parent29477e249f5a28444c556bbb816f3af2b6f84412
e1000e: perform 10/100 adaptive IFS only on parts that support it

Adaptive IFS which involves writing to the Adaptive IFS Throttle register
was being done for all devices supported by the driver even though it is
not supported (i.e. the register doesn't even exist) on some devices.  The
feature is supported on 8257x/82583 and ICH/PCH based devices, but not
on ESB2.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000e/82571.c
drivers/net/e1000e/es2lan.c
drivers/net/e1000e/hw.h
drivers/net/e1000e/ich8lan.c
drivers/net/e1000e/lib.c