diff options
Diffstat (limited to 'src/superio/fintek/f71872')
-rw-r--r-- | src/superio/fintek/f71872/chip.h | 2 | ||||
-rw-r--r-- | src/superio/fintek/f71872/superio.c | 9 |
2 files changed, 1 insertions, 10 deletions
diff --git a/src/superio/fintek/f71872/chip.h b/src/superio/fintek/f71872/chip.h index 6625711a68..58ee4217ca 100644 --- a/src/superio/fintek/f71872/chip.h +++ b/src/superio/fintek/f71872/chip.h @@ -27,7 +27,7 @@ extern struct chip_operations superio_fintek_f71872_ops; struct superio_fintek_f71872_config { - struct uart8250 com1, com2; + struct pc_keyboard keyboard; }; diff --git a/src/superio/fintek/f71872/superio.c b/src/superio/fintek/f71872/superio.c index 0e1f4d0169..987f53691b 100644 --- a/src/superio/fintek/f71872/superio.c +++ b/src/superio/fintek/f71872/superio.c @@ -40,21 +40,12 @@ static void pnp_exit_conf_state(device_t dev) static void f71872_init(device_t dev) { struct superio_fintek_f71872_config *conf = dev->chip_info; - struct resource *res0; if (!dev->enabled) return; switch(dev->path.pnp.device) { /* TODO: Might potentially need code for HWM or FDC etc. */ - case F71872_SP1: - res0 = find_resource(dev, PNP_IDX_IO0); - init_uart8250(res0->base, &conf->com1); - break; - case F71872_SP2: - res0 = find_resource(dev, PNP_IDX_IO0); - init_uart8250(res0->base, &conf->com2); - break; case F71872_KBC: pc_keyboard_init(&conf->keyboard); break; |