Skip to content
Commit fe36cb53 authored by Petr Vandrovec's avatar Petr Vandrovec Committed by Jeff Garzik
Browse files

[libata] Fix reported task file values in sense data



ata_tf_read was setting HOB bit when lba48 command was submitted, but
was not clearing it before reading "normal" data.  As it is only place
which sets HOB bit in control register, and register reads should not
be affected by other bits, let's just clear it when we are done with
reading upper bytes so non-48bit commands do not have to touch ctl
at all.

pata_scc suffered from same problem...

Signed-off-by: default avatarPetr Vandrovec <petr@vandrovec.name>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent f3a03b09
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