Update of /cvsroot/linux-mips/linux/arch/mips/au1000/pb1500
In directory usw-pr-cvs1:/tmp/cvs-serv1790/arch/mips/au1000/pb1500
Modified Files:
pci_fixup.c
Log Message:
Pb1500 PCI support now uses new 36 bit code.
Index: pci_fixup.c
===================================================================
RCS file: /cvsroot/linux-mips/linux/arch/mips/au1000/pb1500/pci_fixup.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- pci_fixup.c 15 Feb 2002 19:47:26 -0000 1.2
+++ pci_fixup.c 9 Mar 2002 01:40:52 -0000 1.3
@@ -110,10 +110,9 @@
if (dev->resource[r_num].flags & IORESOURCE_IO) {
start = dev->resource[r_num].start;
size = dev->resource[r_num].end - start;
- new_start = virt_io_addr + (start - Au1500_PCI_IO_START);
+ new_start = virt_io_addr + (start - (u32)Au1500_PCI_IO_START);
dev->resource[r_num].start = new_start;
dev->resource[r_num].end = new_start + size;
}
}
-
#endif
|