scsi: use 64-bit value for 'max_luns'
[deliverable/linux.git] / include / scsi / scsi_host.h
index 94844fc77b9759f20c6f51c6bcb16e008f2167b3..abb695882fed362233800392312191a6730070c3 100644 (file)
@@ -408,7 +408,7 @@ struct scsi_host_template {
        /*
         * Set this if the host adapter has limitations beside segment count.
         */
-       unsigned short max_sectors;
+       unsigned int max_sectors;
 
        /*
         * DMA scatter gather segment boundary limit. A segment crossing this
@@ -623,11 +623,11 @@ struct Scsi_Host {
         * These three parameters can be used to allow for wide scsi,
         * and for host adapters that support multiple busses
         * The first two should be set to 1 more than the actual max id
-        * or lun (i.e. 8 for normal systems).
+        * or lun (e.g. 8 for SCSI parallel systems).
         */
-       unsigned int max_id;
-       unsigned int max_lun;
        unsigned int max_channel;
+       unsigned int max_id;
+       u64 max_lun;
 
        /*
         * This is a unique identifier that must be assigned so that we
@@ -652,7 +652,7 @@ struct Scsi_Host {
        short cmd_per_lun;
        short unsigned int sg_tablesize;
        short unsigned int sg_prot_tablesize;
-       short unsigned int max_sectors;
+       unsigned int max_sectors;
        unsigned long dma_boundary;
        /* 
         * Used to assign serial numbers to the cmds.
This page took 0.024653 seconds and 5 git commands to generate.