Add keyboard command 0xee (Diagnostic Echo). Fixes keyboard detection in FreeBSD 4.2.
This commit is contained in:
parent
57607b537d
commit
63b14455ba
1 changed files with 4 additions and 0 deletions
|
|
@ -393,6 +393,10 @@ void keyboard_at_write(uint16_t port, uint8_t val, void *priv)
|
|||
keyboard_at_adddata_keyboard(0xfa);
|
||||
break;
|
||||
|
||||
case 0xee: /*Diagnostic echo*/
|
||||
keyboard_at_adddata_keyboard(0xee);
|
||||
break;
|
||||
|
||||
case 0xf0: /*Set scancode set*/
|
||||
keyboard_at.key_wantdata = 1;
|
||||
keyboard_at_adddata_keyboard(0xfa);
|
||||
|
|
|
|||
Loading…
Reference in a new issue