From owner-cvs-all@FreeBSD.ORG Sun Feb 15 12:30:23 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8AAC516A4CE; Sun, 15 Feb 2004 12:30:23 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6EBF943D2D; Sun, 15 Feb 2004 12:30:23 -0800 (PST) (envelope-from njl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i1FKUNGe068079; Sun, 15 Feb 2004 12:30:23 -0800 (PST) (envelope-from njl@repoman.freebsd.org) Received: (from njl@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i1FKUNCn068078; Sun, 15 Feb 2004 12:30:23 -0800 (PST) (envelope-from njl) Message-Id: <200402152030.i1FKUNCn068078@repoman.freebsd.org> From: Nate Lawson Date: Sun, 15 Feb 2004 12:30:23 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/isa fd.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Feb 2004 20:30:23 -0000 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