HomeFreeBSD

if_smsc: set MII BUSY bit to read/write PHY regs

Description

if_smsc: set MII BUSY bit to read/write PHY regs

Per the datasheet, the BUSY bit must be set when reading or writing PHY
registers. From Linux commit 80928805babf.

Submitted by: Arshan Khanifar
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D15217

Details

Provenance
emasteAuthored on
Differential Revision
D15217: Fixes to the if_smsc driver
Parents
rS333095: if_smsc: fix reset check
Branches
Unknown
Tags
Unknown