1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00
freebsd/sys/dev
Poul-Henning Kamp c46def32e2 Add a generic LED driver for flashing lamps.
The hardware driver decides the name under /dev/led and provides
the function to turn the lamp on/off.

All leds are serviced by a single timeout which runs at a basic rate
of hz/10.

The LED is controlled by ascii strings as follows.

0	Turn off.
1	Turn on.
f	Flash: _-
f2	Flash: __--
f3	Flash: ___---
f4...f9 etc.
d%d	Digits.  "d12": -__________-_-______________________________
s%s	String, roll your own:
	'a-j' gives on for (1...10)/10 sec.
	'A-J' gives on for (1...10)/10 sec.
	'sAaAbBa': _-_--__-
m%s	Morse
	'.' dot
	'-' dash
	' ' letter space
	'\n' word space

My mdoc skills do not reach to express that.
2003-11-03 09:47:30 +00:00
..
aac Remove a bogus PCI ID entry. 2003-11-01 00:13:43 +00:00
acpica Add devctl(4) notify support to ACPI. Various subsystems now notify 2003-10-25 05:03:25 +00:00
adlink The present defaults for the open and close for device drivers which 2003-09-27 12:01:01 +00:00
advansys
agp Add simple support for AGP 3.0 including enabling 8x mode. The simple 2003-10-23 18:08:56 +00:00
aha
ahb
aic
aic7xxx Remove explicit cardbus attachments from drivers where this is identical 2003-11-03 09:22:18 +00:00
amd
amr crashdump support. 2003-10-10 22:49:40 +00:00
an Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
ar Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
asr Remove code previously under #ifdef ASR_VERY_BROKEN 2003-09-26 15:56:42 +00:00
ata Move sysctl declarations next to the corresponding tunable declarations. 2003-11-03 09:25:02 +00:00
ath Remove explicit cardbus attachments from drivers where this is identical 2003-11-03 09:22:18 +00:00
atkbdc Assign keycodes for Power, Sleep and Wake keys. 2003-10-07 09:21:59 +00:00
awi Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
bfe Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
bge Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
bktr
buslogic
cardbus Make the cardbus driver a derived class of the pci driver. In theory, this 2003-11-01 12:45:03 +00:00
ciss Print the correct logical drive lun number returned by the controller. 2003-10-15 18:52:44 +00:00
cm Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
cnw Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
cs Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
ct
cy MFsio (sio.c 1.413: cleaned up and fixed setting of speeds in comparam()). 2003-09-27 12:40:23 +00:00
dc Remove explicit cardbus attachments from drivers where this is identical 2003-11-03 09:22:18 +00:00
dcons Add dumb console driver and related bits. 2003-10-24 15:44:10 +00:00
de Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
dec
dgb
digi Eliminate bogus use of makedev(): rather than synthesize the dev_t, use 2003-09-26 09:05:57 +00:00
dpt
drm Don't try to use dev->dma_lock unless dma is initialized (dev->dma != NULL) 2003-10-24 21:45:21 +00:00
ed Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
eisa
em Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
en Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
ep MFp4: 2003-11-02 20:13:39 +00:00
ex Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
exca Card type stuff was backwards, so assume io for the moment. mem needs 2003-10-07 04:29:04 +00:00
fatm Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
fb Change fb_attach() and fb_detach() to take a integer unit number rather 2003-09-26 10:41:44 +00:00
fdc Look at the equipment list for amd64 as well as i386 for autodetecting 2003-10-23 05:52:52 +00:00
fe Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
firewire Remove explicit cardbus attachments from drivers where this is identical 2003-11-03 09:22:18 +00:00
fxp Remove explicit cardbus attachments from drivers where this is identical 2003-11-03 09:22:18 +00:00
gem Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
gfb Change fb_attach() and fb_detach() to take a integer unit number rather 2003-09-26 10:41:44 +00:00
gx Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
harp Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
hatm Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
hea
hfa
hifn Add symmetric crypto support for the 7955 and 7956. 2003-10-08 20:25:47 +00:00
hme Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
ic Added definitions of most of the interesting 16950 register numbers 2003-09-16 14:21:17 +00:00
ichsmb
ida
idt
ie Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
iicbus Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
iir Update email addresses, copyrights, and tweak the management interface. 2003-09-26 15:36:47 +00:00
ips Eliminate reporting of bio_blkno. 2003-10-18 17:28:36 +00:00
isp Turn off ISP_SMPLOCK- not to be turned on again. 2003-10-21 21:52:23 +00:00
ispfw
joy
kbd Assign keycodes for Power, Sleep and Wake keys. 2003-10-07 09:21:59 +00:00
led Add a generic LED driver for flashing lamps. 2003-11-03 09:47:30 +00:00
lge Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
lmc
lnc Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
matcd Discontinue bio_blkno, use bio_offset instead. 2003-10-18 17:44:01 +00:00
mc146818
mca
mcd Discontinue bio_blkno, use bio_offset instead. 2003-10-18 17:44:01 +00:00
md Don't initialize unused bio_blkno field. 2003-10-18 11:25:42 +00:00
mii Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
mk48txx
mlx
mly
mpt
mse
musycc
my Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
ncv Const poison string accessor functions. 2003-10-26 00:51:40 +00:00
nge Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
nmdm I don't know from where the notion that device driver should or 2003-09-28 20:48:13 +00:00
nsp
null Shorten the code by removing one "do-nothing" function, replacing it 2003-11-01 09:31:54 +00:00
ofw Use bio_offset instead of bio_blkno 2003-10-18 17:26:13 +00:00
owi Fix a race condition in owi. If you eject a card, then the wi_inquire 2003-10-14 05:25:31 +00:00
patm Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
pccard ia64 tenderbox hates what I did wrt a printf, so cast the snot out of 2003-11-03 01:30:03 +00:00
pccbb Backswards is as backwards does: If we're MPSAFE, then we don't need 2003-10-24 07:20:13 +00:00
pcf
pci Make the cardbus driver a derived class of the pci driver. In theory, this 2003-11-01 12:45:03 +00:00
pcic
pdq Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
ppbus Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
ppc
pst Dont re-arm the timeout twice on a timeout error. 2003-09-08 06:28:50 +00:00
puc Remove explicit cardbus attachments from drivers where this is identical 2003-11-03 09:22:18 +00:00
raidframe Use bio_offset instead of bio_blkno 2003-10-18 17:26:13 +00:00
random Make sure we get all user-written input. This simplifies the 2003-11-02 10:55:16 +00:00
ray Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
rc
re Remove explicit cardbus attachments from drivers where this is identical 2003-11-03 09:22:18 +00:00
rndtest
rp
sab OK, I messed up /dev/console with what I had hoped would be compat 2003-09-26 19:35:50 +00:00
safe
sbni Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
sbsh Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
scd Discontinue bio_blkno, use bio_offset instead. 2003-10-18 17:44:01 +00:00
sf Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
si
sio Remove explicit cardbus attachments from drivers where this is identical 2003-11-03 09:22:18 +00:00
sk Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
smbus
sn Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
snc Do if_xname conversion. I missed this one because it's pc98 only. 2003-11-01 23:24:38 +00:00
snp
sound Don't attempt to destroy the driver mutex when it hasn't yet 2003-10-29 21:54:37 +00:00
speaker
sr Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
stg
streams falloc allocates a file structure and adds it to the file descriptor 2003-10-19 20:41:07 +00:00
sym
syscons Fix a panic that occurs when resuming. For some reason, sc->cur_scp is 2003-10-29 20:48:13 +00:00
tdfx
tga
ti Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
trm
twe
tx Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
txp Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
uart Remove explicit cardbus attachments from drivers where this is identical 2003-11-03 09:22:18 +00:00
ubsec
usb Remove explicit cardbus attachments from drivers where this is identical 2003-11-03 09:22:18 +00:00
utopia
vinum Do not initialize bp->b_pblkno, it is going away. 2003-10-18 17:57:48 +00:00
vr Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
vx Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
wds
wi Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
wl Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
xe Constify a few more strings that were hidden behind XE_DEBUG define. 2003-11-02 23:29:33 +00:00
zs OK, I messed up /dev/console with what I had hoped would be compat 2003-09-26 19:35:50 +00:00