mfi(4): Fix a wrong assignment.
authorSascha Wildner <saw@online.de>
Fri, 1 Mar 2013 20:29:27 +0000 (21:29 +0100)
committerSascha Wildner <saw@online.de>
Fri, 1 Mar 2013 20:30:21 +0000 (21:30 +0100)
sys/dev/raid/mfi/mfi.c

index 50ca40e..842f1c7 100644 (file)
@@ -2800,7 +2800,7 @@ mfi_stp_cmd(struct mfi_softc *sc, struct mfi_command *cm,caddr_t arg)
                        cm->cm_frame->stp.sgl.sg64[i].len =
                            ioc->mfi_sgl[i].iov_len;
                } else {
-                       cm->cm_frame->stp.sgl.sg32[i].len =
+                       cm->cm_frame->stp.sgl.sg32[i].addr =
                            kern_sge[i].phys_addr;
                        cm->cm_frame->stp.sgl.sg32[i].len =
                            ioc->mfi_sgl[i].iov_len;