summaryrefslogtreecommitdiff
path: root/src/superio/nsc/pc87392
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/nsc/pc87392')
-rw-r--r--src/superio/nsc/pc87392/chip.h2
-rw-r--r--src/superio/nsc/pc87392/superio.c15
2 files changed, 1 insertions, 16 deletions
diff --git a/src/superio/nsc/pc87392/chip.h b/src/superio/nsc/pc87392/chip.h
index 0465d21b7f..1241cb2f44 100644
--- a/src/superio/nsc/pc87392/chip.h
+++ b/src/superio/nsc/pc87392/chip.h
@@ -26,7 +26,7 @@ extern struct chip_operations superio_nsc_pc87392_ops;
#include <uart8250.h>
struct superio_nsc_pc87392_config {
- struct uart8250 com1, com2;
+
};
#endif
diff --git a/src/superio/nsc/pc87392/superio.c b/src/superio/nsc/pc87392/superio.c
index 30bf563897..1b527ad679 100644
--- a/src/superio/nsc/pc87392/superio.c
+++ b/src/superio/nsc/pc87392/superio.c
@@ -31,23 +31,8 @@
static void init(device_t dev)
{
- struct superio_nsc_pc87392_config *conf = dev->chip_info;
- struct resource *res0;
-
if (!dev->enabled)
return;
-
- switch(dev->path.pnp.device) {
- case PC87392_SP1:
- res0 = find_resource(dev, PNP_IDX_IO0);
- init_uart8250(res0->base, &conf->com1);
- break;
-
- case PC87392_SP2:
- res0 = find_resource(dev, PNP_IDX_IO0);
- init_uart8250(res0->base, &conf->com2);
- break;
- }
}
static struct device_operations ops = {