Date: Mon, 24 Aug 2009 21:51:46 +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: <200908242152.n7OLq5Xp034060@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2009-08-24 21:51:46 UTC FreeBSD src repository Modified files: sys/dev/acpica acpi.c sys/isa isahint.c Log: SVN rev 196520 on 2009-08-24 21:51:46Z by jhb 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'. Reviewed by: imp MFC after: 3 days Revision Changes Path 1.267 +18 -2 src/sys/dev/acpica/acpi.c 1.20 +23 -4 src/sys/isa/isahint.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908242152.n7OLq5Xp034060>