OSDN Git Service

libata: introduce ata_host->n_tags to avoid oops on SAS controllers
[android-x86/kernel.git] / include / linux / libata.h
index eec130a..cc82cfb 100644 (file)
@@ -547,6 +547,7 @@ struct ata_host {
        struct device           *dev;
        void __iomem * const    *iomap;
        unsigned int            n_ports;
+       unsigned int            n_tags;                 /* nr of NCQ tags */
        void                    *private_data;
        struct ata_port_operations *ops;
        unsigned long           flags;