Skip to contentSkip to conversation

Add AHCI support for ASM1062+JBM575 cards

PATCH In review István Pongrácz 2 participants 2 messages Oct 11, 2021 libata

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add AHCI support for ASM1062+JBM575 cards

---
 drivers/ata/ahci.c | 1 +
 1 file changed, 1 insertion(+)
drivers/ata/ahci.c +1 -0
index 186cbf90c8ea..97fd96b67731 100644
@@ -592,6 +592,7 @@ static const struct pci_device_id ahci_pci_tbl[] = {
 	{ PCI_VDEVICE(ASMEDIA, 0x0612), board_ahci },	/* ASM1062 */
 	{ PCI_VDEVICE(ASMEDIA, 0x0621), board_ahci },   /* ASM1061R */
 	{ PCI_VDEVICE(ASMEDIA, 0x0622), board_ahci },   /* ASM1062R */
+	{ PCI_VDEVICE(ASMEDIA, 0x0624), board_ahci },   /* ASM1062+JMB575 */
 
 	/*
 	 * Samsung SSDs found on some macbooks.  NCQ times out if MSI is
Signature · 1 line
2.20.1
#1 lore raw
Quoted 1 line · István Pongrácz

Getting there ! But you forgot to add a short commit message. You do not need much I think: simply describe the hardware being supported. I think this is a SATA expander card with port multiplier, right ?
So something like:

Add support for SATA expander card based on ASMedia blah controller chip.

Will be fine.

Quoted 17 lines
---
 drivers/ata/ahci.c | 1 +
 1 file changed, 1 insertion(+)
drivers/ata/ahci.c +1 -0
index 186cbf90c8ea..97fd96b67731 100644
@@ -592,6 +592,7 @@ static const struct pci_device_id ahci_pci_tbl[] = {
 	{ PCI_VDEVICE(ASMEDIA, 0x0612), board_ahci },	/* ASM1062 */
 	{ PCI_VDEVICE(ASMEDIA, 0x0621), board_ahci },   /* ASM1061R */
 	{ PCI_VDEVICE(ASMEDIA, 0x0622), board_ahci },   /* ASM1062R */
+	{ PCI_VDEVICE(ASMEDIA, 0x0624), board_ahci },   /* ASM1062+JMB575 */
 
 	/*
 	 * Samsung SSDs found on some macbooks.  NCQ times out if MSI is
Signature · 2 lines
Damien Le Moal
Western Digital Research