patch-2.4.20 linux-2.4.20/arch/mips/au1000/pb1500/pci_fixup.c
Next file: linux-2.4.20/arch/mips/au1000/pb1500/pci_ops.c
Previous file: linux-2.4.20/arch/mips/au1000/pb1500/init.c
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
Thu Nov 28 15:53:09 2002
- Orig file:
linux-2.4.19/arch/mips/au1000/pb1500/pci_fixup.c
- Orig date:
Fri Aug 2 17:39:43 2002
diff -urN linux-2.4.19/arch/mips/au1000/pb1500/pci_fixup.c linux-2.4.20/arch/mips/au1000/pb1500/pci_fixup.c
@@ -42,7 +42,7 @@
#ifdef DEBUG
#define DBG(x...) printk(x)
#else
-#define DBG(x...)
+#define DBG(x...)
#endif
static void fixup_resource(int r_num, struct pci_dev *dev) ;
@@ -57,8 +57,8 @@
{
int i;
struct pci_dev *dev;
-
- virt_io_addr = (unsigned long)ioremap(Au1500_PCI_IO_START,
+
+ virt_io_addr = (unsigned long)ioremap(Au1500_PCI_IO_START,
Au1500_PCI_IO_END - Au1500_PCI_IO_START + 1);
if (!virt_io_addr) {
@@ -103,7 +103,7 @@
return 0;
}
-static void fixup_resource(int r_num, struct pci_dev *dev)
+static void fixup_resource(int r_num, struct pci_dev *dev)
{
unsigned long start, size, new_start;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)