diff options
Diffstat (limited to 'src/superio/winbond/w83697hf')
-rw-r--r-- | src/superio/winbond/w83697hf/chip.h | 2 | ||||
-rw-r--r-- | src/superio/winbond/w83697hf/superio.c | 14 |
2 files changed, 1 insertions, 15 deletions
diff --git a/src/superio/winbond/w83697hf/chip.h b/src/superio/winbond/w83697hf/chip.h index cb7aebd9af..dd54a525ca 100644 --- a/src/superio/winbond/w83697hf/chip.h +++ b/src/superio/winbond/w83697hf/chip.h @@ -26,7 +26,7 @@ extern struct chip_operations superio_winbond_w83697hf_ops; struct superio_winbond_w83697hf_config { - struct uart8250 com1, com2; + }; #endif diff --git a/src/superio/winbond/w83697hf/superio.c b/src/superio/winbond/w83697hf/superio.c index 9159fc2547..d2cbcbd642 100644 --- a/src/superio/winbond/w83697hf/superio.c +++ b/src/superio/winbond/w83697hf/superio.c @@ -43,22 +43,8 @@ static void pnp_exit_ext_func_mode(device_t dev) static void w83697hf_init(device_t dev) { - struct superio_winbond_w83697hf_config *conf = dev->chip_info; - struct resource *res0; - if (!dev->enabled) return; - - switch(dev->path.pnp.device) { - case W83697HF_SP1: - res0 = find_resource(dev, PNP_IDX_IO0); - init_uart8250(res0->base, &conf->com1); - break; - case W83697HF_SP2: - res0 = find_resource(dev, PNP_IDX_IO0); - init_uart8250(res0->base, &conf->com2); - break; - } } static void w83697hf_pnp_set_resources(device_t dev) |