]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit69d4f221b79b6402ba6734c2206de6afce8252d0
treeae7234824d8403e1cb430db6ba0adb1b5c816fba
parent112fcad718e01627fc4c21680f056eedb6bab52c
[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.
drivers/scsi/libata-core.c