diff options
author | Hervé Poussineau <hpoussin@reactos.org> | 2011-07-02 17:23:00 +0200 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2011-07-02 18:50:19 +0000 |
commit | 75ef849696830fc2ddeff8bb90eea5887ff50df6 (patch) | |
tree | 7c4f7291ecf4631a2301370a3e61b28a6fc64fac | |
parent | f74b32dec96b3298d0b33a76190ad8ea2db02869 (diff) |
esp: correctly fill bus id with requested lun
This bug showed up after 1455084ea2c48abf23c4e4e15e378ee43457f381, and
may be seen only on operating systems *not* using DMA to give commands
to SCSI adapter.
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rw-r--r-- | hw/esp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -211,7 +211,7 @@ static uint32_t get_cmd(ESPState *s, uint8_t *buf) } else { dmalen = s->ti_size; memcpy(buf, s->ti_buf, dmalen); - buf[0] = 0; + buf[0] = buf[2] >> 5; } DPRINTF("get_cmd: len %d target %d\n", dmalen, target); |