patch-2.4.0-test6 linux/arch/sh/kernel/pci-sh.c

Next file: linux/arch/sh/kernel/semaphore.c
Previous file: linux/arch/sh/kernel/mach_unknown.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test5/linux/arch/sh/kernel/pci-sh.c linux/arch/sh/kernel/pci-sh.c
@@ -4,9 +4,22 @@
 #include <linux/init.h>
 #include <linux/ioport.h>
 #include <linux/errno.h>
+#include <asm/machvec.h>
 
-unsigned long resource_fixup(struct pci_dev * dev, struct resource * res,
-			     unsigned long start, unsigned long size)
+void __init pcibios_init(void)
 {
-	return start;
+	if (sh_mv.mv_init_pci != NULL) {
+		sh_mv.mv_init_pci();
+	}
 }
+
+/* Haven't done anything here as yet */
+char * __init pcibios_setup(char *str)
+{
+	return str;
+}
+
+/* We don't have anything here to fixup */
+struct pci_fixup pcibios_fixups[] = {
+	{0, 0, 0, NULL}
+};

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