patch-2.4.23 linux-2.4.23/include/asm-ia64/pci.h

Next file: linux-2.4.23/include/asm-ia64/pgtable.h
Previous file: linux-2.4.23/include/asm-ia64/page.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/include/asm-ia64/pci.h linux-2.4.23/include/asm-ia64/pci.h
@@ -15,6 +15,7 @@
  * loader.
  */
 #define pcibios_assign_all_busses()     0
+#define pcibios_scan_all_fns()		0
 
 #define PCIBIOS_MIN_IO		0x1000
 #define PCIBIOS_MIN_MEM		0x10000000
@@ -82,8 +83,8 @@
 #define pci_dac_dma_to_offset(dev,dma_addr)	((dma_addr) & ~PAGE_MASK)
 #define pci_dac_dma_sync_single(dev,dma_addr,len,dir)	do { /* nothing */ } while (0)
 
-/* Return the index of the PCI controller for device PDEV. */
-#define pci_controller_num(PDEV)	(0)
+/* Return the PCI domain number */
+#define pci_controller_num(pdev)	(PCI_SEGMENT(pdev))
 
 #define sg_dma_address(sg)	((sg)->dma_address)
 #define sg_dma_len(sg)		((sg)->dma_length)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)