eth/r8152: reset PHY after setting it
Some settings of PHY have to work after resetting PHY. Signed-off-by: Hayes Wang <hayeswang@realtek.com>
This commit is contained in:
parent
d74a76234f
commit
16b9417b6a
@ -947,7 +947,7 @@ static int rtl8152_set_speed(struct r8152 *tp, u8 autoneg, u16 speed, u8 duplex)
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
bmcr = BMCR_ANENABLE | BMCR_ANRESTART;
|
||||
bmcr = BMCR_ANENABLE | BMCR_ANRESTART | BMCR_RESET;
|
||||
}
|
||||
|
||||
if (tp->supports_gmii)
|
||||
|
Loading…
Reference in New Issue
Block a user