diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2009-11-11 15:54:26 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2009-11-11 15:54:26 +0000 |
commit | fdc324b442a5abfb30c5fb71dd0e0523b7eb0516 (patch) | |
tree | a845b233dc6e182d02afce324af296d5f27e8a30 /sys/arch/sgi/pci/iocreg.h | |
parent | eca89ecce3fcb8427ea554e977d2e1f5f67a8717 (diff) |
Perform a bit more kbc initialization, instead of relying upon the prom to
do this for us; PS/2 ports on CADduo boards attach keyboard and mouse now.
ok jsing@
Diffstat (limited to 'sys/arch/sgi/pci/iocreg.h')
-rw-r--r-- | sys/arch/sgi/pci/iocreg.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/sys/arch/sgi/pci/iocreg.h b/sys/arch/sgi/pci/iocreg.h index 0029793595e..ac3a2b0c369 100644 --- a/sys/arch/sgi/pci/iocreg.h +++ b/sys/arch/sgi/pci/iocreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: iocreg.h,v 1.8 2009/11/10 15:50:10 jsing Exp $ */ +/* $OpenBSD: iocreg.h,v 1.9 2009/11/11 15:54:25 miod Exp $ */ /* * Copyright (c) 2008 Joel Sing. @@ -111,6 +111,18 @@ /* bits in KBC_CTRL_STATUS */ #define IOC3_KBC_STATUS_KBD_WRITE_PENDING 0x00000001 #define IOC3_KBC_STATUS_AUX_WRITE_PENDING 0x00000002 +#define IOC3_KBC_STATUS_KBD_DATA 0x00000010 +#define IOC3_KBC_STATUS_KBD_CLOCK 0x00000020 +#define IOC3_KBC_CTRL_KBD_PULL_DATA_LOW 0x00000040 +#define IOC3_KBC_CTRL_KBD_PULL_CLOCK_LOW 0x00000080 +#define IOC3_KBC_STATUS_AUX_DATA 0x00000100 +#define IOC3_KBC_STATUS_AUX_CLOCK 0x00000200 +#define IOC3_KBC_CTRL_AUX_PULL_DATA_LOW 0x00000400 +#define IOC3_KBC_CTRL_AUX_PULL_CLOCK_LOW 0x00000800 +#define IOC3_KBC_CTRL_KBD_CLAMP_1 0x00100000 +#define IOC3_KBC_CTRL_AUX_CLAMP_1 0x00200000 +#define IOC3_KBC_CTRL_KBD_CLAMP_3 0x00400000 +#define IOC3_KBC_CTRL_AUX_CLAMP_3 0x00800000 /* bits in KBC_*_RX */ #define IOC3_KBC_DATA_0_VALID 0x80000000 |