e1000e: do not write SmartSpeed register bits on parts without support
commit60f1292fcbdff03ef5caea56404d3d81d05026f6
authorBruce Allan <bruce.w.allan@intel.com>
Wed, 1 Jul 2009 13:28:14 +0000 (1 13:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 4 Jul 2009 03:09:32 +0000 (3 20:09 -0700)
treec2e5904bed66be0540ba354d737e4d7f9b328929
parentfc0c7760aea07c74af3395ad18f96ba62eecac36
e1000e: do not write SmartSpeed register bits on parts without support

The driver was accessing register bits for features on parts that do
not support that feature.  This could cause problems in the hardware.

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/ich8lan.c