Page MenuHomeFreeBSD

D15217.diff
No OneTemporary

D15217.diff

Index: head/sys/dev/usb/net/if_smsc.c
===================================================================
--- head/sys/dev/usb/net/if_smsc.c
+++ head/sys/dev/usb/net/if_smsc.c
@@ -452,7 +452,7 @@
goto done;
}
- addr = (phy << 11) | (reg << 6) | SMSC_MII_READ;
+ addr = (phy << 11) | (reg << 6) | SMSC_MII_READ | SMSC_MII_BUSY;
smsc_write_reg(sc, SMSC_MII_ADDR, addr);
if (smsc_wait_for_bits(sc, SMSC_MII_ADDR, SMSC_MII_BUSY) != 0)
@@ -505,7 +505,7 @@
val = htole32(val);
smsc_write_reg(sc, SMSC_MII_DATA, val);
- addr = (phy << 11) | (reg << 6) | SMSC_MII_WRITE;
+ addr = (phy << 11) | (reg << 6) | SMSC_MII_WRITE | SMSC_MII_BUSY;
smsc_write_reg(sc, SMSC_MII_ADDR, addr);
if (smsc_wait_for_bits(sc, SMSC_MII_ADDR, SMSC_MII_BUSY) != 0)

File Metadata

Mime Type
text/plain
Expires
Wed, Jan 15, 6:20 PM (15 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15813847
Default Alt Text
D15217.diff (760 B)

Event Timeline