mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 06:00:43 +00: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:
parent
d74a76234f
commit
16b9417b6a
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue