提交 8f5672ea 编写于 作者: B Bernhard Messerklinger 提交者: Joe Hershberger

net: e1000: Fix e1000_igb semaphore handling

Fix commit f1bcad22 ("net: e1000: add support for writing to
EEPROM").
Signed-off-by: NBernhard Messerklinger <bernhard.messerklinger@br-automation.com>
Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
上级 1693a577
......@@ -1181,7 +1181,7 @@ e1000_put_hw_eeprom_semaphore(struct e1000_hw *hw)
return;
swsm = E1000_READ_REG(hw, SWSM);
if (hw->mac_type == e1000_80003es2lan) {
if (hw->mac_type == e1000_80003es2lan || hw->mac_type == e1000_igb) {
/* Release both semaphores. */
swsm &= ~(E1000_SWSM_SMBI | E1000_SWSM_SWESMBI);
} else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册