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
-  Lines: 10
-  Date:
Wed May 16 10:31:27 2001
-  Orig file: 
v2.4.4/linux/include/asm-sh/pci.h
-  Orig date: 
Wed Apr 11 21:24:52 2001
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)