summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2001-02-21 13:30:36 +0000
committerRalf Baechle <ralf@linux-mips.org>2001-02-21 13:30:36 +0000
commit49a3beac398bd3e89dc4c8a5caff106cbd1e0cff (patch)
tree4f9a8bfdbe571a81ca63b73ae45c0b466661fb35 /include/linux
parentb8d3cc7ceb61a07b865b420139477b91a4be202f (diff)
ITE 8172 patches from Pete Popov slightly hacked by me.
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/pc_keyb.h6
-rw-r--r--include/linux/pci_ids.h3
2 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/pc_keyb.h b/include/linux/pc_keyb.h
index 22e00989c..c74c93bb3 100644
--- a/include/linux/pc_keyb.h
+++ b/include/linux/pc_keyb.h
@@ -33,9 +33,15 @@ extern unsigned char aux_device_present;
* Keyboard Controller Registers on normal PCs.
*/
+#ifdef CONFIG_MIPS_ITE8172
+#define KBD_STATUS_REG (0x14000000 + 0x64) /* Status register (R) */
+#define KBD_CNTL_REG (0x14000000 + 0x64) /* Controller command register (W) */
+#define KBD_DATA_REG (0x14000000 + 0x60) /* Keyboard data register (R/W) */
+#else
#define KBD_STATUS_REG 0x64 /* Status register (R) */
#define KBD_CNTL_REG 0x64 /* Controller command register (W) */
#define KBD_DATA_REG 0x60 /* Keyboard data register (R/W) */
+#endif
/*
* Keyboard Controller Commands
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
index 2490818f4..2708be9ab 100644
--- a/include/linux/pci_ids.h
+++ b/include/linux/pci_ids.h
@@ -1073,6 +1073,9 @@
#define PCI_VENDOR_ID_ROCKWELL 0x127A
+#define PCI_VENDOR_ID_ITE 0x1283
+#define PCI_DEVICE_ID_ITE_IT8172G 0x8172
+
/* formerly Platform Tech */
#define PCI_VENDOR_ID_ESS_OLD 0x1285
#define PCI_DEVICE_ID_ESS_ESS0100 0x0100