]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/scsi/sun3x_esp.c
[SCSI] qla2xxx: Fail initialization when inconsistent NVRAM detected.
[linux-2.6-omap-h63xx.git] / drivers / scsi / sun3x_esp.c
index 1f328cae5c05c2faf303204f7acd16329e4ba23b..6b60536ac92b4bb11278eb2f8b9ae37519f649e4 100644 (file)
@@ -347,7 +347,7 @@ static void dma_mmu_release_scsi_one (struct NCR_ESP *esp, Scsi_Cmnd *sp)
 static void dma_mmu_release_scsi_sgl (struct NCR_ESP *esp, Scsi_Cmnd *sp)
 {
     int sz = sp->use_sg - 1;
-    struct scatterlist *sg = (struct scatterlist *)sp->buffer;
+    struct scatterlist *sg = (struct scatterlist *)sp->request_buffer;
                         
     while(sz >= 0) {
         dvma_unmap((char *)sg[sz].dma_address);