Date: Thu, 27 Aug 2009 16:34:04 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/acpica acpi.c src/sys/isa isahint.c Message-ID: <200908271634.n7RGYt2o060259@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2009-08-27 16:34:04 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_8)
sys/dev/acpica acpi.c
sys/isa isahint.c
Log:
SVN rev 196593 on 2009-08-27 16:34:04Z by jhb
MFC 196520:
Tweak the way that the ACPI and ISA bus drivers match hint devices to
BIOS-enumerated devices:
- Assume a device is a match if the memory and I/O ports match even if the
IRQ or DRQ is wrong or missing. Some BIOSes don't include an IRQ for
the atrtc device for example.
- Add a hack to better match floppy controller devices. Many BIOSes do not
include the starting port of the floppy controller listed in the hints
(0x3f0) in the resources for the device. So far, however, all the BIOS
variations encountered do include the 'port + 2' resource (0x3f2), so
adjust the matching for "fdc" devices to look for 'port + 2'.
Approved by: re (kib)
Revision Changes Path
1.265.2.3 +18 -2 src/sys/dev/acpica/acpi.c
1.19.2.2 +23 -4 src/sys/isa/isahint.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908271634.n7RGYt2o060259>
