summaryrefslogtreecommitdiffstats
path: root/sys/dev/wscons/wsmuxvar.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Serialize access to the list of attached child devices belonging to aanton2019-02-181-1/+2
| | | | | | | | | | wsmux. When invoking wsevsrc_* functions on a attached child device, underlying driver can sleep; this introduces a race where another thread is able to modify the list leading to all kinds of corruptions. ok visa@ Reported-by: syzbot+03f7377a9848d7d008c9@syzkaller.appspotmail.com
* Attempt to make user changes of keyboard layout a bit more `sticky' on wsmuxmiod2014-01-261-1/+3
| | | | | | | | | | | | | | | | | kernels: - keyboard drivers will now tell wskbd if the keyboard layout they ask for is a default value, or a value they are 100% sure of (either because your kernel has a XXXKBD_LAYOUT option, or because the driver can tell the keyboard layout, e.g. by the country code on USB keyboards which provide it, such as Sun's) - when attaching a keyboard with a non-default layout, the layout will become the default layout of the mux for new keyboard attachments if the mux doesn't have a layout set already. - when changing the keyboard layout of a particular keyboard with an ioctl (i.e. using kbd(8) or wsconsctl(8)), the layout will become the default layout of the mux for new keyboard attachments. ok mpi@
* CIRCLEQ begone.krw2013-12-021-3/+3
| | | | ok jsing@ (who actually ok'd the systat one too, not millert@)
* First pass at removing clauses 3 and 4 from NetBSD licenses.ray2008-06-261-8/+1
| | | | | | | | | Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
* On platforms which do not use wsmux (because they can't have more than onemiod2006-08-051-2/+2
| | | | | keyboard at once), force wskbd0 to connect to wsdisplay0 even if they are not console devices.
* Partial sync to the NetBSD wscons code, bringing a better wsmux behaviourmiod2005-05-151-46/+55
| | | | | | | and bugfixes (the kqueue code, /dev/wsmuxctl and screen border color changes have not been picked), keeping local changes. Tested by many on alpha/cats/hp300/i386/macppc/sparc/sparc64/zaurus if not more.
* First round of __P removal in sysmillert2002-03-141-25/+25
|
* Add a new wsmuxop, dissetdisplay, which wsmux uses to disocver whether a muxaaron2001-03-301-1/+2
| | | | | | device is connected to a display or not. Use it in wsmux_detach_sc(). This fixes a problem I've been struggling with whereby the machine panics if I detach a USB keyboard before disconnecting it from wsdisplay.
* Make this compile under OpenBSD.aaron2000-11-131-2/+4
|
* update wscons, nothing serious, mostly api fixes for us; from netbsd through aaron@mickey2000-08-011-6/+1
|
* import newer wscons source from netbsd.mickey2000-05-161-0/+100
art@ said it will make his life easier in alpha rhands@ said it is not used in powerpc for now bjc@ said that it would make vax port easier mickey@ said other platforms can use it, and it's faster