patch-2.4.9 linux/arch/arm/kernel/via82c505.c

Next file: linux/arch/arm/lib/Makefile
Previous file: linux/arch/arm/kernel/traps.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.8/linux/arch/arm/kernel/via82c505.c linux/arch/arm/kernel/via82c505.c
@@ -152,11 +152,8 @@
 };
 #endif
 
-void __init via82c505_init(struct arm_pci_sysdata *sysdata)
+void __init via82c505_init(void *sysdata)
 {
-	unsigned int pci_cmd = PCI_COMMAND_IO | PCI_COMMAND_MEMORY |
-				PCI_COMMAND_MASTER | PCI_COMMAND_INVALIDATE;
-	struct pci_dev *dev;
 	struct pci_bus *bus;
 
 	printk(KERN_DEBUG "PCI: VIA 82c505\n");
@@ -170,11 +167,6 @@
 	outb(0xd0,0xA9);
 
 	pci_scan_bus(0, &via82c505_ops, sysdata);
-
-	pci_cmd |= sysdata->bus[0].features;
-
-	printk("PCI: Fast back to back transfers %sabled\n",
-	       (sysdata->bus[0].features & PCI_COMMAND_FAST_BACK) ? "en" : "dis");
 
 #ifdef CONFIG_ARCH_SHARK
 	/* 

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