Small update to the AT keyboard driver to make the Acer V30 machine work.

This commit is contained in:
waltje
2019-04-23 00:18:39 -05:00
parent 22cd445edc
commit c4283927a7
3 changed files with 15 additions and 4 deletions

View File

@@ -8,7 +8,7 @@
* *
* Definitions for the keyboard interface. * Definitions for the keyboard interface.
* *
* Version: @(#)keyboard.h 1.0.10 2019/04/20 * Version: @(#)keyboard.h 1.0.11 2019/04/22
* *
* Authors: Fred N. van Kempen, <decwiz@yahoo.com> * Authors: Fred N. van Kempen, <decwiz@yahoo.com>
* Miran Grca, <mgrca8@gmail.com> * Miran Grca, <mgrca8@gmail.com>
@@ -94,6 +94,7 @@ extern const device_t keyboard_at_ami_device;
extern const device_t keyboard_at_toshiba_device; extern const device_t keyboard_at_toshiba_device;
extern const device_t keyboard_ps2_device; extern const device_t keyboard_ps2_device;
extern const device_t keyboard_ps2_acer_device;
extern const device_t keyboard_ps2_xi8088_device; extern const device_t keyboard_ps2_xi8088_device;
extern const device_t keyboard_ps2_ami_device; extern const device_t keyboard_ps2_ami_device;
extern const device_t keyboard_ps2_mca_device; extern const device_t keyboard_ps2_mca_device;

View File

@@ -11,7 +11,7 @@
* NOTE: Several changes to disable Mode1 for now, as this breaks * NOTE: Several changes to disable Mode1 for now, as this breaks
* the TSX32 operating system. More cleanups needed.. * the TSX32 operating system. More cleanups needed..
* *
* Version: @(#)keyboard_at.c 1.0.22 2019/04/21 * Version: @(#)keyboard_at.c 1.0.23 2019/04/22
* *
* Authors: Fred N. van Kempen, <decwiz@yahoo.com> * Authors: Fred N. van Kempen, <decwiz@yahoo.com>
* Miran Grca, <mgrca8@gmail.com> * Miran Grca, <mgrca8@gmail.com>
@@ -2152,6 +2152,16 @@ const device_t keyboard_ps2_device = {
NULL NULL
}; };
const device_t keyboard_ps2_acer_device = {
"Acer 90M002A PS/2 Keyboard",
0,
KBC_TYPE_PS2_2 | KBC_VEN_AMI,
NULL,
kbd_init, kbd_close, kbd_reset,
NULL, NULL, NULL, NULL,
NULL
};
const device_t keyboard_ps2_xi8088_device = { const device_t keyboard_ps2_xi8088_device = {
"PS/2 Keyboard (Xi8088)", "PS/2 Keyboard (Xi8088)",
0, 0,

View File

@@ -8,7 +8,7 @@
* *
* Implementation of the Intel 430xx-based Acer machines. * Implementation of the Intel 430xx-based Acer machines.
* *
* Version: @(#)m_acer.c 1.0.1 2019/04/08 * Version: @(#)m_acer.c 1.0.2 2019/04/22
* *
* Authors: Fred N. van Kempen, <decwiz@yahoo.com> * Authors: Fred N. van Kempen, <decwiz@yahoo.com>
* Miran Grca, <mgrca8@gmail.com> * Miran Grca, <mgrca8@gmail.com>
@@ -181,7 +181,7 @@ acer_init(const device_t *info, void *arg)
device_add(&intel_flash_bxb_device); device_add(&intel_flash_bxb_device);
device_add(&fdc37c665_device); device_add(&fdc37c665_device);
device_add(&keyboard_ps2_ami_pci_device); device_add(&keyboard_ps2_acer_device);
break; break;
} }