• Jeff Garzik's avatar
    [libata] fix legacy IDE probing · 0f0d5192
    Jeff Garzik authored
    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.
    0f0d5192
libata-core.c 118 KB