commit | 0f0d5192696eeb3072944a4a813809cc2c85891a | [log] [tgz] |
---|---|---|
author | Jeff Garzik <jgarzik@pobox.com> | Sun Oct 30 06:41:29 2005 -0500 |
committer | Jeff Garzik <jgarzik@pobox.com> | Sun Oct 30 06:41:29 2005 -0500 |
tree | ae7234824d8403e1cb430db6ba0adb1b5c816fba | |
parent | a7dac447bb9cef27d4d29cdf63e2d7809c50b1f4 [diff] |
[libata] fix legacy IDE probing 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.