sio-enable, because the init is not called. Without the init_keyboard,
the keyboard will not work under kernel 2.6.3 or later. git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1477 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
7500a7a4a7
commit
30667d75a6
|
@ -72,8 +72,24 @@ static void enumerate(struct chip *chip)
|
|||
pnp_enumerate(chip, sizeof(pnp_dev_info)/sizeof(pnp_dev_info[0]),
|
||||
&pnp_ops, pnp_dev_info);
|
||||
}
|
||||
static void sio_enable(struct chip *chip, enum chip_pass pass)
|
||||
{
|
||||
|
||||
struct superio_winbond_w83627hf_config *conf = (struct superio_winbond_w83627hf_config *)chip->chip_info;
|
||||
|
||||
switch (pass) {
|
||||
case CONF_PASS_PRE_CONSOLE:
|
||||
init_pc_keyboard(0x60, 0x64, &conf->keyboard);
|
||||
break;
|
||||
default:
|
||||
/* nothing yet */
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
struct chip_control superio_winbond_w83627hf_control = {
|
||||
.enable = sio_enable,
|
||||
.enumerate = enumerate,
|
||||
.name = "Winbond w83627hf"
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue