ide: add IDE_DFLAG_NIEN_QUIRK device flag
[deliverable/linux.git] / drivers / ide / hpt366.c
index a2e9f6c65a938e12392752a209c9a91cf2003d78..7ce68ef6b904f0e29539342b3c661cfc296318c5 100644 (file)
@@ -727,7 +727,7 @@ static void hpt3xx_maskproc(ide_drive_t *drive, int mask)
        struct pci_dev  *dev    = to_pci_dev(hwif->dev);
        struct hpt_info *info   = hpt3xx_get_info(hwif->dev);
 
-       if (drive->quirk_list == 0)
+       if ((drive->dev_flags & IDE_DFLAG_NIEN_QUIRK) == 0)
                return;
 
        if (info->chip_type >= HPT370) {
This page took 0.023418 seconds and 5 git commands to generate.