From owner-cvs-src-old@FreeBSD.ORG Mon Aug 24 21:52:05 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CCF20106568B for ; Mon, 24 Aug 2009 21:52:05 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id BAA9F8FC18 for ; Mon, 24 Aug 2009 21:52:05 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n7OLq5hR034061 for ; Mon, 24 Aug 2009 21:52:05 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n7OLq5Xp034060 for cvs-src-old@freebsd.org; Mon, 24 Aug 2009 21:52:05 GMT (envelope-from jhb@repoman.freebsd.org) Message-Id: <200908242152.n7OLq5Xp034060@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jhb@repoman.freebsd.org using -f From: John Baldwin Date: Mon, 24 Aug 2009 21:51:46 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/acpica acpi.c src/sys/isa isahint.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 21:52:05 -0000 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