|
53 | 53 |
|
54 | 54 | enum {
|
55 | 55 | AHCI_PCI_BAR_STA2X11 = 0,
|
| 56 | + AHCI_PCI_BAR_ENMOTUS = 2, |
56 | 57 | AHCI_PCI_BAR_STANDARD = 5,
|
57 | 58 | };
|
58 | 59 |
|
@@ -410,6 +411,9 @@ static const struct pci_device_id ahci_pci_tbl[] = {
|
410 | 411 | { PCI_VDEVICE(ASMEDIA, 0x0611), board_ahci }, /* ASM1061 */
|
411 | 412 | { PCI_VDEVICE(ASMEDIA, 0x0612), board_ahci }, /* ASM1062 */
|
412 | 413 |
|
| 414 | + /* Enmotus */ |
| 415 | + { PCI_DEVICE(0x1c44, 0x8000), board_ahci }, |
| 416 | + |
413 | 417 | /* Generic, PCI class code for AHCI */
|
414 | 418 | { PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID,
|
415 | 419 | PCI_CLASS_STORAGE_SATA_AHCI, 0xffffff, board_ahci },
|
@@ -1098,9 +1102,11 @@ static int ahci_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
|
1098 | 1102 | dev_info(&pdev->dev,
|
1099 | 1103 | "PDC42819 can only drive SATA devices with this driver\n");
|
1100 | 1104 |
|
1101 |
| - /* The Connext uses non-standard BAR */ |
| 1105 | + /* Both Connext and Enmotus devices use non-standard BARs */ |
1102 | 1106 | if (pdev->vendor == PCI_VENDOR_ID_STMICRO && pdev->device == 0xCC06)
|
1103 | 1107 | ahci_pci_bar = AHCI_PCI_BAR_STA2X11;
|
| 1108 | + else if (pdev->vendor == 0x1c44 && pdev->device == 0x8000) |
| 1109 | + ahci_pci_bar = AHCI_PCI_BAR_ENMOTUS; |
1104 | 1110 |
|
1105 | 1111 | /* acquire resources */
|
1106 | 1112 | rc = pcim_enable_device(pdev);
|
|
0 commit comments