mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 08:01:08 +00:00
net: e1000: Fix e1000_igb semaphore handling
Fix commit f1bcad22dd
("net: e1000: add support for writing to
EEPROM").
Signed-off-by: Bernhard Messerklinger <bernhard.messerklinger@br-automation.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
parent
1693a577be
commit
8f5672ea9d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue