summaryrefslogtreecommitdiff
path: root/src/superio/nsc/pc97307/chip.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/nsc/pc97307/chip.h')
-rw-r--r--src/superio/nsc/pc97307/chip.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/superio/nsc/pc97307/chip.h b/src/superio/nsc/pc97307/chip.h
new file mode 100644
index 0000000000..3e6b7f64ad
--- /dev/null
+++ b/src/superio/nsc/pc97307/chip.h
@@ -0,0 +1,20 @@
+#ifndef _SUPERIO_NSC_PC97307
+#define _SUPERIO_NSC_PC97307
+
+#ifndef PNP_INDEX_REG
+#define PNP_INDEX_REG 0x15C
+#endif
+#ifndef PNP_DATA_REG
+#define PNP_DATA_REG 0x15D
+#endif
+
+extern struct chip_operations superio_nsc_pc97307_ops;
+
+#include <pc80/keyboard.h>
+#include <uart8250.h>
+
+struct superio_nsc_pc97307_config {
+ struct uart8250 com1, com2;
+ struct pc_keyboard keyboard;
+};
+#endif /* _SUPERIO_NSC_PC97307 */