mirror of
https://xff.cz/git/u-boot/
synced 2025-08-31 16:22:36 +02:00
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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user