scsi: communicate max segment size to the DMA mapping code
[linux-2.6-block.git] / drivers / scsi / gvp11.c
index a27fc49ebd3acd5ed7063e8254d6736fca5ca4e6..d2acd0d826e2be899ba9529a675e2e88a879b85f 100644 (file)
@@ -184,7 +184,7 @@ static struct scsi_host_template gvp11_scsi_template = {
        .this_id                = 7,
        .sg_tablesize           = SG_ALL,
        .cmd_per_lun            = CMD_PER_LUN,
-       .use_clustering         = DISABLE_CLUSTERING
+       .dma_boundary           = PAGE_SIZE - 1,
 };
 
 static int check_wd33c93(struct gvp11_scsiregs *regs)