k1x: support PCIE-SATA JMB585 board

Change-Id: I7522a3dfd6d8b84f664362f6aeacbebf35810d09
This commit is contained in:
wancong
2024-02-01 13:52:51 +08:00
committed by zhangmeng
parent b9c3511ec5
commit 5cf52ed9c7
5 changed files with 10 additions and 5 deletions

View File

@@ -85,10 +85,11 @@ CONFIG_BLK_DEV_NVME=y
CONFIG_NVME_VERBOSE_ERRORS=y
CONFIG_SRAM=y
CONFIG_EEPROM_AT24=y
CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
# CONFIG_BLK_DEV_BSG is not set
# CONFIG_SCSI_LOWLEVEL is not set
CONFIG_ATA=y
CONFIG_SATA_AHCI=y
CONFIG_MD=y
CONFIG_MD_LINEAR=y
CONFIG_BCACHE=y

View File

@@ -85,10 +85,11 @@ CONFIG_BLK_DEV_NVME=y
CONFIG_NVME_VERBOSE_ERRORS=y
CONFIG_SRAM=y
CONFIG_EEPROM_AT24=y
CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
# CONFIG_BLK_DEV_BSG is not set
# CONFIG_SCSI_LOWLEVEL is not set
CONFIG_ATA=y
CONFIG_SATA_AHCI=y
CONFIG_MD=y
CONFIG_MD_LINEAR=y
CONFIG_BCACHE=y

View File

@@ -84,10 +84,11 @@ CONFIG_BLK_DEV_NVME=y
CONFIG_NVME_VERBOSE_ERRORS=y
CONFIG_SRAM=y
CONFIG_EEPROM_AT24=y
CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
# CONFIG_BLK_DEV_BSG is not set
# CONFIG_SCSI_LOWLEVEL is not set
CONFIG_ATA=y
CONFIG_SATA_AHCI=y
CONFIG_MD=y
CONFIG_MD_LINEAR=y
CONFIG_BCACHE=y

View File

@@ -217,10 +217,11 @@ CONFIG_BLK_DEV_NVME=y
CONFIG_NVME_VERBOSE_ERRORS=y
CONFIG_SRAM=y
CONFIG_EEPROM_AT24=y
CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
# CONFIG_BLK_DEV_BSG is not set
# CONFIG_SCSI_LOWLEVEL is not set
CONFIG_ATA=y
CONFIG_SATA_AHCI=y
CONFIG_MD=y
CONFIG_MD_LINEAR=y
CONFIG_BCACHE=y

View File

@@ -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