I'd appreciate if an mfi(4) user could apply the patch below and
confirm that mfi(4) still works.  Just checking that you can still
read data from any attached disks should be sufficient.

Index: mfi.c
===================================================================
RCS file: /cvs/src/sys/dev/ic/mfi.c,v
retrieving revision 1.109
diff -u -p -r1.109 mfi.c
--- mfi.c       1 Jul 2010 03:20:38 -0000       1.109
+++ mfi.c       13 Jul 2010 00:42:03 -0000
@@ -946,7 +946,7 @@ mfi_scsi_ld(struct mfi_ccb *ccb, struct 
        pf->mpf_sense_addr_lo = htole32(ccb->ccb_psense);
 
        memset(pf->mpf_cdb, 0, 16);
-       memcpy(pf->mpf_cdb, &xs->cmdstore, xs->cmdlen);
+       memcpy(pf->mpf_cdb, xs->cmd, xs->cmdlen);
 
        ccb->ccb_done = mfi_scsi_xs_done;
        ccb->ccb_cookie = xs;

Reply via email to