From owner-freebsd-current@FreeBSD.ORG Sat Aug 22 06:13:24 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69B17106568C; Sat, 22 Aug 2009 06:13:24 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [66.246.138.153]) by mx1.freebsd.org (Postfix) with ESMTP id 2EED08FC18; Sat, 22 Aug 2009 06:13:24 +0000 (UTC) Received: from gluon.draftnet (87-194-158-129.bethere.co.uk [87.194.158.129]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id A4EEC8465; Sat, 22 Aug 2009 06:13:22 +0000 (UTC) Date: Sat, 22 Aug 2009 07:13:16 +0100 From: Bruce Cran To: John Baldwin Message-ID: <20090822071316.17a37b52@gluon.draftnet> In-Reply-To: <200908201705.21310.jhb@freebsd.org> References: <200908201705.21310.jhb@freebsd.org> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.4; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Warner Losh , FreeBSD Current , Robert Noland Subject: Re: [PATCH] Adjust hints matching for ACPI devices X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Aug 2009 06:13:24 -0000 On Thu, 20 Aug 2009 17:05:20 -0400 John Baldwin wrote: > This patch adjusts how the acpi0 device matches hint devices with > built-in devices. First, it relaxes the matching somewhat so that if > the memory and I/O ports specified in hints match a device then > mismatches in IRQs or DRQs are ignored. This should fix the problem > with atrtc1 devices because the ACPI-enumerated atrtc device did not > include an IRQ. The second change is a hack to allow floppy drive > controllers to match the hints on systems where the BIOS does not > include 0x3f0 in the list of resources for the floppy drive (see the > comments above fdc_isa_alloc_resources() for the gory details). This > should fix the reports of the floppy controller showing up as fdc1 > rather than fdc0. Thanks - with this patch and /boot/device.hints restored fdc0 is found and attaches; /dev/fd0 is present again. -- Bruce Cran