From owner-freebsd-current@FreeBSD.ORG Sun Apr 11 17:34:15 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 9C07716A4CE for ; Sun, 11 Apr 2004 17:34:15 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C43943D46 for ; Sun, 11 Apr 2004 17:34:14 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.10/8.12.9) with ESMTP id i3C0Y9kj077982; Sun, 11 Apr 2004 18:34:09 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 11 Apr 2004 18:34:55 -0600 (MDT) Message-Id: <20040411.183455.78702489.imp@bsdimp.com> To: oberman@es.net From: "M. Warner Losh" In-Reply-To: <20040411213141.BBC285D07@ptavv.es.net> References: <20040411.094422.105169903.imp@bsdimp.com> <20040411213141.BBC285D07@ptavv.es.net> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: current@freebsd.org cc: ler@lerctr.org Subject: Re: HEADS UP: PCI Chnages 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: Mon, 12 Apr 2004 00:34:15 -0000 Try this patch Index: ata-pci.c =================================================================== RCS file: /cache/ncvs/src/sys/dev/ata/ata-pci.c,v retrieving revision 1.77 diff -u -r1.77 ata-pci.c --- ata-pci.c 17 Mar 2004 17:50:27 -0000 1.77 +++ ata-pci.c 12 Apr 2004 00:34:28 -0000 @@ -246,7 +246,7 @@ if (type == SYS_RES_IOPORT) { switch (*rid) { case ATA_IOADDR_RID: - if (ATA_MASTERDEV(dev)) { + if (0 && ATA_MASTERDEV(dev)) { myrid = 0; start = (unit ? ATA_SECONDARY : ATA_PRIMARY); end = start + ATA_IOSIZE - 1; @@ -264,7 +264,7 @@ break; case ATA_ALTADDR_RID: - if (ATA_MASTERDEV(dev)) { + if (0 && ATA_MASTERDEV(dev)) { myrid = 0; start = (unit ? ATA_SECONDARY : ATA_PRIMARY) + ATA_ALTOFFSET; end = start + ATA_ALTIOSIZE - 1; @@ -321,7 +321,7 @@ if (type == SYS_RES_IOPORT) { switch (rid) { case ATA_IOADDR_RID: - if (ATA_MASTERDEV(dev)) + if (0 && ATA_MASTERDEV(dev)) return BUS_RELEASE_RESOURCE(device_get_parent(dev), child, SYS_RES_IOPORT, 0x0, r); else @@ -330,7 +330,7 @@ break; case ATA_ALTADDR_RID: - if (ATA_MASTERDEV(dev)) + if (0 && ATA_MASTERDEV(dev)) return BUS_RELEASE_RESOURCE(device_get_parent(dev), child, SYS_RES_IOPORT, 0x0, r); else