For RTL8168/8111D controller, make sure to wake PHY from power down
mode. Otherwise, PHY access times out under certain conditions.
This commit is contained in:
parent
65b9d1e358
commit
1aaa42d7bb
@ -1433,11 +1433,16 @@ re_attach(device_t dev)
|
||||
sc->rl_flags |= RL_FLAG_MACSLEEP;
|
||||
/* FALLTHROUGH */
|
||||
case RL_HWREV_8168CP:
|
||||
case RL_HWREV_8168D:
|
||||
sc->rl_flags |= RL_FLAG_PHYWAKE | RL_FLAG_PAR |
|
||||
RL_FLAG_DESCV2 | RL_FLAG_MACSTAT | RL_FLAG_CMDSTOP |
|
||||
RL_FLAG_AUTOPAD | RL_FLAG_JUMBOV2 | RL_FLAG_WOL_MANLINK;
|
||||
break;
|
||||
case RL_HWREV_8168D:
|
||||
sc->rl_flags |= RL_FLAG_PHYWAKE | RL_FLAG_PHYWAKE_PM |
|
||||
RL_FLAG_PAR | RL_FLAG_DESCV2 | RL_FLAG_MACSTAT |
|
||||
RL_FLAG_CMDSTOP | RL_FLAG_AUTOPAD | RL_FLAG_JUMBOV2 |
|
||||
RL_FLAG_WOL_MANLINK;
|
||||
break;
|
||||
case RL_HWREV_8168DP:
|
||||
sc->rl_flags |= RL_FLAG_PHYWAKE | RL_FLAG_PAR |
|
||||
RL_FLAG_DESCV2 | RL_FLAG_MACSTAT | RL_FLAG_AUTOPAD |
|
||||
|
Loading…
x
Reference in New Issue
Block a user