patch-2.1.17 linux/drivers/block/ll_rw_blk.c
Next file: linux/drivers/block/rd.c
Previous file: linux/drivers/block/ez.c
Back to the patch index
Back to the overall index
- Lines: 65
- Date:
Fri Dec 20 11:20:00 1996
- Orig file:
v2.1.16/linux/drivers/block/ll_rw_blk.c
- Orig date:
Thu Dec 12 19:36:59 1996
diff -u --recursive --new-file v2.1.16/linux/drivers/block/ll_rw_blk.c linux/drivers/block/ll_rw_blk.c
@@ -383,6 +383,7 @@
case FLOPPY_MAJOR:
case IDE2_MAJOR:
case IDE3_MAJOR:
+ case ACSI_MAJOR:
/*
* The scsi disk and cdrom drivers completely remove the request
* from the queue when they start processing an entry. For this
@@ -622,6 +623,13 @@
}
}
+#ifdef CONFIG_BLK_DEV_EZ
+extern void ez_init( void );
+#endif
+#ifdef CONFIG_BPCD
+extern void bpcd_init( void );
+#endif
+
int blk_dev_init(void)
{
struct request * req;
@@ -644,6 +652,9 @@
req->next = NULL;
}
memset(ro_bits,0,sizeof(ro_bits));
+#ifdef CONFIG_AMIGA_Z2RAM
+ z2_init();
+#endif
#ifdef CONFIG_BLK_DEV_RAM
rd_init();
#endif
@@ -665,14 +676,22 @@
#ifdef CONFIG_BLK_DEV_XD
xd_init();
#endif
+#ifdef CONFIG_BLK_DEV_EZ
+ ez_init();
+#endif
#ifdef CONFIG_BLK_DEV_FD
floppy_init();
#else
+#if !defined (__mc68000__)
outb_p(0xc, 0x3f2);
#endif
+#endif
#ifdef CONFIG_CDU31A
cdu31a_init();
#endif CONFIG_CDU31A
+#ifdef CONFIG_ATARI_ACSI
+ acsi_init();
+#endif CONFIG_ATARI_ACSI
#ifdef CONFIG_MCD
mcd_init();
#endif CONFIG_MCD
@@ -691,6 +710,9 @@
#ifdef CONFIG_GSCD
gscd_init();
#endif CONFIG_GSCD
+#ifdef CONFIG_BPCD
+ bpcd_init();
+#endif CONFIG_BPCD
#ifdef CONFIG_CM206
cm206_init();
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov