From 981367932d3719f7287e6384432411a710de4729 Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Fri, 24 Feb 2006 17:23:46 +0000 Subject: rename files git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2184 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/superio/NSC/pc8374/pc8374.h | 9 +++++++++ src/superio/NSC/pc8374/pc8374_early_serial.c | 11 +++++++++++ src/superio/NSC/pc8374/pc87360.h | 9 --------- src/superio/NSC/pc8374/pc87360_early_serial.c | 11 ----------- 4 files changed, 20 insertions(+), 20 deletions(-) create mode 100644 src/superio/NSC/pc8374/pc8374.h create mode 100644 src/superio/NSC/pc8374/pc8374_early_serial.c delete mode 100644 src/superio/NSC/pc8374/pc87360.h delete mode 100644 src/superio/NSC/pc8374/pc87360_early_serial.c (limited to 'src/superio') diff --git a/src/superio/NSC/pc8374/pc8374.h b/src/superio/NSC/pc8374/pc8374.h new file mode 100644 index 0000000000..1f166a70fe --- /dev/null +++ b/src/superio/NSC/pc8374/pc8374.h @@ -0,0 +1,9 @@ +#define PC8374_FDC 0x00 /* Floppy */ +#define PC8374_PP 0x01 /* Parallel port */ +#define PC8374_SP2 0x02 /* Com2 */ +#define PC8374_SP1 0x03 /* Com1 */ +#define PC8374_SWC 0x04 +#define PC8374_KBCM 0x05 /* Mouse */ +#define PC8374_KBCK 0x06 /* Keyboard */ +#define PC8374_GPIO 0x07 +#define PC8374_HM 0x08 diff --git a/src/superio/NSC/pc8374/pc8374_early_serial.c b/src/superio/NSC/pc8374/pc8374_early_serial.c new file mode 100644 index 0000000000..be496070ec --- /dev/null +++ b/src/superio/NSC/pc8374/pc8374_early_serial.c @@ -0,0 +1,11 @@ +#include +#include "pc8374.h" + + +static void pc8374_enable_serial(device_t dev, unsigned iobase) +{ + pnp_set_logical_device(dev); + pnp_set_enable(dev, 1); + pnp_set_iobase(dev, PNP_IDX_IO0, iobase); + pnp_set_enable(dev, 1); +} diff --git a/src/superio/NSC/pc8374/pc87360.h b/src/superio/NSC/pc8374/pc87360.h deleted file mode 100644 index 1f166a70fe..0000000000 --- a/src/superio/NSC/pc8374/pc87360.h +++ /dev/null @@ -1,9 +0,0 @@ -#define PC8374_FDC 0x00 /* Floppy */ -#define PC8374_PP 0x01 /* Parallel port */ -#define PC8374_SP2 0x02 /* Com2 */ -#define PC8374_SP1 0x03 /* Com1 */ -#define PC8374_SWC 0x04 -#define PC8374_KBCM 0x05 /* Mouse */ -#define PC8374_KBCK 0x06 /* Keyboard */ -#define PC8374_GPIO 0x07 -#define PC8374_HM 0x08 diff --git a/src/superio/NSC/pc8374/pc87360_early_serial.c b/src/superio/NSC/pc8374/pc87360_early_serial.c deleted file mode 100644 index be496070ec..0000000000 --- a/src/superio/NSC/pc8374/pc87360_early_serial.c +++ /dev/null @@ -1,11 +0,0 @@ -#include -#include "pc8374.h" - - -static void pc8374_enable_serial(device_t dev, unsigned iobase) -{ - pnp_set_logical_device(dev); - pnp_set_enable(dev, 1); - pnp_set_iobase(dev, PNP_IDX_IO0, iobase); - pnp_set_enable(dev, 1); -} -- cgit v1.2.3