[libata] ahci: Add ASMedia ASM1061 support
authorKeng-Yu Lin <kengyu@canonical.com>
Wed, 9 Nov 2011 06:47:36 +0000 (01:47 -0500)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 9 Nov 2011 06:47:36 +0000 (01:47 -0500)
Signed-off-by: Keng-Yu Lin <kengyu@canonical.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/ahci.c
include/linux/pci_ids.h

index fb7b90b059226c7235c9c5a719fda26aeb6ba981..cf26222a93c5ddc7a88092ab9c7fcdf262a45ae1 100644 (file)
@@ -390,6 +390,9 @@ static const struct pci_device_id ahci_pci_tbl[] = {
        /* Promise */
        { PCI_VDEVICE(PROMISE, 0x3f20), board_ahci },   /* PDC42819 */
 
+       /* Asmedia */
+       { PCI_VDEVICE(ASMEDIA, 0x0612), board_ahci },   /* ASM1061 */
+
        /* Generic, PCI class code for AHCI */
        { PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID,
          PCI_CLASS_STORAGE_SATA_AHCI, 0xffffff, board_ahci },
index 3fdf251389defffd2a3bed1bfb7e1b97c4185655..172ba70306d1e77a4591a0474ad58c1df9460796 100644 (file)
 
 #define PCI_VENDOR_ID_AZWAVE           0x1a3b
 
+#define PCI_VENDOR_ID_ASMEDIA          0x1b21
+
 #define PCI_VENDOR_ID_TEKRAM           0x1de1
 #define PCI_DEVICE_ID_TEKRAM_DC290     0xdc29