git: atkbdc - Do not attach PS2 controller via legacy ISA bus, if FADT says so.
Imre Vadasz
ivadasz at crater.dragonflybsd.org
Sun Feb 18 02:06:03 PST 2018
commit 131acb0380e93664f106117ebf8ba322a3d1b7c4
Author: Imre Vadász <imre at vdsz.com>
Date: Thu Feb 1 13:16:55 2018 +0100
atkbdc - Do not attach PS2 controller via legacy ISA bus, if FADT says so.
* If the FADT BootFlags value tells us that we shouldn't expect the PS2
controller to be at the IO ports 0x60/0x64, we should instead only attach
the atkbdc driver when there is a matching device in the ACPI namespace.
* This avoids attempts to attach the atkbdc PS2 controller driver on
hardware which doesn't have a usable PS2 controller. This happens on
many modern notebooks, and has been the case for some time on desktop
hardware that doesn't provide an emulated PS2 controller for using USB
input devices all the time (it either is never initialized, or might
get disabled by some of the ACPI or USB initialization during bootup).
Summary of changes:
sys/dev/misc/atkbdc_layer/atkbdc_isa.c | 19 ++++++++++++++++++-
sys/dev/misc/kbd/atkbdc.c | 25 +++++++++++++++++++++++++
sys/platform/pc64/acpica/acpi_fadt.c | 13 +++++++++++++
3 files changed, 56 insertions(+), 1 deletion(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/131acb0380e93664f106117ebf8ba322a3d1b7c4
--
DragonFly BSD source repository
More information about the Commits
mailing list