[PATCH] pata_atiixp: Fix IDE detection on SB7xx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Commit: 5946fdaee4ba(pata_atiixp: Don't use unconnected secondary port on
SB600/SB700) disabled the check for secondary ports on AMD SB700/710/750

While these chips have only 1 IDE port, it can be reconfigured on SB7xx
to appear as a secondary channel, especially when 'Legacy IDE emulation'
is enabled, breaking IDE detection on some boards with this chipset.

Fix by removing the check for SB7xx.

Fixes: 5946fdaee4ba(pata_atiixp: Don't use unconnected secondary port
on SB600/SB700)
Signed-off-by: Darren Stevens <Darren@xxxxxxxxxxxxxxxx>
---
 drivers/ata/pata_atiixp.c |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/ata/pata_atiixp.c b/drivers/ata/pata_atiixp.c
index 6c9aa95..843bb20 100644
--- a/drivers/ata/pata_atiixp.c
+++ b/drivers/ata/pata_atiixp.c
@@ -278,9 +278,8 @@ static int atiixp_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
    };
    const struct ata_port_info *ppi[] = { &info, &info };
 
-   /* SB600/700 don't have secondary port wired */
-   if ((pdev->device == PCI_DEVICE_ID_ATI_IXP600_IDE) ||
-       (pdev->device == PCI_DEVICE_ID_ATI_IXP700_IDE))
+   /* SB600 doesn't have secondary port wired */
+   if (pdev->device == PCI_DEVICE_ID_ATI_IXP600_IDE)
        ppi[1] = &ata_dummy_port_info;
 
    return ata_pci_bmdma_init_one(pdev, ppi, &atiixp_sht, NULL,
-- 
1.7.10.4


--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux