[libata] fix legacy IDE probing
authorJeff Garzik <jgarzik@pobox.com>
Sun, 30 Oct 2005 11:41:29 +0000 (06:41 -0500)
committerJeff Garzik <jgarzik@pobox.com>
Sun, 30 Oct 2005 11:41:29 +0000 (06:41 -0500)
ata_pci_init_one() receives an array of struct ata_port_info.  Recent
updates to the code had always obtained port information from
array element 0, rather than array element N.

Change to avoid hardcoding port_info[0], thereby restoring proper
hardware information to secondary legacy ports.


No differences found