freebsd-dev/sys/arm/versatile
Oleksandr Tymoshenko 5d7c109fb9 [versatilepb] Fix keyboard driver after switching to upstream DTS
FreeBSD's DTS contained only one PL050 node and driver considered it to
be PS/2 keyboard. In reality PL050 is a PS/2 port that pushes bytes to/from
the periphers connected to it. New DTS contains two nodes and QEMU emulates
keyboard connected to port #0 and mouse connected to port #1. Since there
is no way to say what's connected to port by checking DTS we hardcode
this knowledge in the driver: it assumes keyboard on port #0 and ignores
port #1 altogether.

Also QEMU defaults emulated keyboard to scan code set 2 while driver used
to work with scan code set 1 so when initializing driver make sure keyboard
is switched to scan code set 1
2017-04-01 20:38:12 +00:00
..
files.versatile [versatilepb] Convert VERSATILEPB kernel to INTRNG and switch to upstream DTB 2017-04-01 20:10:08 +00:00
pl050.c [versatilepb] Fix keyboard driver after switching to upstream DTS 2017-04-01 20:38:12 +00:00
sp804.c Use the correct OF_getencprop over OF_getprop + fdt32_to_cpu to read 2016-11-14 12:03:08 +00:00
versatile_clcd.c [versatilepb] Convert VERSATILEPB kernel to INTRNG and switch to upstream DTB 2017-04-01 20:10:08 +00:00
versatile_common.c Use the modern spelling of ofw_bus_node_is_compatible in sys/arm. 2016-11-11 15:13:30 +00:00
versatile_machdep.c Add the missing void to function signatures in much of the arm code. 2016-12-13 13:43:22 +00:00
versatile_pci.c [versatilepb] Convert VERSATILEPB kernel to INTRNG and switch to upstream DTB 2017-04-01 20:10:08 +00:00
versatile_scm.c [versatilepb] Convert VERSATILEPB kernel to INTRNG and switch to upstream DTB 2017-04-01 20:10:08 +00:00
versatile_scm.h [versatilepb] Convert VERSATILEPB kernel to INTRNG and switch to upstream DTB 2017-04-01 20:10:08 +00:00
versatile_sic.c [versatilepb] Convert VERSATILEPB kernel to INTRNG and switch to upstream DTB 2017-04-01 20:10:08 +00:00
versatile_timer.c Stop including fdt_common.h from the arm code when it's unneeded. 2016-11-14 11:41:22 +00:00