summaryrefslogtreecommitdiff
path: root/sys/dev/mii
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2005-02-19 03:33:31 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2005-02-19 03:33:31 +0000
commit924bcd37fe1f89f620fc36af9830d1d9d9ed4d32 (patch)
tree2b5e52cbe93be9144351bb0dcbb26e43a027bd9d /sys/dev/mii
parentd83e263bc47f2aa624f23538c9a430a934d6aa46 (diff)
From part of NetBSD rtw.c rev 1.42:
log message: Program the LEDs based on operating state and packet activity. * On a Revision F RTL8180, blink LED1 at 1Hz to indicate scan/authenticate/associate states. In the run state, turn LED1 on. In every state, blink LED1 at 5Hz to indicate non-beacon tx/rx activity. I would like to use two LEDs, but in all my Rev. F instances, LED0 is not wired to an LED; instead, the first LED is wired to indicate that the card's power is on. * On a Revision D RTL8180, program the LEDs so that LED0 indicates Tx, and LED1 indicates Rx. The Rx LED will blink annoyingly if there are beacons in the air, but at least the Tx LED is useful. * Store the hardware revision in the softc to support my futile attempt at programming LEDs for both Rev. D and Rev. F parts; I never did get Rev. D LEDs to work right. * Add a debug flag RTW_DEBUG_LED for the LED transitions.
Diffstat (limited to 'sys/dev/mii')
0 files changed, 0 insertions, 0 deletions