vserver 2.0 rc7
[linux-2.6.git] / include / scsi / scsi_transport.h
index 889849a..2dcee7a 100644 (file)
 #include <linux/transport_class.h>
 
 struct scsi_transport_template {
-       /* The statistics attached to the host class only */
-       struct attribute_group *host_statistics;
-
        /* the attribute containers */
-       struct attribute_container host_attrs;
-       struct attribute_container target_attrs;
-       struct attribute_container device_attrs;
+       struct transport_container host_attrs;
+       struct transport_container target_attrs;
+       struct transport_container device_attrs;
 
        /* The size of the specific transport attribute structure (a
         * space of this size will be left at the end of the
@@ -37,6 +34,11 @@ struct scsi_transport_template {
        int     device_size;
        int     target_size;
        int     host_size;
+
+       /*
+        * True if the transport wants to use a host-based work-queue
+        */
+       unsigned int create_work_queue : 1;
 };
 
 #define transport_class_to_shost(tc) \