]> bbs.cooldavid.org Git - net-next-2.6.git/commit
e1000e: 82579 do not gate auto config of PHY by hardware during nominal use
authorBruce Allan <bruce.w.allan@intel.com>
Wed, 22 Sep 2010 17:17:01 +0000 (17:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Sep 2010 03:41:21 +0000 (20:41 -0700)
commit605c82bab5abe0816e5e32716875c245f89f39da
treed674d7ab73faf79957a9c87f850ab678537bde7d
parenta1ce647378c0262fe72757f989e961b2de6460a5
e1000e: 82579 do not gate auto config of PHY by hardware during nominal use

For non-managed versions of 82579, set the bit that prevents the hardware
from automatically configuring the PHY after resets only when the driver
performs a reset, clear the bit after resets.  This is so the hardware can
configure the PHY automatically when the part is reset in a manner that is
not controlled by the driver (e.g. in a virtual environment via PCI FLR)
otherwise the PHY will be mis-configured causing issues such as failing to
link at 1000Mbps.
For managed versions of 82579, keep the previous behavior since the
manageability firmware will handle the PHY configuration.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@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