diff options
author | Andrew Chew <achew@nvidia.com> | 2006-04-20 18:54:26 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-05-24 01:34:10 -0400 |
commit | 4c5c81613b0eb0dba97a8f312a2f1162f39fd47b (patch) | |
tree | 6d2a8b48efe47ea53877b8165e40dedd904a031d /drivers | |
parent | 26e27cd424554202d36f38ee35421143788da127 (diff) |
[PATCH] sata_nv: Add MCP61 support
Added MCP61 SATA support to sata_nv.
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ide/pci/amd74xx.c | 7 | ||||
-rw-r--r-- | drivers/scsi/sata_nv.c | 6 |
2 files changed, 11 insertions, 2 deletions
diff --git a/drivers/ide/pci/amd74xx.c b/drivers/ide/pci/amd74xx.c index b22ee5462318..6e9dbf4d8077 100644 --- a/drivers/ide/pci/amd74xx.c +++ b/drivers/ide/pci/amd74xx.c | |||
@@ -74,6 +74,7 @@ static struct amd_ide_chip { | |||
74 | { PCI_DEVICE_ID_NVIDIA_NFORCE_MCP04_IDE, 0x50, AMD_UDMA_133 }, | 74 | { PCI_DEVICE_ID_NVIDIA_NFORCE_MCP04_IDE, 0x50, AMD_UDMA_133 }, |
75 | { PCI_DEVICE_ID_NVIDIA_NFORCE_MCP51_IDE, 0x50, AMD_UDMA_133 }, | 75 | { PCI_DEVICE_ID_NVIDIA_NFORCE_MCP51_IDE, 0x50, AMD_UDMA_133 }, |
76 | { PCI_DEVICE_ID_NVIDIA_NFORCE_MCP55_IDE, 0x50, AMD_UDMA_133 }, | 76 | { PCI_DEVICE_ID_NVIDIA_NFORCE_MCP55_IDE, 0x50, AMD_UDMA_133 }, |
77 | { PCI_DEVICE_ID_NVIDIA_NFORCE_MCP61_IDE, 0x50, AMD_UDMA_133 }, | ||
77 | { PCI_DEVICE_ID_AMD_CS5536_IDE, 0x40, AMD_UDMA_100 }, | 78 | { PCI_DEVICE_ID_AMD_CS5536_IDE, 0x40, AMD_UDMA_100 }, |
78 | { 0 } | 79 | { 0 } |
79 | }; | 80 | }; |
@@ -488,7 +489,8 @@ static ide_pci_device_t amd74xx_chipsets[] __devinitdata = { | |||
488 | /* 14 */ DECLARE_NV_DEV("NFORCE-MCP04"), | 489 | /* 14 */ DECLARE_NV_DEV("NFORCE-MCP04"), |
489 | /* 15 */ DECLARE_NV_DEV("NFORCE-MCP51"), | 490 | /* 15 */ DECLARE_NV_DEV("NFORCE-MCP51"), |
490 | /* 16 */ DECLARE_NV_DEV("NFORCE-MCP55"), | 491 | /* 16 */ DECLARE_NV_DEV("NFORCE-MCP55"), |
491 | /* 17 */ DECLARE_AMD_DEV("AMD5536"), | 492 | /* 17 */ DECLARE_NV_DEV("NFORCE-MCP61"), |
493 | /* 18 */ DECLARE_AMD_DEV("AMD5536"), | ||
492 | }; | 494 | }; |
493 | 495 | ||
494 | static int __devinit amd74xx_probe(struct pci_dev *dev, const struct pci_device_id *id) | 496 | static int __devinit amd74xx_probe(struct pci_dev *dev, const struct pci_device_id *id) |
@@ -525,7 +527,8 @@ static struct pci_device_id amd74xx_pci_tbl[] = { | |||
525 | { PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP04_IDE, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 14 }, | 527 | { PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP04_IDE, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 14 }, |
526 | { PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP51_IDE, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 15 }, | 528 | { PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP51_IDE, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 15 }, |
527 | { PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP55_IDE, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 16 }, | 529 | { PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP55_IDE, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 16 }, |
528 | { PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_CS5536_IDE, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 17 }, | 530 | { PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP61_IDE, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 17 }, |
531 | { PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_CS5536_IDE, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 18 }, | ||
529 | { 0, }, | 532 | { 0, }, |
530 | }; | 533 | }; |
531 | MODULE_DEVICE_TABLE(pci, amd74xx_pci_tbl); | 534 | MODULE_DEVICE_TABLE(pci, amd74xx_pci_tbl); |
diff --git a/drivers/scsi/sata_nv.c b/drivers/scsi/sata_nv.c index 70c51088d371..043ff4fd9ba7 100644 --- a/drivers/scsi/sata_nv.c +++ b/drivers/scsi/sata_nv.c | |||
@@ -140,6 +140,12 @@ static const struct pci_device_id nv_pci_tbl[] = { | |||
140 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, GENERIC }, | 140 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, GENERIC }, |
141 | { PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP55_SATA2, | 141 | { PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP55_SATA2, |
142 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, GENERIC }, | 142 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, GENERIC }, |
143 | { PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP61_SATA, | ||
144 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, GENERIC }, | ||
145 | { PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP61_SATA2, | ||
146 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, GENERIC }, | ||
147 | { PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP61_SATA3, | ||
148 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, GENERIC }, | ||
143 | { PCI_VENDOR_ID_NVIDIA, PCI_ANY_ID, | 149 | { PCI_VENDOR_ID_NVIDIA, PCI_ANY_ID, |
144 | PCI_ANY_ID, PCI_ANY_ID, | 150 | PCI_ANY_ID, PCI_ANY_ID, |
145 | PCI_CLASS_STORAGE_IDE<<8, 0xffff00, GENERIC }, | 151 | PCI_CLASS_STORAGE_IDE<<8, 0xffff00, GENERIC }, |