e1000e: fix acquisition of SW/FW/HW semaphore for ICHx parts
authorBruce Allan <bruce.w.allan@intel.com>
Fri, 7 Aug 2009 07:41:37 +0000 (07:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Aug 2009 04:45:36 +0000 (21:45 -0700)
commit373a88d78be540c1331ea5adcb76610dddcb008b
tree06d1a41276e71a9d34105a848df800f59350b2b3
parent6e455b897bb6be3a4c0c6578f679e83d399e5b92
e1000e: fix acquisition of SW/FW/HW semaphore for ICHx parts

For ICHx parts, write the EXTCNF_CTRL.SWFLAG bit once when trying to
acquire the SW/FW/HW semaphore instead of multiple times to prevent the
hardware from having problems (especially for systems with manageability
enabled), and extend the timeout for the hardware to set the SWFLAG bit.

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