commit | 150981b0306fc5773b929e31ab5b0590c87cc77c | [log] [tgz] |
---|---|---|
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | Tue Oct 23 16:50:02 2007 +0100 |
committer | Jeff Garzik <jeff@garzik.org> | Tue Oct 23 21:20:02 2007 -0400 |
tree | f1d76250c05026d742c2a75538977fc1a7dcf3b8 | |
parent | 2dcb407e61458ded17503d6bd12b8c064965368b [diff] |
libata-core: auditting chk_status v check_status Did a complete audit of these and found we have another error case. ata_bus_softreset calls ata_check_status which means that it tries to do an ioread8 on the port blindly and check versus 0xFF for an error. It should of course be using the ap->ops method for this via chk_status, and this bug causes a wrog status call on the NS87415 at least. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>