patch-2.4.5 linux/include/asm-sh/pci.h

Next file: linux/include/asm-sparc/pci.h
Previous file: linux/include/asm-sh/hd64465_gpio.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.4/linux/include/asm-sh/pci.h linux/include/asm-sh/pci.h
@@ -160,7 +160,8 @@
 	return 1;
 }
 
-
+/* Return the index of the PCI controller for device PDEV. */
+#define pci_controller_num(PDEV)	(0)
 
 /* These macros should be used after a pci_map_sg call has been done
  * to get bus addresses of each of the SG entries and their lengths.

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