diff options
Diffstat (limited to 'src/superio/smsc/kbc1100')
-rw-r--r-- | src/superio/smsc/kbc1100/chip.h | 2 | ||||
-rw-r--r-- | src/superio/smsc/kbc1100/kbc1100_early_init.c | 6 | ||||
-rw-r--r-- | src/superio/smsc/kbc1100/superio.c | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/src/superio/smsc/kbc1100/chip.h b/src/superio/smsc/kbc1100/chip.h index 020224f650..40aff0bf7d 100644 --- a/src/superio/smsc/kbc1100/chip.h +++ b/src/superio/smsc/kbc1100/chip.h @@ -27,7 +27,7 @@ struct chip_operations; extern struct chip_operations superio_smsc_kbc1100_ops; struct superio_smsc_kbc1100_config { - + struct pc_keyboard keyboard; }; diff --git a/src/superio/smsc/kbc1100/kbc1100_early_init.c b/src/superio/smsc/kbc1100/kbc1100_early_init.c index 4247a96318..84aa4e0510 100644 --- a/src/superio/smsc/kbc1100/kbc1100_early_init.c +++ b/src/superio/smsc/kbc1100/kbc1100_early_init.c @@ -40,11 +40,11 @@ static inline void kbc1100_early_init(unsigned port) dev = PNP_DEV (port, KBC1100_KBC); pnp_enter_conf_state(dev); - + /* Serial IRQ enabled */ outb(0x25, port); outb(0x04, port + 1); - + /* Enable SMSC UART 0 */ dev = PNP_DEV (port, SMSCSUPERIO_SP1); pnp_set_logical_device(dev); @@ -70,6 +70,6 @@ static inline void kbc1100_early_init(unsigned port) pnp_exit_conf_state(dev); /* disable the 1s timer */ - outb(0xE7, 0x64); + outb(0xE7, 0x64); } diff --git a/src/superio/smsc/kbc1100/superio.c b/src/superio/smsc/kbc1100/superio.c index bd330bac4a..c4fde95960 100644 --- a/src/superio/smsc/kbc1100/superio.c +++ b/src/superio/smsc/kbc1100/superio.c @@ -97,14 +97,14 @@ static void kbc1100_init(device_t dev) struct superio_smsc_kbc1100_config *conf = dev->chip_info; struct resource *res0, *res1; - - + + if (!dev->enabled) { return; } switch(dev->path.pnp.device) { - + case KBC1100_KBC: res0 = find_resource(dev, PNP_IDX_IO0); res1 = find_resource(dev, PNP_IDX_IO1); |