Skip to content
Commit e1ddb4b6 authored by Alan Cox's avatar Alan Cox Committed by Jeff Garzik
Browse files

[libata] add ACPI cable detect API



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: default avatarAlan 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: default avatarAlan Cox <alan@redhat.com>

Combined into a single changeset and
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 6d32d30f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment