Read ethernet address from ID registers for RTL8102E/RTL8102EL as

reading from EEPROM doesn't seem to work on these controllers.

Reported by:	Milan Obuch ( freebsd-net at dino dot sk )
Tested by:	Milan Obuch ( freebsd-net at dino dot sk )
This commit is contained in:
yongari 2008-09-06 00:25:16 +00:00
parent 894695e105
commit 6f5f8670b5

View File

@ -1213,7 +1213,8 @@ re_attach(device_t dev)
case RL_HWREV_8102E:
case RL_HWREV_8102EL:
sc->rl_flags |= RL_FLAG_NOJUMBO | RL_FLAG_INVMAR |
RL_FLAG_PHYWAKE | RL_FLAG_DESCV2 | RL_FLAG_MACSTAT;
RL_FLAG_PHYWAKE | RL_FLAG_PAR | RL_FLAG_DESCV2 |
RL_FLAG_MACSTAT;
break;
case RL_HWREV_8168_SPIN1:
case RL_HWREV_8168_SPIN2: