Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Revert "pata_atiixp: Don't use unconnected secondary port on SB600/SB700"

This reverts commit 5946fdaee4ba449e8fbb5d403e1ed69437f916e8.

The original commit's assumption that the secondary port is
unconnected turns out to be false.

Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: Markku Pesonen <tourula@gmail.com>
Fixes: 5946fdaee4ba ("pata_atiixp: Don't use unconnected secondary port on SB600/SB700")
Cc: Darren Stevens <darren@stevens-zone.net>

-5
-5
drivers/ata/pata_atiixp.c
··· 278 278 }; 279 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 - 286 281 return ata_pci_bmdma_init_one(pdev, ppi, &atiixp_sht, NULL, 287 282 ATA_HOST_PARALLEL_SCAN); 288 283 }