• Jeff Garzik's avatar
    [libata] Add missing hooks, to avoid oops in advanced SATA drivers · d66bf085
    Jeff Garzik authored
    Advanced SATA drivers should not (and cannot) use the basic
    PCI IDE hooks for checking the Status and Error registers, as these
    registers are either in non-standard locations, or simply don't
    exist.
    
    In the error handling path, libata was unconditionally calling some
    PCI IDE hardware bitbanging functions, which would cause an oops
    in the AHCI driver and any other advanced libata driver.
    d66bf085
ahci.c 27.1 KB