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:29:51 +0000 (21:29 +0100)
sys/dev/raid/mfi/mfi.c

index d38fe2f..1e1db56 100644 (file)
@@ -2797,7 +2797,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;