Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107095467
D42384.id129467.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
618 B
Referenced Files
None
Subscribers
None
D42384.id129467.diff
View Options
diff --git a/usr.sbin/bhyve/amd64/ps2kbd.c b/usr.sbin/bhyve/amd64/ps2kbd.c
--- a/usr.sbin/bhyve/amd64/ps2kbd.c
+++ b/usr.sbin/bhyve/amd64/ps2kbd.c
@@ -53,6 +53,7 @@
/* keyboard device commands */
#define PS2KC_RESET_DEV 0xff
+#define PS2KC_SET_DEFAULTS 0xf6
#define PS2KC_DISABLE 0xf5
#define PS2KC_ENABLE 0xf4
#define PS2KC_SET_TYPEMATIC 0xf3
@@ -300,6 +301,10 @@
fifo_put(sc, PS2KC_ACK);
fifo_put(sc, PS2KC_BAT_SUCCESS);
break;
+ case PS2KC_SET_DEFAULTS:
+ fifo_reset(sc);
+ fifo_put(sc, PS2KC_ACK);
+ break;
case PS2KC_DISABLE:
sc->enabled = false;
fifo_put(sc, PS2KC_ACK);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jan 11, 1:11 AM (14 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15748610
Default Alt Text
D42384.id129467.diff (618 B)
Attached To
Mode
D42384: bhyve: ps2 implement command 0xf6
Attached
Detach File
Event Timeline
Log In to Comment