diff options
Diffstat (limited to 'src/superio/smsc')
-rw-r--r-- | src/superio/smsc/fdc37m60x/chip.h | 2 | ||||
-rw-r--r-- | src/superio/smsc/fdc37n972/chip.h | 2 | ||||
-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 | ||||
-rw-r--r-- | src/superio/smsc/lpc47b272/chip.h | 2 | ||||
-rw-r--r-- | src/superio/smsc/lpc47b397/chip.h | 2 | ||||
-rw-r--r-- | src/superio/smsc/lpc47m10x/chip.h | 2 | ||||
-rw-r--r-- | src/superio/smsc/lpc47m15x/chip.h | 2 | ||||
-rw-r--r-- | src/superio/smsc/lpc47n217/chip.h | 2 | ||||
-rw-r--r-- | src/superio/smsc/lpc47n227/chip.h | 2 | ||||
-rw-r--r-- | src/superio/smsc/lpc47n227/superio.c | 2 | ||||
-rw-r--r-- | src/superio/smsc/sio10n268/chip.h | 2 | ||||
-rw-r--r-- | src/superio/smsc/smscsuperio/chip.h | 2 |
14 files changed, 18 insertions, 18 deletions
diff --git a/src/superio/smsc/fdc37m60x/chip.h b/src/superio/smsc/fdc37m60x/chip.h index 2a1186fe0e..450ef75fbe 100644 --- a/src/superio/smsc/fdc37m60x/chip.h +++ b/src/superio/smsc/fdc37m60x/chip.h @@ -28,7 +28,7 @@ extern struct chip_operations superio_smsc_fdc37m60x_ops; struct superio_smsc_fdc37m60x_config { - + struct pc_keyboard keyboard; }; diff --git a/src/superio/smsc/fdc37n972/chip.h b/src/superio/smsc/fdc37n972/chip.h index abaf765153..858cf532c1 100644 --- a/src/superio/smsc/fdc37n972/chip.h +++ b/src/superio/smsc/fdc37n972/chip.h @@ -27,7 +27,7 @@ extern struct chip_operations superio_smsc_fdc37n972_ops; struct superio_smsc_fdc37n972_config { - + struct pc_keyboard keyboard; }; 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); diff --git a/src/superio/smsc/lpc47b272/chip.h b/src/superio/smsc/lpc47b272/chip.h index 031cd20f55..754d63d967 100644 --- a/src/superio/smsc/lpc47b272/chip.h +++ b/src/superio/smsc/lpc47b272/chip.h @@ -28,7 +28,7 @@ extern struct chip_operations superio_smsc_lpc47b272_ops; #include <uart8250.h> struct superio_smsc_lpc47b272_config { - + struct pc_keyboard keyboard; }; diff --git a/src/superio/smsc/lpc47b397/chip.h b/src/superio/smsc/lpc47b397/chip.h index 3f3c719bf4..48fc6e475d 100644 --- a/src/superio/smsc/lpc47b397/chip.h +++ b/src/superio/smsc/lpc47b397/chip.h @@ -30,7 +30,7 @@ extern struct chip_operations superio_smsc_lpc47b397_ops; #include <uart8250.h> struct superio_smsc_lpc47b397_config { - + struct pc_keyboard keyboard; }; diff --git a/src/superio/smsc/lpc47m10x/chip.h b/src/superio/smsc/lpc47m10x/chip.h index 79b72dae43..6d6ee97603 100644 --- a/src/superio/smsc/lpc47m10x/chip.h +++ b/src/superio/smsc/lpc47m10x/chip.h @@ -32,7 +32,7 @@ extern struct chip_operations superio_smsc_lpc47m10x_ops; #include <uart8250.h> struct superio_smsc_lpc47m10x_config { - + struct pc_keyboard keyboard; }; diff --git a/src/superio/smsc/lpc47m15x/chip.h b/src/superio/smsc/lpc47m15x/chip.h index 27031f21b2..57aba06dd8 100644 --- a/src/superio/smsc/lpc47m15x/chip.h +++ b/src/superio/smsc/lpc47m15x/chip.h @@ -27,7 +27,7 @@ extern struct chip_operations superio_smsc_lpc47m15x_ops; #include <uart8250.h> struct superio_smsc_lpc47m15x_config { - + struct pc_keyboard keyboard; }; diff --git a/src/superio/smsc/lpc47n217/chip.h b/src/superio/smsc/lpc47n217/chip.h index c29031a85c..89a778c22c 100644 --- a/src/superio/smsc/lpc47n217/chip.h +++ b/src/superio/smsc/lpc47n217/chip.h @@ -27,7 +27,7 @@ extern struct chip_operations superio_smsc_lpc47n217_ops; #include <uart8250.h> struct superio_smsc_lpc47n217_config { - + }; #endif diff --git a/src/superio/smsc/lpc47n227/chip.h b/src/superio/smsc/lpc47n227/chip.h index fa0269971c..8b3a2c9dfc 100644 --- a/src/superio/smsc/lpc47n227/chip.h +++ b/src/superio/smsc/lpc47n227/chip.h @@ -27,7 +27,7 @@ extern struct chip_operations superio_smsc_lpc47n227_ops; struct superio_smsc_lpc47n227_config { - + struct pc_keyboard keyboard; }; diff --git a/src/superio/smsc/lpc47n227/superio.c b/src/superio/smsc/lpc47n227/superio.c index c7ffd69624..a241eb6d36 100644 --- a/src/superio/smsc/lpc47n227/superio.c +++ b/src/superio/smsc/lpc47n227/superio.c @@ -85,7 +85,7 @@ static void enable_dev(device_t dev) * * NOTE: Cannot use pnp_set_resources() here because it assumes chip * support for logical devices, which the LPC47N227 doesn't have. - * + * * @param dev Pointer to structure describing a Super I/O device. */ void lpc47n227_pnp_set_resources(device_t dev) diff --git a/src/superio/smsc/sio10n268/chip.h b/src/superio/smsc/sio10n268/chip.h index 32703bb394..cd6e87bede 100644 --- a/src/superio/smsc/sio10n268/chip.h +++ b/src/superio/smsc/sio10n268/chip.h @@ -27,7 +27,7 @@ extern struct chip_operations superio_smsc_sio10n268_ops; struct superio_smsc_sio10n268_config { - + struct pc_keyboard keyboard; }; diff --git a/src/superio/smsc/smscsuperio/chip.h b/src/superio/smsc/smscsuperio/chip.h index ffe4b21ce3..86f93be58d 100644 --- a/src/superio/smsc/smscsuperio/chip.h +++ b/src/superio/smsc/smscsuperio/chip.h @@ -28,7 +28,7 @@ extern struct chip_operations superio_smsc_smscsuperio_ops; struct superio_smsc_smscsuperio_config { - + struct pc_keyboard keyboard; }; |