hw/esp.c does not properly deal with TEST_UNIT_READY in NetBSD/sparc
Bug #1014099 reported by
Martin Husemann
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The NetBSD ncr53c9x.c driver does a TEST_UNIT_READY command with SELATN but dma disabled sometimes (early during bus enumeration). This is fine, as the command will not produce nor consume any data, and works on real hardware.
However, the qemu emulation does not allow this (for reasons I don't understand).
The change below fixes the problem.
To post a comment you must log in.
Guess I understand the code now - so here is a working version - though it may be considered slightly hackish