patch-2.4.21 linux-2.4.21/arch/ia64/sn/io/pci.c
Next file: linux-2.4.21/arch/ia64/sn/io/pci_dma.c
Previous file: linux-2.4.21/arch/ia64/sn/io/labelcl.c
Back to the patch index
Back to the overall index
- Lines: 37
- Date:
2003-06-13 07:51:30.000000000 -0700
- Orig file:
linux-2.4.20/arch/ia64/sn/io/pci.c
- Orig date:
2002-08-02 17:39:43.000000000 -0700
diff -urN linux-2.4.20/arch/ia64/sn/io/pci.c linux-2.4.21/arch/ia64/sn/io/pci.c
@@ -230,7 +230,7 @@
void __init
sn_pci_find_bios(void)
{
- extern struct pci_ops pci_conf;
+ extern struct pci_ops *pci_root_ops;
/*
* Go initialize our IO Infrastructure ..
*/
@@ -239,7 +239,7 @@
sgi_master_io_infr_init();
/* sn_io_infrastructure_init(); */
- pci_conf = snia64_pci_ops;
+ pci_root_ops = &snia64_pci_ops;
}
void
@@ -276,15 +276,9 @@
d->resource[i].flags = 0UL;
}
- /*
- * Hardcode Device 4 register(IOC3 is in Slot 4) to set the
- * DEV_DIRECT bit. This will not work if IOC3 is not on Slot
- * 4.
- */
- DBG("pci_fixup_ioc3: FIXME .. need to take NASID into account when setting IOC3 devreg 0x%x\n", *(volatile u32 *)0xc0000a000f000220);
-
- *(volatile u32 *)0xc0000a000f000220 |= 0x90000;
-
+#ifdef CONFIG_IA64_SGI_SN1
+ *(volatile u32 *)0xc0000a000f000220 |= 0x90000;
+#endif
d->subsystem_vendor = 0;
d->subsystem_device = 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)