aboutsummaryrefslogtreecommitdiff
path: root/hpet.h
diff options
context:
space:
mode:
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-09 14:19:34 +0000
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-09 14:19:34 +0000
commit33256a25b3b31915b9038eefe7923c68bb034118 (patch)
treea31d440dffd8173bc9f9c39bcd8d09dec7f40d89 /hpet.h
parent9e472e101f37233f4e32d181d2fee29014c1cf2f (diff)
downloadqemu-33256a25b3b31915b9038eefe7923c68bb034118.zip
qemu-33256a25b3b31915b9038eefe7923c68bb034118.tar.gz
qemu-33256a25b3b31915b9038eefe7923c68bb034118.tar.bz2
Fix IDE DIAGNOSE for packet devices (Vincent Sanders)
The DIAGNOSE command in the qemu IDE implementation has an error when use dfor packet devices. The status register value is dependant on the drive being a packet device or not, this patch corrects the returned status. From the ATA/PI specification (V6 draft): "If the device implements the PACKET command feature set, the device SHALL clear bits 6,5,4,3,2 and 0 in the Status register to zero." A selection of physical devices have been checked and do conform to the specifications behaviour. Signed-off-by: Vincent Sanders <vince@simtec.co.uk> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5452 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hpet.h')
0 files changed, 0 insertions, 0 deletions