It's not like it would compile without PCI support anyway, and these
ifdefs are _really_ strange.
* can probably be removed with a little more cleanup now that the SAL routines
* work on sn2.
*/
-#ifdef CONFIG_PCI
-
extern vertex_hdl_t devfn_to_vertex(unsigned char bus, unsigned char devfn);
int sn_read_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val)
.read = sn_read_config,
.write = sn_write_config,
};
-
-#else
-struct list_head pci_root_buses;
-struct list_head pci_root_buses;
-struct list_head pci_devices;
-#endif /* CONFIG_PCI */
return 1;
}
-#ifdef CONFIG_PCI
-
/*
* New generic DMA routines just wrap sn2 PCI routines until we
* support other bus types (if ever).
}
EXPORT_SYMBOL(sn_dma_sync_sg);
-#endif /* CONFIG_PCI */
-
EXPORT_SYMBOL(sn_pci_unmap_single);
EXPORT_SYMBOL(sn_pci_map_single);
EXPORT_SYMBOL(sn_pci_dma_sync_single);