pata_cs5535: add pci id for AMD based CS5535 controllers
authorOtavio Salvador <otavio@ossystems.com.br>
Fri, 3 Jul 2009 14:22:42 +0000 (11:22 -0300)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 11 Sep 2009 06:31:31 +0000 (02:31 -0400)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/pata_cs5535.c
include/linux/pci_ids.h

index d33aa28239a93e39e07179cea995bbc5038590ec..403f56165cecd50674bc29955d812436e34a2a9d 100644 (file)
@@ -202,7 +202,8 @@ static int cs5535_init_one(struct pci_dev *dev, const struct pci_device_id *id)
 }
 
 static const struct pci_device_id cs5535[] = {
-       { PCI_VDEVICE(NS, 0x002D), },
+       { PCI_VDEVICE(NS, PCI_DEVICE_ID_NS_CS5535_IDE), },
+       { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_CS5535_IDE), },
 
        { },
 };
index 900f40bdbb17c46cc71b96999999443c6f13d6f3..c8fdcadce4379e81ee4f3fa706e79667151aabb9 100644 (file)
 #define PCI_DEVICE_ID_AMD_8131_BRIDGE  0x7450
 #define PCI_DEVICE_ID_AMD_8131_APIC    0x7451
 #define PCI_DEVICE_ID_AMD_8132_BRIDGE  0x7458
+#define PCI_DEVICE_ID_AMD_CS5535_IDE    0x208F
 #define PCI_DEVICE_ID_AMD_CS5536_ISA    0x2090
 #define PCI_DEVICE_ID_AMD_CS5536_FLASH  0x2091
 #define PCI_DEVICE_ID_AMD_CS5536_AUDIO  0x2093