scsi: core: Add a dma_alignment field to the host and host template
[linux-2.6-block.git] / include / scsi / scsi_host.h
index 6d77c48e8311fb892ee280e806a2fec7ad2c140d..b0948ab69e0fa6cf3c5f55e5993138a129a75410 100644 (file)
@@ -405,6 +405,8 @@ struct scsi_host_template {
         */
        unsigned int max_segment_size;
 
+       unsigned int dma_alignment;
+
        /*
         * DMA scatter gather segment boundary limit. A segment crossing this
         * boundary will be split in two.
@@ -614,6 +616,7 @@ struct Scsi_Host {
        unsigned int max_sectors;
        unsigned int opt_sectors;
        unsigned int max_segment_size;
+       unsigned int dma_alignment;
        unsigned long dma_boundary;
        unsigned long virt_boundary_mask;
        /*