HomeFreeBSD

MFC r333095: if_smsc: fix reset check

Description

MFC r333095: if_smsc: fix reset check

In smsc_phy_init function, when the driver was trying to reset PHY, it
didn't poll for the correct bit (BMCR_RESET) to be cleared. Instead, it
anded it with MII_BMCR (which is 0), so it just exited the loop.

This issue was fixed in Linux in commit d94609200069.

Submitted by: Arshan Khanifar
Sponsored by: The FreeBSD Foundation

Details

Provenance
emasteAuthored on
Parents
rS353926: MFC r353680: vt: remove comment that is not true since r259680
Branches
Unknown
Tags
Unknown