diff options
author | Peer Chen <pchen@nvidia.com> | 2006-12-20 14:18:00 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-12-20 14:18:00 -0500 |
commit | 6fbf5ba461f5bd36e921627568aca20abc0e2abe (patch) | |
tree | cc2facc5ca1d96f1961bed551cbda434d6fd25d8 | |
parent | 73720861d211e2b23c3026c6adea6f758676c46f (diff) |
[libata] Move some PCI IDs from sata_nv to ahci
The content of memory map io of BAR5 have been change from MCP65 then
sata_nv can't work fine on the platform based on MCP65 and MCP67, so move
their IDs from sata_nv.c to ahci.c.
Signed-off-by: Peer Chen <pchen@nvidia.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
-rw-r--r-- | drivers/ata/ahci.c | 8 | ||||
-rw-r--r-- | drivers/ata/sata_nv.c | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c index dbae6d971041..b517d2493551 100644 --- a/drivers/ata/ahci.c +++ b/drivers/ata/ahci.c | |||
@@ -402,6 +402,14 @@ static const struct pci_device_id ahci_pci_tbl[] = { | |||
402 | { PCI_VDEVICE(NVIDIA, 0x044d), board_ahci }, /* MCP65 */ | 402 | { PCI_VDEVICE(NVIDIA, 0x044d), board_ahci }, /* MCP65 */ |
403 | { PCI_VDEVICE(NVIDIA, 0x044e), board_ahci }, /* MCP65 */ | 403 | { PCI_VDEVICE(NVIDIA, 0x044e), board_ahci }, /* MCP65 */ |
404 | { PCI_VDEVICE(NVIDIA, 0x044f), board_ahci }, /* MCP65 */ | 404 | { PCI_VDEVICE(NVIDIA, 0x044f), board_ahci }, /* MCP65 */ |
405 | { PCI_VDEVICE(NVIDIA, 0x045c), board_ahci }, /* MCP65 */ | ||
406 | { PCI_VDEVICE(NVIDIA, 0x045d), board_ahci }, /* MCP65 */ | ||
407 | { PCI_VDEVICE(NVIDIA, 0x045e), board_ahci }, /* MCP65 */ | ||
408 | { PCI_VDEVICE(NVIDIA, 0x045f), board_ahci }, /* MCP65 */ | ||
409 | { PCI_VDEVICE(NVIDIA, 0x0550), board_ahci }, /* MCP67 */ | ||
410 | { PCI_VDEVICE(NVIDIA, 0x0551), board_ahci }, /* MCP67 */ | ||
411 | { PCI_VDEVICE(NVIDIA, 0x0552), board_ahci }, /* MCP67 */ | ||
412 | { PCI_VDEVICE(NVIDIA, 0x0553), board_ahci }, /* MCP67 */ | ||
405 | { PCI_VDEVICE(NVIDIA, 0x0554), board_ahci }, /* MCP67 */ | 413 | { PCI_VDEVICE(NVIDIA, 0x0554), board_ahci }, /* MCP67 */ |
406 | { PCI_VDEVICE(NVIDIA, 0x0555), board_ahci }, /* MCP67 */ | 414 | { PCI_VDEVICE(NVIDIA, 0x0555), board_ahci }, /* MCP67 */ |
407 | { PCI_VDEVICE(NVIDIA, 0x0556), board_ahci }, /* MCP67 */ | 415 | { PCI_VDEVICE(NVIDIA, 0x0556), board_ahci }, /* MCP67 */ |
diff --git a/drivers/ata/sata_nv.c b/drivers/ata/sata_nv.c index 0d316eb3c214..f6d498e1cf80 100644 --- a/drivers/ata/sata_nv.c +++ b/drivers/ata/sata_nv.c | |||
@@ -270,14 +270,6 @@ static const struct pci_device_id nv_pci_tbl[] = { | |||
270 | { PCI_VDEVICE(NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP61_SATA), GENERIC }, | 270 | { PCI_VDEVICE(NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP61_SATA), GENERIC }, |
271 | { PCI_VDEVICE(NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP61_SATA2), GENERIC }, | 271 | { PCI_VDEVICE(NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP61_SATA2), GENERIC }, |
272 | { PCI_VDEVICE(NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP61_SATA3), GENERIC }, | 272 | { PCI_VDEVICE(NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP61_SATA3), GENERIC }, |
273 | { PCI_VDEVICE(NVIDIA, 0x045c), GENERIC }, /* MCP65 */ | ||
274 | { PCI_VDEVICE(NVIDIA, 0x045d), GENERIC }, /* MCP65 */ | ||
275 | { PCI_VDEVICE(NVIDIA, 0x045e), GENERIC }, /* MCP65 */ | ||
276 | { PCI_VDEVICE(NVIDIA, 0x045f), GENERIC }, /* MCP65 */ | ||
277 | { PCI_VDEVICE(NVIDIA, 0x0550), GENERIC }, /* MCP67 */ | ||
278 | { PCI_VDEVICE(NVIDIA, 0x0551), GENERIC }, /* MCP67 */ | ||
279 | { PCI_VDEVICE(NVIDIA, 0x0552), GENERIC }, /* MCP67 */ | ||
280 | { PCI_VDEVICE(NVIDIA, 0x0553), GENERIC }, /* MCP67 */ | ||
281 | { PCI_VENDOR_ID_NVIDIA, PCI_ANY_ID, | 273 | { PCI_VENDOR_ID_NVIDIA, PCI_ANY_ID, |
282 | PCI_ANY_ID, PCI_ANY_ID, | 274 | PCI_ANY_ID, PCI_ANY_ID, |
283 | PCI_CLASS_STORAGE_IDE<<8, 0xffff00, GENERIC }, | 275 | PCI_CLASS_STORAGE_IDE<<8, 0xffff00, GENERIC }, |