Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Aug 2009 07:13:16 +0100
From:      Bruce Cran <bruce@cran.org.uk>
To:        John Baldwin <jhb@freebsd.org>
Cc:        Warner Losh <imp@FreeBSD.org>, FreeBSD Current <current@freebsd.org>, Robert Noland <rnoland@freebsd.org>
Subject:   Re: [PATCH] Adjust hints matching for ACPI devices
Message-ID:  <20090822071316.17a37b52@gluon.draftnet>
In-Reply-To: <200908201705.21310.jhb@freebsd.org>
References:  <200908201705.21310.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 20 Aug 2009 17:05:20 -0400
John Baldwin <jhb@freebsd.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090822071316.17a37b52>