patch-2.3.10 linux/drivers/block/ll_rw_blk.c
Next file: linux/drivers/block/loop.c
Previous file: linux/drivers/block/ide.c
Back to the patch index
Back to the overall index
- Lines: 34
- Date:
Mon Jul 5 19:52:52 1999
- Orig file:
v2.3.9/linux/drivers/block/ll_rw_blk.c
- Orig date:
Wed Jun 30 13:38:19 1999
diff -u --recursive --new-file v2.3.9/linux/drivers/block/ll_rw_blk.c linux/drivers/block/ll_rw_blk.c
@@ -347,6 +347,9 @@
/* for SCSI devices, call request_fn unconditionally */
if (scsi_blk_major(MAJOR(req->rq_dev)))
queue_new_request = 1;
+ if (MAJOR(req->rq_dev) >= COMPAQ_SMART2_MAJOR+0 &&
+ MAJOR(req->rq_dev) <= COMPAQ_SMART2_MAJOR+7)
+ queue_new_request = 1;
out:
if (queue_new_request)
(dev->request_fn)();
@@ -506,6 +509,14 @@
case SCSI_DISK7_MAJOR:
case SCSI_CDROM_MAJOR:
case I2O_MAJOR:
+ case COMPAQ_SMART2_MAJOR+0:
+ case COMPAQ_SMART2_MAJOR+1:
+ case COMPAQ_SMART2_MAJOR+2:
+ case COMPAQ_SMART2_MAJOR+3:
+ case COMPAQ_SMART2_MAJOR+4:
+ case COMPAQ_SMART2_MAJOR+5:
+ case COMPAQ_SMART2_MAJOR+6:
+ case COMPAQ_SMART2_MAJOR+7:
do {
if (req->sem)
@@ -717,7 +728,7 @@
wake_up(&wait_for_request);
}
-__initfunc(int blk_dev_init(void))
+int __init blk_dev_init(void)
{
struct request * req;
struct blk_dev_struct *dev;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)