]> err.no Git - linux-2.6/blobdiff - include/linux/libata.h
[libata] Add host lock to struct ata_port
[linux-2.6] / include / linux / libata.h
index 6b3c3af2c75fe99b6bc3ecac974b8f6cf656081e..20b1cf527c609a575ff468b91f7a4106a8464a8b 100644 (file)
@@ -483,6 +483,7 @@ struct ata_eh_context {
 struct ata_port {
        struct Scsi_Host        *host;  /* our co-allocated scsi host */
        const struct ata_port_operations *ops;
+       spinlock_t              *lock;
        unsigned long           flags;  /* ATA_FLAG_xxx */
        unsigned int            id;     /* unique id req'd by scsi midlyr */
        unsigned int            port_no; /* unique port #; from zero */