libahci: Add support to handle HOST_IRQ_STAT as edge trigger latch.
[firefly-linux-kernel-4.4.55.git] / drivers / ata / ahci.h
index 71262e08648e72d786cf8dca1f6bb338bee4375c..f4429600e2bfb8d6f9dd3962c2dfa99ac9bd55f4 100644 (file)
@@ -238,6 +238,8 @@ enum {
        AHCI_HFLAG_MULTI_MSI            = (1 << 16), /* multiple PCI MSIs */
        AHCI_HFLAG_NO_DEVSLP            = (1 << 17), /* no device sleep */
        AHCI_HFLAG_NO_FBS               = (1 << 18), /* no FBS */
+       AHCI_HFLAG_EDGE_IRQ             = (1 << 19), /* HOST_IRQ_STAT behaves as
+                                                       Edge Triggered */
 
        /* ap->flags bits */