diff options
author | Petr Vandrovec <petr@vandrovec.name> | 2007-07-20 07:44:44 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-07-20 07:44:44 -0400 |
commit | fe36cb53cfd82f3c0796a0826e1c9caf198c8f97 (patch) | |
tree | 81c85f1b6e8277ba075eae74e6dd4bec22106896 /include/asm-parisc/atomic.h | |
parent | f3a03b0934fb83a030ccd3e6f1fbe845a9c44d49 (diff) |
[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: Petr Vandrovec <petr@vandrovec.name>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include/asm-parisc/atomic.h')
0 files changed, 0 insertions, 0 deletions