diff options
| -rw-r--r-- | drivers/ata/pata_atiixp.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/ata/pata_atiixp.c b/drivers/ata/pata_atiixp.c index 49d705c9f0f7..6c9aa95a9a05 100644 --- a/drivers/ata/pata_atiixp.c +++ b/drivers/ata/pata_atiixp.c | |||
| @@ -278,6 +278,11 @@ static int atiixp_init_one(struct pci_dev *pdev, const struct pci_device_id *id) | |||
| 278 | }; | 278 | }; |
| 279 | const struct ata_port_info *ppi[] = { &info, &info }; | 279 | const struct ata_port_info *ppi[] = { &info, &info }; |
| 280 | 280 | ||
| 281 | /* SB600/700 don't have secondary port wired */ | ||
| 282 | if ((pdev->device == PCI_DEVICE_ID_ATI_IXP600_IDE) || | ||
| 283 | (pdev->device == PCI_DEVICE_ID_ATI_IXP700_IDE)) | ||
| 284 | ppi[1] = &ata_dummy_port_info; | ||
| 285 | |||
| 281 | return ata_pci_bmdma_init_one(pdev, ppi, &atiixp_sht, NULL, | 286 | return ata_pci_bmdma_init_one(pdev, ppi, &atiixp_sht, NULL, |
| 282 | ATA_HOST_PARALLEL_SCAN); | 287 | ATA_HOST_PARALLEL_SCAN); |
| 283 | } | 288 | } |
