]> err.no Git - linux-2.6/blobdiff - include/scsi/scsi_device.h
Merge with ../linux-2.6-smp
[linux-2.6] / include / scsi / scsi_device.h
index c018020d9160891b511e03bdff1db93796bf9928..63c91dd85ca15c0e889e2478d78adc1c9d9641a4 100644 (file)
@@ -154,7 +154,9 @@ struct scsi_target {
        unsigned int            id; /* target id ... replace
                                     * scsi_device.id eventually */
        unsigned long           create:1; /* signal that it needs to be added */
-       unsigned long           starget_data[0];
+       void                    *hostdata; /* available to low-level driver */
+       unsigned long           starget_data[0]; /* for the transport */
+       /* starget_data must be the last element!!!! */
 } __attribute__((aligned(sizeof(unsigned long))));
 
 #define to_scsi_target(d)      container_of(d, struct scsi_target, dev)