···576577 if (noacpi)578 return 0;0000000579580 for (ix = 0; ix < ATA_MAX_DEVICES; ix++) {581 if (!ata_dev_enabled(&ap->device[ix]))
···576577 if (noacpi)578 return 0;579+ /*580+ * TBD - implement PATA support. For now,581+ * we should not run GTF on PATA devices since some582+ * PATA require execution of GTM/STM before GTF.583+ */584+ if (!(ap->cbl == ATA_CBL_SATA))585+ return 0;586587 for (ix = 0; ix < ATA_MAX_DEVICES; ix++) {588 if (!ata_dev_enabled(&ap->device[ix]))