[PATCH] libata: add ap->pflags and move core dynamic flags to it
[sfrench/cifs-2.6.git] / drivers / scsi / sata_sil.c
index 7aabb45c35e58b6e62f243c37bebe3941c7249c8..70dbfb8a7d51c0dd17130e9206fca90f31f43505 100644 (file)
@@ -370,7 +370,7 @@ static void sil_host_intr(struct ata_port *ap, u32 bmdma2)
                 * during hardreset makes controllers with broken SIEN
                 * repeat probing needlessly.
                 */
-               if (!(ap->flags & ATA_FLAG_FROZEN)) {
+               if (!(ap->pflags & ATA_PFLAG_FROZEN)) {
                        ata_ehi_hotplugged(&ap->eh_info);
                        ap->eh_info.serror |= serror;
                }