patch-2.2.15 linux/drivers/block/cpqarray.c
Next file: linux/drivers/block/cpqarray.h
Previous file: linux/drivers/block/cmd646.c
Back to the patch index
Back to the overall index
- Lines: 28
- Date:
Fri Apr 21 12:45:50 2000
- Orig file:
v2.2.14/drivers/block/cpqarray.c
- Orig date:
Sat Aug 14 02:27:16 1999
diff -u --new-file --recursive --exclude-from ../../exclude v2.2.14/drivers/block/cpqarray.c linux/drivers/block/cpqarray.c
@@ -41,8 +41,8 @@
#define SMART2_DRIVER_VERSION(maj,min,submin) ((maj<<16)|(min<<8)|(submin))
-#define DRIVER_NAME "Compaq SMART2 Driver (v 1.0.5)"
-#define DRIVER_VERSION SMART2_DRIVER_VERSION(1,0,5)
+#define DRIVER_NAME "Compaq SMART2 Driver (v 1.0.6)"
+#define DRIVER_VERSION SMART2_DRIVER_VERSION(1,0,6)
#define MAJOR_NR COMPAQ_SMART2_MAJOR
#include <linux/blk.h>
#include <linux/blkdev.h>
@@ -84,6 +84,7 @@
{ 0x40400E11, "Integrated Array", &smart4_access },
{ 0x40500E11, "Smart Array 4200", &smart4_access },
{ 0x40510E11, "Smart Array 4250ES", &smart4_access },
+ { 0x40580E11, "Smart Array 431", &smart4_access },
};
static struct hd_struct * ida;
@@ -1223,7 +1224,7 @@
return(error);
}
copy_from_user(p, (void*)io->sg[0].addr, io->sg[0].size);
- c->req.bp = virt_to_bus(&(io->c));
+ c->req.hdr.blk = virt_to_bus(&(io->c));
c->req.sg[0].size = io->sg[0].size;
c->req.sg[0].addr = virt_to_bus(p);
c->req.hdr.sg_cnt = 1;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)