]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/libata.h
[PATCH] libata: add host_set->next for legacy two host_sets case, take #3
[linux-2.6-omap-h63xx.git] / include / linux / libata.h
index 39e6b77de1a90e5f314ee64d36c4751ab2ff7490..f03b8664af1164b7f0ce797e04f0ada5ffab392f 100644 (file)
@@ -356,7 +356,8 @@ struct ata_host_set {
        unsigned long           flags;
        int                     simplex_claimed;        /* Keep seperate in case we
                                                           ever need to do this locked */
-       struct ata_port *       ports[0];
+       struct ata_host_set     *next;          /* for legacy mode */
+       struct ata_port         *ports[0];
 };
 
 struct ata_queued_cmd {
@@ -522,6 +523,7 @@ struct ata_port {
 
        struct work_struct      port_task;
        struct work_struct      hotplug_task;
+       struct work_struct      scsi_rescan_task;
 
        unsigned int            hsm_task_state;