From 142babf1e5348288ad852c6cab3b10c931f73206 Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Fri, 12 Mar 2004 16:54:31 +0000 Subject: forgot to do a cvs add git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1393 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/superio/winbond/w83627hf/w83627hf_early_serial.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/superio/winbond/w83627hf/w83627hf_early_serial.c (limited to 'src/superio/winbond/w83627hf/w83627hf_early_serial.c') diff --git a/src/superio/winbond/w83627hf/w83627hf_early_serial.c b/src/superio/winbond/w83627hf/w83627hf_early_serial.c new file mode 100644 index 0000000000..158d18af42 --- /dev/null +++ b/src/superio/winbond/w83627hf/w83627hf_early_serial.c @@ -0,0 +1,11 @@ +#include +#include "w83627hf.h" + + +static void w83627hf_enable_serial(device_t dev, unsigned iobase) +{ + pnp_set_logical_device(dev); + pnp_set_enable(dev, 0); + pnp_set_iobase(dev, PNP_IDX_IO0, iobase); + pnp_set_enable(dev, 1); +} -- cgit v1.2.3