soft-configurable IDE interfaces

Harald Anlauf (anlauf@crunch.ikp.physik.th-darmstadt.de)
Thu, 9 May 1996 11:40:42 +0200


Howdy,

the initialization of soft-configurable IDE interfaces on soundcards
should be moved before initialization of the IDE driver.

Cheers,
-Harald
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Harald Anlauf, Theoretical High Energy Physics, TH Darmstadt, D-64289 Darmstadt
Email: <anlauf@crunch.ikp.physik.th-darmstadt.de>

It takes all your running you can do to keep in the same place.
If you want to get somewhere else, you must run at least twice as fast as that.
=Lewis Carrol, Through the Looking Glass

--- linux/drivers/block/ll_rw_blk.c.orig Tue May 7 19:07:50 1996
+++ linux/drivers/block/ll_rw_blk.c Thu May 9 01:49:50 1996
@@ -617,6 +617,9 @@
#ifdef CONFIG_BLK_DEV_LOOP
loop_init();
#endif
+#ifdef CONFIG_CDI_INIT
+ cdi_init(); /* this MUST precede ide_init */
+#endif CONFIG_CDI_INIT
#ifdef CONFIG_BLK_DEV_IDE
ide_init(); /* this MUST precede hd_init */
#endif
@@ -631,9 +634,6 @@
#else
outb_p(0xc, 0x3f2);
#endif
-#ifdef CONFIG_CDI_INIT
- cdi_init();
-#endif CONFIG_CDI_INIT
#ifdef CONFIG_CDU31A
cdu31a_init();
#endif CONFIG_CDU31A