From owner-freebsd-current@FreeBSD.ORG Sun Feb 15 12:38:16 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 78FDB16A4CE for ; Sun, 15 Feb 2004 12:38:16 -0800 (PST) Received: from root.org (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 533F943D1D for ; Sun, 15 Feb 2004 12:38:16 -0800 (PST) (envelope-from nate@root.org) Received: (qmail 20353 invoked by uid 1000); 15 Feb 2004 20:38:17 -0000 Date: Sun, 15 Feb 2004 12:38:17 -0800 (PST) From: Nate Lawson To: current@freebsd.org, acpi-jp@jp.freebsd.org Message-ID: <20040215123643.L20266@root.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Lanny Baron Subject: cvs commit: src/sys/isa fd.c (fwd) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Sun, 15 Feb 2004 20:38:16 -0000 Please cvsup and build a new kernel with this change to make sure it fixes your floppy drive. Also, you need to disable any "acpi_dsdt_load=YES" values in loader.conf to be sure this has an effect. -Nate ---------- Forwarded message ---------- njl 2004/02/15 12:30:22 PST FreeBSD src repository Modified files: sys/isa fd.c Log: Workaround some ACPI BIOSen which break the IO port into multiple resources. (Note that the correct range is 0x3f7,0x3f0-0x3f5.) Such devices will be detected as follows: fdc0: port 0x3f7,0x3f4-0x3f5,0x3f2-0x3f3,0x3f0-0x3f1 irq 6 drq 2 on acpi0 To do this, we find the minimum and maximum start addresses for the resources and use them as the base for the IO and control ports. Help from: jhb Revision Changes Path 1.263 +35 -1 src/sys/isa/fd.c