patch-2.4.22 linux-2.4.22/arch/mips/vr41xx/zao-capcella/setup.c

Next file: linux-2.4.22/arch/mips64/Makefile
Previous file: linux-2.4.22/arch/mips/vr41xx/zao-capcella/init.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/arch/mips/vr41xx/zao-capcella/setup.c linux-2.4.22/arch/mips/vr41xx/zao-capcella/setup.c
@@ -29,10 +29,6 @@
 extern void * __rd_start, * __rd_end;
 #endif
 
-#ifdef CONFIG_BLK_DEV_IDE
-extern struct ide_ops capcella_ide_ops;
-#endif
-
 #ifdef CONFIG_PCI
 static struct resource vr41xx_pci_io_resource = {
 	"PCI I/O space",
@@ -105,8 +101,8 @@
 	conswitchp = &dummy_con;
 #endif
 
-#ifdef CONFIG_BLK_DEV_IDE
-	ide_ops = &capcella_ide_ops;
+#if defined(CONFIG_IDE) || defined(CONFIG_IDE_MODULE)
+	ide_ops = &vr41xx_ide_ops;
 #endif
 
 	vr41xx_bcu_init();
@@ -114,6 +110,7 @@
 	vr41xx_cmu_init(0x0102);
 
 	vr41xx_siu_init(SIU_RS232C, 0);
+	vr41xx_dsiu_init();
 
 #ifdef CONFIG_PCI
 	vr41xx_pciu_init(&pci_address_map);

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