mirror of
https://github.com/clearlinux/kvmtool.git
synced 2026-09-05 21:21:54 +00:00
kvm tools, i8042: Sort status register bits
This patch sorts the status register bits in preparation for switching over to kernel constant names. Acked-by: Ingo Molnar <mingo@elte.hu> Cc: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
This commit is contained in:
committed by
Will Deacon
parent
67307cddc8
commit
98cbe4d993
+7
-4
@@ -39,11 +39,14 @@
|
||||
#define AUX_DEFAULT_RESOLUTION 0x2
|
||||
#define AUX_DEFAULT_SAMPLE 100
|
||||
|
||||
#define KBD_STATUS_SYS 0x4
|
||||
#define KBD_STATUS_A2 0x8
|
||||
#define KBD_STATUS_INH 0x10
|
||||
#define KBD_STATUS_OBF 0x01
|
||||
/*
|
||||
* Status register bits
|
||||
*/
|
||||
#define KBD_STATUS_AUX_OBF 0x20
|
||||
#define KBD_STATUS_INH 0x10
|
||||
#define KBD_STATUS_A2 0x08
|
||||
#define KBD_STATUS_SYS 0x04
|
||||
#define KBD_STATUS_OBF 0x01
|
||||
|
||||
#define KBD_MODE_KBD_INT 0x01
|
||||
#define KBD_MODE_SYS 0x02
|
||||
|
||||
Reference in New Issue
Block a user