- patches.fixes/patch-2.6.11-rc1: 2.6.11-rc1.
[linux-flexiantxendom0-3.2.10.git] / include / scsi / scsi_transport.h
index 2a84cec..705e9ef 100644 (file)
@@ -33,6 +33,7 @@ struct scsi_transport_template {
        struct class *device_class;
        struct class *target_class;
        struct class *host_class;
+       struct attribute_group *host_statistics;
 
        /* Constructor functions */
        int (*device_setup)(struct scsi_device *);
@@ -40,6 +41,11 @@ struct scsi_transport_template {
        int (*target_setup)(struct scsi_target *);
        int (*host_setup)(struct Scsi_Host *);
 
+       /* Destructor functions */
+       void (*device_destroy)(struct scsi_device *);
+       void (*target_destroy)(struct scsi_target *);
+       void (*host_destroy)(struct Scsi_Host *);
+
        /* The size of the specific transport attribute structure (a
         * space of this size will be left at the end of the
         * scsi_* structure */