summaryrefslogtreecommitdiff
path: root/src/superio/NSC/pc87366/pc87366_early_serial.c
blob: 354714f7b7e5c5f01ba818b79868989404cc672b (plain)
1
2
3
4
5
6
7
8
9
10
11
#include <arch/romcc_io.h>
#include "pc87366.h"


static void pc87366_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);
}