patch-2.3.99-pre2 linux/include/asm-sh/pci.h
Next file: linux/include/asm-sparc/mman.h
Previous file: linux/include/asm-sh/page.h
Back to the patch index
Back to the overall index
-  Lines: 20
-  Date:
Thu Mar 16 11:28:57 2000
-  Orig file: 
v2.3.99-pre1/linux/include/asm-sh/pci.h
-  Orig date: 
Tue Mar  7 14:32:26 2000
diff -u --recursive --new-file v2.3.99-pre1/linux/include/asm-sh/pci.h linux/include/asm-sh/pci.h
@@ -1,13 +1,18 @@
 #ifndef __ASM_SH_PCI_H
 #define __ASM_SH_PCI_H
 
+#ifdef __KERNEL__
+
 /* Can be used to override the logic in pci_scan_bus for skipping
    already-configured bus numbers - to be used for buggy BIOSes
    or architectures with incomplete PCI setup by the loader */
 
 #define pcibios_assign_all_busses()	0
 
-#ifdef __KERNEL__
+extern inline void pcibios_set_master(struct pci_dev *dev)
+{
+	/* No special bus mastering setup handling */
+}
 
 /* Dynamic DMA mapping stuff.
  * SuperH has everything mapped statically like x86.
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)