Searched hist:"16275 edb342342625cd7e7ac2048436474465b50" (Results 1 – 1 of 1) sorted by relevance
/qemu/hw/ide/ |
H A D | macio.c | 16275edb342342625cd7e7ac2048436474465b50 Fri Aug 05 07:30:02 UTC 2016 Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> macio: set res_count value to 0 after non-block ATAPI DMA transfers
res_count should be set to the number of outstanding bytes after a DBDMA request. Unfortunately this wasn't being set to zero by the non-block transfer codepath meaning drivers that checked the descriptor result for such requests (e.g reading the CDROM TOC) would assume from a non-zero result that the transfer had failed.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
|