Date: Sun, 11 Apr 2004 18:34:55 -0600 (MDT) From: "M. Warner Losh" <imp@bsdimp.com> To: oberman@es.net Cc: ler@lerctr.org Subject: Re: HEADS UP: PCI Chnages Message-ID: <20040411.183455.78702489.imp@bsdimp.com> In-Reply-To: <20040411213141.BBC285D07@ptavv.es.net> References: <20040411.094422.105169903.imp@bsdimp.com> <20040411213141.BBC285D07@ptavv.es.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040411.183455.78702489.imp>