Skip to contentSkip to conversation

Add AHCI support for ASM1062+JBM575 cards

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

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

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

Add support for PCIe SATA expander cards based on ASMedia 1062 + JBM575 controllers.
These cards can provide up to 10 or more SATA ports on one PCIe card.

---
 drivers/ata/ahci.c | 1 +
 1 file changed, 1 insertion(+)

Changes from v1: rework commit message to meet syntax and content requirements.

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 9 lines · István Pongrácz

Add support for PCIe SATA expander cards based on ASMedia 1062 + JBM575 controllers.
These cards can provide up to 10 or more SATA ports on one PCIe card.

---
 drivers/ata/ahci.c | 1 +
 1 file changed, 1 insertion(+)

Changes from v1: rework commit message to meet syntax and content requirements.

Almost ! This line must be the first one after "---" And put a blank line after it. After that, it is the patch proper. It should look like:

...

---
Changes from v1: rework commit message to meet syntax and content requirements.

 drivers/ata/ahci.c | 1 +
 1 file changed, 1 insertion(+)

...

Apart from that, this looks good.

Quoted 14 lines
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