summaryrefslogtreecommitdiff
path: root/src/superio/nsc/pc87417/pc87417_early_serial.c
blob: cb91d21296c76320a0006741b5afdd28b8bc63a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <arch/romcc_io.h>
#include "pc87417.h"


static void pc87417_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);
}
static void pc87417_enable_dev(device_t dev)
{
        pnp_set_logical_device(dev);
        pnp_set_enable(dev, 1);
}