• A
    [libata] add ACPI cable detect API · e1ddb4b6
    Alan Cox 提交于
    Combined from two Alan Cox patches:
    
    1) libata: ACPI checks for 80wire cable
    
    We can use the ACPI mode information with several drivers as a hint to
    cable type. If the ACPI mode set by the BIOS is faster than UDMA33 then
    we know the BIOS thinks there are 80wire cables. If it doesn't set such a
    mode or it has no ACPI method then we get no further information and can
    rely on existing approaches
    
    Introduce the function headers needed. Null it out for non ACPI boxes
    Signed-off-by: NAlan Cox <alan@redhat.com>
    
    2) libata: ACPI checks for 80wire cable
    
    Provide actual methods for checking if the ACPI support thinks the cable
    is 80wire, or doesn't know
    Signed-off-by: NAlan Cox <alan@redhat.com>
    
    Combined into a single changeset and
    Signed-off-by: NJeff Garzik <jeff@garzik.org>
    e1ddb4b6
libata-acpi.c 15.4 KB