|
@@ -2353,6 +2353,18 @@ int ata_cable_unknown(struct ata_port *ap)
|
|
|
return ATA_CBL_PATA_UNK;
|
|
|
}
|
|
|
|
|
|
+/**
|
|
|
+ * ata_cable_ignore - return ignored PATA cable.
|
|
|
+ * @ap: port
|
|
|
+ *
|
|
|
+ * Helper method for drivers which don't use cable type to limit
|
|
|
+ * transfer mode.
|
|
|
+ */
|
|
|
+int ata_cable_ignore(struct ata_port *ap)
|
|
|
+{
|
|
|
+ return ATA_CBL_PATA_IGN;
|
|
|
+}
|
|
|
+
|
|
|
/**
|
|
|
* ata_cable_sata - return SATA cable type
|
|
|
* @ap: port
|
|
@@ -7665,4 +7677,5 @@ EXPORT_SYMBOL_GPL(ata_dev_try_classify);
|
|
|
EXPORT_SYMBOL_GPL(ata_cable_40wire);
|
|
|
EXPORT_SYMBOL_GPL(ata_cable_80wire);
|
|
|
EXPORT_SYMBOL_GPL(ata_cable_unknown);
|
|
|
+EXPORT_SYMBOL_GPL(ata_cable_ignore);
|
|
|
EXPORT_SYMBOL_GPL(ata_cable_sata);
|