diff options
Diffstat (limited to 'src/superio/NSC/pc8374/pc8374_early_serial.c')
-rw-r--r-- | src/superio/NSC/pc8374/pc8374_early_serial.c | 11 |
1 files changed, 11 insertions, 0 deletions
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 <arch/romcc_io.h> +#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); +} |