33 lines
1.1 KiB
Diff
33 lines
1.1 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Patrick Yavitz <pyavitz@armbian.com>
|
|
Date: Fri, 21 Jun 2024 11:54:06 -0400
|
|
Subject: add spacemit patch set
|
|
|
|
source: https://gitee.com/bianbu-linux/linux-6.1
|
|
|
|
Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
|
|
---
|
|
drivers/ata/libata-pmp.c | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/drivers/ata/libata-pmp.c b/drivers/ata/libata-pmp.c
|
|
index 111111111111..222222222222 100644
|
|
--- a/drivers/ata/libata-pmp.c
|
|
+++ b/drivers/ata/libata-pmp.c
|
|
@@ -446,10 +446,11 @@ static void sata_pmp_quirks(struct ata_port *ap)
|
|
* otherwise. Don't try hard to recover it.
|
|
*/
|
|
ap->pmp_link[ap->nr_pmp_links - 1].flags |= ATA_LFLAG_NO_RETRY;
|
|
- } else if (vendor == 0x197b && (devid == 0x2352 || devid == 0x0325)) {
|
|
+ } else if (vendor == 0x197b && (devid == 0x2352 || devid == 0x0325 || devid == 0x0585)) {
|
|
/*
|
|
* 0x2352: found in Thermaltake BlackX Duet, jmicron JMB350?
|
|
* 0x0325: jmicron JMB394.
|
|
+ * 0x0325: jmicron JMB585.
|
|
*/
|
|
ata_for_each_link(link, ap, EDGE) {
|
|
/* SRST breaks detection and disks get misclassified
|
|
--
|
|
Armbian
|
|
|