freebsd-skq/sys
Jean-Sébastien Pédron 61220c0d64 vt(4): Save/restore keyboard mode & LED states when switching window
Add new functions to manipulate these mode & state, instead of calling
kbdd_ioctl() everyhere.

This fixes at least two bugs:

    1. The state of the Scroll Lock LED and the state of scroll mode
       could be out-of-sync. For instance, if one enables scroll mode on
       window #1 and switches to window #2, the LED would remain on, but
       the window wouldn't be in scroll mode.

       Similarily, when switching between a console and an X.Org
       session, the LED states could be inconsistent with the real
       state.

    2. When exiting from an X.Org session, the user could be unable to
       type anything. The workaround was to switch to another console
       window and come back.

Differential Revision:	https://reviews.freebsd.org/D821
Reviewed by:	ray@
Approved by:	ray@
Tested by:	kwm@
MFC after:	3 days
2014-10-02 16:36:37 +00:00
..
amd64 Get rid of code that dealt with the hardware not being able to save/restore 2014-10-02 05:32:29 +00:00
arm Allow timer0 to run at full 24MHz not at 24MHz/16 by setting prescale to 1. 2014-10-02 06:00:55 +00:00
boot Remove MK_ARM_EABI, the armeb issues have been fixed. The code to support 2014-10-01 08:26:51 +00:00
bsm IFp4 @1192291: 2014-04-07 20:44:00 +00:00
cam Use REPORT LUNS command for SPC-2 devices with LUN 0 disconnected. 2014-10-02 10:58:52 +00:00
cddl Diff reduction with kernel code: instruct the compiler that the data of 2014-10-02 00:13:08 +00:00
compat Fix fcntl(2) compat32 after r270691. The copyin and copyout of the 2014-09-25 21:07:19 +00:00
conf Split you the syscall handling to a separate file. 2014-10-01 12:44:16 +00:00
contrib Remove this stuff - it's no longer needed here. 2014-09-30 03:29:46 +00:00
crypto Put the aesni_cipher_setup() and aesni_cipher_process() functions into 2014-06-24 06:55:49 +00:00
ddb ddb: allow specifying the exact address of the symtab and strtab 2014-09-25 08:28:10 +00:00
dev vt(4): Save/restore keyboard mode & LED states when switching window 2014-10-02 16:36:37 +00:00
fs Call uma_zfree() outside of lock, and improve comment. 2014-10-02 10:37:56 +00:00
gdb Add support for gdb's memory searching capabilities to our in-kernel gdb 2014-09-05 16:40:47 +00:00
geom Be prepared that set_dumper() might fail even when resetting it or prefix 2014-09-30 12:00:50 +00:00
gnu reiserfs: Use signed i_nlink 2014-09-25 19:10:32 +00:00
i386 msi: add Xen MSI implementation 2014-09-30 16:46:45 +00:00
isa Remove vestiges of knowing the ISA bus, which we gave up on around 20 2014-03-19 21:03:04 +00:00
kern In the syncer, drop the sync mutex while patting the watchdog. 2014-10-01 15:32:28 +00:00
kgssapi
libkern Use __DECONST to avoid compiler warnings (and thus build failures) 2014-09-08 08:12:09 +00:00
mips Fix the AR724x PCIe glue to correctly probe the BAR on AR7240 devices. 2014-09-28 07:27:58 +00:00
modules Instead of requiring an edit to turn on ZFS debugging, define ZFS_DEBUG. 2014-10-01 15:34:48 +00:00
net Virtualize net.link.vlan.soft_pad. 2014-10-02 05:56:17 +00:00
net80211 Mechanically convert to if_inc_counter(). 2014-09-19 09:20:55 +00:00
netgraph Use callout(9) instead of timeout(9). 2014-09-20 16:43:14 +00:00
netinet Add an additional routing table lookup when m->m_pkthdr.fibnum is changed 2014-10-02 00:25:57 +00:00
netinet6 Check for UDP/IPv6 packets that the length in the UDP header is at least 2014-10-02 10:49:01 +00:00
netipsec Do not strip outer header when operating in transport mode. 2014-10-02 02:00:21 +00:00
netnatm Provide includes that are needed in these files, and before were read 2013-10-26 18:18:50 +00:00
netpfil Remove lock init from radix.c. 2014-10-01 14:39:06 +00:00
netsmb Remove redundant unlock. 2014-04-17 12:22:08 +00:00
nfs Fix/improve fhe_stats sysctl output. 2014-06-14 12:26:12 +00:00
nfsclient Avoid an exclusive acquisition of the object lock on the expected execution 2014-09-14 18:07:55 +00:00
nfsserver Change NFS readdir() to only ignore cookies preceding the given offset for 2014-07-01 20:00:35 +00:00
nlm Correct a typo in nlm_find_host_by_addr(): the intention of the 2014-03-11 00:25:55 +00:00
ofed Mechanically convert to if_inc_counter(). 2014-09-27 20:39:24 +00:00
opencrypto Fix build for kernels without COMPAT_FREEBSD32. 2014-09-22 17:32:27 +00:00
pc98 MFi386: Enable QUOTA, PRINTF_BUFR_SIZE and puc. 2014-09-28 14:39:11 +00:00
powerpc Fix a paste-o commited in r272109: we need to get the interrupts for the 2014-09-26 15:16:53 +00:00
rpc Merge the NFSv4.1 server code in projects/nfsv4.1-server over 2014-07-01 20:47:16 +00:00
security Replace dev_clone with cdevpriv(9) KPI in audit_pipe code. 2014-08-20 16:04:30 +00:00
sparc64 ddb: allow specifying the exact address of the symtab and strtab 2014-09-25 08:28:10 +00:00
sys Embellish a comment regarding the reliability of DEBUG_VFS_LOCKS. 2014-10-01 16:16:01 +00:00
teken Fix typo. 2014-02-06 13:28:06 +00:00
tools Allow the make_dtb script to work outside of a "make buildkernel" context 2014-08-30 22:39:15 +00:00
ufs Provide the unique implementation for the VOP_GETPAGES() method used 2014-09-15 12:28:29 +00:00
vm Fix ticks wrap issue of lowmem test in vm_pageout_scan 2014-09-24 14:35:08 +00:00
x86 xen: add the Xen implementation of pci_child_added method 2014-09-30 16:49:17 +00:00
xdr
xen xen: convert the xenstore user-space char device to a newbus device 2014-09-30 17:31:04 +00:00
Makefile Remove "pci" from CSCOPEDIRS. 2014-09-23 06:32:19 +00:00