summaryrefslogtreecommitdiff
path: root/src/superio/NSC/pc97317/chip.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/NSC/pc97317/chip.h')
-rw-r--r--src/superio/NSC/pc97317/chip.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/superio/NSC/pc97317/chip.h b/src/superio/NSC/pc97317/chip.h
new file mode 100644
index 0000000000..a51a6d3378
--- /dev/null
+++ b/src/superio/NSC/pc97317/chip.h
@@ -0,0 +1,26 @@
+#ifndef _SUPERIO_NSC_PC97317
+#define _SUPERIO_NSC_PC97317
+
+#ifndef PNP_INDEX_REG
+#define PNP_INDEX_REG 0x15C
+#endif
+#ifndef PNP_DATA_REG
+#define PNP_DATA_REG 0x15D
+#endif
+#ifndef SIO_COM1
+#define SIO_COM1_BASE 0x3F8
+#endif
+#ifndef SIO_COM2
+#define SIO_COM2_BASE 0x2F8
+#endif
+
+extern struct chip_operations superio_NSC_pc97317_ops;
+
+#include <pc80/keyboard.h>
+#include <uart8250.h>
+
+struct superio_NSC_pc97317_config {
+ struct uart8250 com1, com2;
+ struct pc_keyboard keyboard;
+};
+#endif /* _SUPERIO_NSC_PC97317 */