summaryrefslogtreecommitdiff
path: root/src/superio/NSC/pc97307/chip.h
blob: 8bdaec461dcbed0620eae8f25709faddd1a9855b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#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
#ifndef SIO_COM1
#define SIO_COM1_BASE   0x3F8
#endif
#ifndef SIO_COM2
#define SIO_COM2_BASE   0x2F8
#endif

extern struct chip_control superio_NSC_pc97307_control;

struct superio_NSC_pc97307_config {
    struct com_ports com1;
    struct lpt_ports lpt;
    int port;
};
#endif /* _SUPERIO_NSC_PC97307 */