diff options
| author | Bill Paul <wpaul@FreeBSD.org> | 2000-01-15 18:43:07 +0000 |
|---|---|---|
| committer | Bill Paul <wpaul@FreeBSD.org> | 2000-01-15 18:43:07 +0000 |
| commit | 4640135aafbdf7825ef72d6100af64e4523c87ad (patch) | |
| tree | 61d371ae0fccc208f3b2aef5db125af5a3dd2fc6 | |
| parent | cf91f8282c8537baf273d2a0b904d225e1c04f77 (diff) | |
Notes
| -rw-r--r-- | sys/dev/usb/if_aue.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sys/dev/usb/if_aue.c b/sys/dev/usb/if_aue.c index 277d91387a61..9e8a3449c7bc 100644 --- a/sys/dev/usb/if_aue.c +++ b/sys/dev/usb/if_aue.c @@ -463,6 +463,18 @@ static void aue_miibus_statchg(dev) } AUE_SETBIT(sc, AUE_CTL0, AUE_CTL0_RX_ENB|AUE_CTL0_TX_ENB); + /* + * Set the LED modes on the LinkSys adapter. + * This turns on the 'dual link LED' bin in the auxmode + * register of the Broadcom PHY. + */ + if (sc->aue_info->aue_vid == USB_VENDOR_LINKSYS && + sc->aue_info->aue_did == USB_PRODUCT_LINKSYS_USB100TX) { + u_int16_t auxmode; + auxmode = aue_miibus_readreg(dev, 0, 0x1b); + aue_miibus_writereg(dev, 0, 0x1b, auxmode | 0x04); + } + return; } |
