diff options
author | Greg Watson <jarrah@users.sourceforge.net> | 2003-07-21 03:38:42 +0000 |
---|---|---|
committer | Greg Watson <jarrah@users.sourceforge.net> | 2003-07-21 03:38:42 +0000 |
commit | 54b3d233ed4a66bc9fbc8af7dd742af7d8f2aca3 (patch) | |
tree | 03bf5f3700f3da4a12abdf92ef9ba61301b613ad /src/superio/NSC/pc97307/chip.h | |
parent | d0580343b6c81697f0050b38ea36ee154d242ac2 (diff) |
more chip stuff
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@989 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/superio/NSC/pc97307/chip.h')
-rw-r--r-- | src/superio/NSC/pc97307/chip.h | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/src/superio/NSC/pc97307/chip.h b/src/superio/NSC/pc97307/chip.h index d30b7cb26c..4839ae54f1 100644 --- a/src/superio/NSC/pc97307/chip.h +++ b/src/superio/NSC/pc97307/chip.h @@ -1,5 +1,18 @@ +#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 struct superio_NSC_pc97307_config { - typedef struct com_ports com1; - typedef struct lpt_ports lpt; + struct com_ports com1; + struct lpt_ports lpt; + int port; }; |