summaryrefslogtreecommitdiffstats
path: root/sys/dev/vkbd
Commit message (Collapse)AuthorAgeFilesLines
* Fix our ioctl(2) implementation when the argument is "int". Newru2006-09-271-0/+28
| | | | | | | | | | | | | ioctls passing integer arguments should use the _IOWINT() macro. This fixes a lot of ioctl's not working on sparc64, most notable being keyboard/syscons ioctls. Full ABI compatibility is provided, with the bonus of fixing the handling of old ioctls on sparc64. Reviewed by: bde (with contributions) Tested by: emax, marius MFC after: 1 week
* Disable custom locking in the vkbd(4) for now and make it rely on theemax2006-02-271-2/+20
| | | | | | | Giant mutex (just like the rest of keyboard drivers and syscons(4) do). Tested by: markus MFC after: 1 day
* Merge the dev_clone and dev_clone_cred event handlers into a singlerwatson2005-08-081-2/+4
| | | | | | | | | | | | | event handler, dev_clone, which accepts a credential argument. Implementors of the event can ignore it if they're not interested, and most do. This avoids having multiple event handler types and fall-back/precedence logic in devfs. This changes the kernel API for /dev cloning, and may affect third party packages containg cloning kernel modules. Requested by: phk MFC after: 3 days
* Fix kernel panic with vkbd(4). Initialize mutex properly (set name), or elseemax2005-07-211-1/+1
| | | | | | WITNESS gets upset. MFC after: 3 days
* Fix yet another cut-and-paste bug.emax2005-05-201-1/+1
| | | | kbd was allocated from M_VKBD not from M_DEVBUF
* Dont clear all flags in vkbd_clear_state_locked(). Clear only COMPOSE flag.emax2005-05-161-1/+1
| | | | MFC after: 3 days
* Explicitly hold a reference to the cdev we have just cloned. Thisphk2005-03-311-1/+3
| | | | | closes the race where the cdev was reclaimed before it ever made it back to devfs lookup.
* plug memory leaksam2005-02-251-13/+25
| | | | | Noticed by: Coverity Prevent analysis tool Reviewed by: emax
* Start each of the license/copyright comments with /*-, minor shuffle of linesimp2005-01-062-2/+2
|
* Include fcntl.hphk2004-12-221-3/+4
| | | | | | Check O_NONBLOCK instead of IO_NDELAY. Include selinfo.h instead of relying on vnode.h to do so. Don't include vnode.h
* Add virtual AT keyboard driver vkbd(4).emax2004-11-162-0/+1372
Not yet connected to the build.
OpenPOWER on IntegriCloud