summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2004-01-27 15:40:30 +0000
committerdes <des@FreeBSD.org>2004-01-27 15:40:30 +0000
commit58a1b901a48dccc815bfbd085b4cc8daa118b51a (patch)
tree9fff8518ed9e918100890130782bc4b54687ec4f /sys/boot
parentbcac35718827d251af051ed5c70fee3d96ea4688 (diff)
downloadFreeBSD-src-58a1b901a48dccc815bfbd085b4cc8daa118b51a.zip
FreeBSD-src-58a1b901a48dccc815bfbd085b4cc8daa118b51a.tar.gz
While USB keyboards attach as ukbd[0-9]+, the device node created by
kbd_attach() is called kbd[0-9]+, with a different unit number. This makes it impossible to write a devd rule which will automatically switch to a USB keyboard when one is attached, because there is no way to guess the correct device node to pass to kbdcontrol. Therefore, change kbd_attach() to create a device node using the keyboard device's real name (atkbd0, ukbd0...), and create the kbd[0-9]+ node as an alias for backward compatibility.
Diffstat (limited to 'sys/boot')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud