freebsd-nq/sys/dev
Ruslan Ermilov ac3912b020 Fix LEDs not working when atkbd is an active keyboard and the physical
keyboard is attached only after the system has already booted.

If USB keyboard is also present, and there's no kbdmux(4), the problem
has been hiding itself because as soon as we get to multi-user, the
USB keyboard becomes an active keyboard (see devd.conf), thus marking
atkbd inactive and letting the old code initialize the keyboard.

With kbdmux(4), or if there's no USB keyboard, the atkbd keyboard is
always active, whether it's physically attached or not, thus it never
initialized itself properly on a physical attach.

To fix this, move block that initialized the keyboard on attach upper
so it doesn't depend on the (KBD_IS_ACTIVE(kbd) && KBD_IS_BUSY(kbd))
condition.  Also move KBD_FOUND_DEVICE() a few lines upper so that
KDSETLED and KDSETREPEAT that follow it propagate to the controller.

MFC after:	3 days
2006-10-25 13:35:42 +00:00
..
aac
acpi_support
acpica Disable an overly-verbose warning message by default. 2006-09-24 09:39:17 +00:00
adlink
advansys
agp The page queues lock is no longer required by vm_page_busy() or 2006-10-22 21:18:48 +00:00
aha
ahb
aic aic_pccard_products can be static. 2006-10-03 04:51:18 +00:00
aic7xxx
amd
amr
an
ar
arcmsr
arl
asr
ata Add missing PCI ID for the acer m5288 2006-10-08 09:58:00 +00:00
ath correct diag request to fetch isr state on fatal interrupts 2006-10-09 23:45:26 +00:00
atkbdc Fix LEDs not working when atkbd is an active keyboard and the physical 2006-10-25 13:35:42 +00:00
auxio
awi tweak comment 2006-10-19 05:25:29 +00:00
bce Refine the checksum hack a little. It appears that the chip can handle UDP 2006-10-24 08:24:31 +00:00
bfe
bge There is no reason to have a PAGE_SIZE alignment enforced on all DMA by the 2006-10-19 08:03:22 +00:00
bktr Update prototype for smbus callback change. 2006-09-18 20:17:42 +00:00
buslogic
cardbus
ce
ciss
cm
cnw
cp
cpufreq
cs - Consistently use if_printf() only in interface methods: if_start(), 2006-09-15 15:16:12 +00:00
ct
ctau
cx
cy
dc - Consistently use if_printf() only in interface methods: if_start(), 2006-09-15 15:16:12 +00:00
dcons
de - Consistently use if_printf() only in interface methods: if_start(), 2006-09-15 15:16:12 +00:00
digi Fix our ioctl(2) implementation when the argument is "int". New 2006-09-27 19:57:02 +00:00
dpt
drm Merge from DRM upstream: 2006-09-07 23:04:47 +00:00
ed
eisa
em Back out rev. 1.152 as it was breaking vlan tag insertion when vlan tag 2006-09-29 21:38:12 +00:00
en - Consistently use if_printf() only in interface methods: if_start(), 2006-09-15 15:16:12 +00:00
ep
esp
ex
exca Cleanup sloppy ifdef. 2006-09-24 00:26:33 +00:00
fatm
fb
fdc Fix style nits. No md5 changes in .o's. ;-) 2006-09-08 21:46:01 +00:00
fe
firewire
fxp fix fxp so that it will reset the link when you change the speed... This 2006-10-06 20:53:01 +00:00
gem
gfb
harp
hatm
hfa
hifn
hme
hptmv
hwpmc Declare security and security.bsd sysctl hierarchies in sysctl.h along 2006-09-17 20:00:36 +00:00
ic Fix style nits. No md5 changes in .o's. ;-) 2006-09-08 21:46:01 +00:00
ichsmb Minor overhaul of SMBus support: 2006-09-11 20:52:41 +00:00
ichwd
ida
idt
ie
ieee488
if_ndis Static -> static. 2006-09-07 06:00:03 +00:00
iicbus Minor overhaul of SMBus support: 2006-09-11 20:52:41 +00:00
iir
io
ipmi ipmi_polled_enqueue_request() is already called with the lock held, just 2006-10-12 16:26:42 +00:00
ips o Add Adaptec ServeRAID 7x IDs. IDs taken from Linux. 2006-10-05 07:28:43 +00:00
ipw
isp Begin the process of moving info to sysctl stuff for FreeBSD 2006-09-26 04:59:52 +00:00
ispfw
iwi net80211 seems to give us more rates than specified via ic_sup_rates under 2006-10-23 00:34:07 +00:00
ixgb Move ethernet VLAN tags from mtags to its own mbuf packet header field 2006-09-17 13:33:30 +00:00
joy
kbd
kbdmux Fix our ioctl(2) implementation when the argument is "int". New 2006-09-27 19:57:02 +00:00
le
led
lge - Consistently use if_printf() only in interface methods: if_start(), 2006-09-15 15:16:12 +00:00
lmc
mc146818
mca
mcd
md
mem
mfi Remove some debugging code that accidentally crept in. 2006-10-16 04:30:09 +00:00
mii
mk48txx
mlx
mly
mmc Preliminary MMC stack. This stack supports SD 1.0 cards only, but 2006-10-20 06:39:59 +00:00
mpt Connect up a QUEUE FULL event with CAM and adjust openings. 2006-09-21 20:35:12 +00:00
mse
mxge Fix a driver bug which could result in frames MHLEN or (MHLEN - 1) bytes 2006-10-17 14:39:19 +00:00
my - Consistently use if_printf() only in interface methods: if_start(), 2006-09-15 15:16:12 +00:00
ncv
nfe style(9) 2006-10-19 10:04:46 +00:00
nge Move ethernet VLAN tags from mtags to its own mbuf packet header field 2006-09-17 13:33:30 +00:00
nmdm
nsp
null
nve
ofw Using the ptr defines broke the powerpc build - convert set_mmfsa to the same 2006-10-11 02:52:46 +00:00
patm
pbio
pccard
pccbb
pcf
pci fix tab indentation for CP and RV... 2006-10-20 21:28:11 +00:00
pdq
powermac_nvram
ppbus
ppc
pst
puc
ral
random
ray tweak comments about OLDCARD workarounds 2006-10-19 05:25:53 +00:00
rc
re Move ethernet VLAN tags from mtags to its own mbuf packet header field 2006-09-17 13:33:30 +00:00
rndtest
rp
rr232x
safe
sbni
sbsh
scc
scd
sf Whitespace nits. 2006-09-15 11:01:23 +00:00
si
sio Only treat positive values as errors... 2006-09-14 03:47:59 +00:00
sk provide routines to access VPD data at the PCI layer... 2006-10-09 16:15:56 +00:00
smbus Only support the SMB_OLD_BREAD ioctl if one of COMPAT_FREEBSD[456] is 2006-09-26 14:38:56 +00:00
sn
snc
snp
sound - Inverted EAPD quirk for ASUS A8Jc. 2006-10-16 14:43:22 +00:00
speaker
spibus MFp4: when passing the transfer up the foodchain, make sure we go up 2006-10-20 07:11:52 +00:00
sr
stg
stge Move ethernet VLAN tags from mtags to its own mbuf packet header field 2006-09-17 13:33:30 +00:00
streams
sym
syscons Fix our ioctl(2) implementation when the argument is "int". New 2006-09-27 19:57:02 +00:00
tdfx
ti Move ethernet VLAN tags from mtags to its own mbuf packet header field 2006-09-17 13:33:30 +00:00
trm
twa Use utc_offset() where applicable, and hide the internals of it 2006-10-02 18:23:37 +00:00
twe
tx
txp Move ethernet VLAN tags from mtags to its own mbuf packet header field 2006-09-17 13:33:30 +00:00
uart Fix our ioctl(2) implementation when the argument is "int". New 2006-09-27 19:57:02 +00:00
ubsec Switch to using STAILQ_REMOVE_HEAD() instead of STAILQ_REMOVE_HEAD_UNTIL(). 2006-10-24 11:17:46 +00:00
usb Fix non-working CAPS LED under X by applying fix from atkbd.c,v 1.27: 2006-10-25 12:22:19 +00:00
utopia
vge Move ethernet VLAN tags from mtags to its own mbuf packet header field 2006-09-17 13:33:30 +00:00
vkbd Fix our ioctl(2) implementation when the argument is "int". New 2006-09-27 19:57:02 +00:00
vr Whitespace nits. 2006-09-15 11:01:23 +00:00
vx
watchdog
wds
wi
wl
xe
zs