369c47a44bd93f74caa767d25b4b2963cabdb7b0
[coreboot.git] / src / superio / NSC / pc97307 / chip.h
1 #ifndef _SUPERIO_NSC_PC97307
2 #define _SUPERIO_NSC_PC97307
3
4 #ifndef PNP_INDEX_REG
5 #define PNP_INDEX_REG   0x15C
6 #endif
7 #ifndef PNP_DATA_REG
8 #define PNP_DATA_REG    0x15D
9 #endif
10 #ifndef SIO_COM1
11 #define SIO_COM1_BASE   0x3F8
12 #endif
13 #ifndef SIO_COM2
14 #define SIO_COM2_BASE   0x2F8
15 #endif
16
17 extern struct chip_operations superio_NSC_pc97307_control;
18
19 #include <pc80/keyboard.h>
20 #include <uart8250.h>
21
22 struct superio_NSC_pc97307_config {
23         struct uart8250 com1, com2;
24         struct pc_keyboard keyboard;
25 };
26 #endif /* _SUPERIO_NSC_PC97307 */