PCI configuration problem in 2.3.99 prex

From: Soohoon Lee (Soohoon.Lee@alpha-processor.com)
Date: Wed May 10 2000 - 16:11:32 EST


Alpha has seperate address space for each PCI bus and
current pci drivers in drivres/pci cannot deal with that.
I've modified drivers/pic/setup-res.c like following but
What about having min field in struct resource.

Soohoon.

diff -Naur /root/linux/drivers/pci/setup-res.c drivers/pci/setup-res.c
--- /root/linux/drivers/pci/setup-res.c Wed Jan 12 14:15:16 2000
+++ drivers/pci/setup-res.c Sat May 6 19:00:40 2000
@@ -69,6 +69,11 @@
       }
 
       min = (res->flags & IORESOURCE_IO ? PCIBIOS_MIN_IO :
PCIBIOS_MIN_MEM);
+
+ if (root->start > 0xffffffffUL) {
+ min |= root->start & ~0xffffffffUL;
+ }
+
       size = res->end + 1;
       DBGC((" for root[%lx:%lx] min[%lx] size[%lx]\n",
             root->start, root->end, min, size));

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon May 15 2000 - 21:00:16 EST