• Vojtech Pavlik's avatar
    Add an i8042_restore_ctr command line option. This allows not · eb360ba2
    Vojtech Pavlik authored
    restoring the CTR value after an AUX write by default, which
    breaks Transmeta Crusoe i8042 chip emulation. The option might
    be needed on some ancient hardware, though.
    Move registration of the KBD interface after the AUX probe. This
    makes sure we don't kill the keyboard by probing for the AUX port.
    Fix a bug in i8042.c which only enables the interfaces after the
    probe routine for mice/keyboards was executed.
    Add some paranoia flush/sync calls to make sure the chip doesn't get
    stuck.
    Don't check_region, we already request_region where applicable.
    Do i8042_reset on all non-PC architectures.
    Cleanup comments.
    Add an i8042_restore_ctr command line option. This allows not
    restoring the CTR value after an AUX write by default, which
    breaks Transmeta Crusoe i8042 chip emulation. The option might
    be needed on some ancient hardware, though.
    Move registration of the KBD interface after the AUX probe. This
    makes sure we don't kill the keyboard by probing for the AUX port.
    Fix a bug in i8042.c which only enables the interfaces after the
    probe routine for mice/keyboards was executed.
    Add some paranoia flush/sync calls to make sure the chip doesn't get
    stuck.
    Don't check_region, we already request_region where applicable.
    Do i8042_reset on all non-PC architectures.
    Cleanup comments.
    eb360ba2
i8042.c 16.3 KB