LongTrail PCI resource assignment
Michael Schmitz
schmitz at opal.biophys.uni-duesseldorf.de
Mon Mar 27 18:57:26 EST 2000
> The code I posted for the LongTrail does assign missing/conflicting resources.
> Please adapt it for PowerMac.
Applying Geerts patch (minus the PCIBIOS_MIN_MEM patch) plus the following
one solves my PCI address conflict for the Mach64 by reallocating the MMIO
aperture, and allows XFree86 4.0 to run on my Lombard.
Michael
--- arch/ppc/kernel/pci.c.org Sun Mar 26 14:08:53 2000
+++ arch/ppc/kernel/pci.c Sun Mar 26 14:09:16 2000
@@ -231,7 +231,7 @@
if (!pr || request_resource(pr, r) < 0) {
printk(KERN_ERR "PCI: Cannot allocate resource region %d of device %s\n", idx, dev->slot_name);
/* We'll assign a new address later */
- r->start -= r->end;
+ r->end -= r->start;
r->start = 0;
}
}
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-dev
mailing list