Round 2 of the clean-ups - AT vs. PS/2 KBC is now decided based on machine flags, reduces the chances of mismatch to zero.
This commit is contained in:
@@ -904,14 +904,14 @@ pc87307_init(const device_t *info)
|
||||
switch (info->local & PCX730X_KBC) {
|
||||
case PCX730X_AMI:
|
||||
default:
|
||||
dev->kbc = device_add_params(&kbc_ps2_ami_device, (void *) 0x00003500);
|
||||
dev->kbc = device_add_params(&kbc_at_ami_device, (void *) 0x00003500);
|
||||
break;
|
||||
/* Optiplex! */
|
||||
case PCX730X_PHOENIX_42:
|
||||
dev->kbc = device_add_params(&kbc_ps2_phoenix_device, (void *) 0x00013700);
|
||||
dev->kbc = device_add_params(&kbc_at_phoenix_device, (void *) 0x00013700);
|
||||
break;
|
||||
case PCX730X_PHOENIX_42I:
|
||||
dev->kbc = device_add_params(&kbc_ps2_phoenix_device, (void *) 0x00041600);
|
||||
dev->kbc = device_add_params(&kbc_at_phoenix_device, (void *) 0x00041600);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user