hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/include/linux/libata.h
....@@ -187,7 +187,7 @@
187187 ATA_LFLAG_NO_LPM = (1 << 8), /* disable LPM on this link */
188188 ATA_LFLAG_RST_ONCE = (1 << 9), /* limit recovery to one reset */
189189 ATA_LFLAG_CHANGED = (1 << 10), /* LPM state changed on this link */
190
- ATA_LFLAG_NO_DB_DELAY = (1 << 11), /* no debounce delay on link resume */
190
+ ATA_LFLAG_NO_DEBOUNCE_DELAY = (1 << 11), /* no debounce delay on link resume */
191191
192192 /* struct ata_port flags */
193193 ATA_FLAG_SLAVE_POSS = (1 << 0), /* host supports slave dev */
....@@ -260,6 +260,10 @@
260260 ATA_HOST_PARALLEL_SCAN = (1 << 2), /* Ports on this host can be scanned in parallel */
261261 ATA_HOST_IGNORE_ATA = (1 << 3), /* Ignore ATA devices on this host. */
262262
263
+ ATA_HOST_NO_PART = (1 << 4), /* Host does not support partial */
264
+ ATA_HOST_NO_SSC = (1 << 5), /* Host does not support slumber */
265
+ ATA_HOST_NO_DEVSLP = (1 << 6), /* Host does not support devslp */
266
+
263267 /* bits 24:31 of host->flags are reserved for LLD specific flags */
264268
265269 /* various lengths of time */
....@@ -293,7 +297,7 @@
293297 * advised to wait only for the following duration before
294298 * doing SRST.
295299 */
296
- ATA_TMOUT_PMP_SRST_WAIT = 5000,
300
+ ATA_TMOUT_PMP_SRST_WAIT = 10000,
297301
298302 /* When the LPM policy is set to ATA_LPM_MAX_POWER, there might
299303 * be a spurious PHY event, so ignore the first PHY event that