diff options
author | marius <marius@FreeBSD.org> | 2010-03-31 20:43:24 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2010-03-31 20:43:24 +0000 |
commit | 41905cc36439fe2bd87d0b1a1b68762651ac373a (patch) | |
tree | 1854380f18bb6b78e21700e4b4a628eba04c7dc8 /sys/dev/e1000/if_em.h | |
parent | 8ca00430023cd846ec4b67d76214dd42b8362d8e (diff) | |
download | FreeBSD-src-41905cc36439fe2bd87d0b1a1b68762651ac373a.zip FreeBSD-src-41905cc36439fe2bd87d0b1a1b68762651ac373a.tar.gz |
Hook the identification LEDs of igb(4), lem(4) and em(4) devices up with
led(4) so they can be lit or f.e. made blink via `echo f2 > /dev/led/em0`
for localization purposes.
Approved by: jfv
MFC afer: 1 week (after r205869)
Diffstat (limited to 'sys/dev/e1000/if_em.h')
-rw-r--r-- | sys/dev/e1000/if_em.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/e1000/if_em.h b/sys/dev/e1000/if_em.h index 63b4587..96d217b 100644 --- a/sys/dev/e1000/if_em.h +++ b/sys/dev/e1000/if_em.h @@ -337,6 +337,7 @@ struct adapter { /* FreeBSD operating-system-specific structures. */ struct e1000_osdep osdep; struct device *dev; + struct cdev *led_dev; struct resource *memory; struct resource *flash; |