]> Git Repo - qemu.git/commit - include/scsi/constants.h
scsi-bus: Add MAINTENANCE_IN and MAINTENANCE_OUT SCSIRequest xfer and mode assignments
authorNicholas Bellinger <[email protected]>
Wed, 16 Jun 2010 13:43:06 +0000 (06:43 -0700)
committerKevin Wolf <[email protected]>
Tue, 22 Jun 2010 12:38:01 +0000 (14:38 +0200)
commitc7126d5b3216e57b4e388e3fd34faa785b8e4bd0
tree6e94b3f463b93566db776e91e1b22d8c85f84c78
parent01bedebaaf9bb04138e963740a9ee6d10e18830b
scsi-bus: Add MAINTENANCE_IN and MAINTENANCE_OUT SCSIRequest xfer and mode assignments

This patch updates hw/scsi-bus.c to add MAINTENANCE_IN and MAINTENANCE_OUT case in
scsi_req_length() for TYPE_ROM with MMC commands.  It also adds the MAINTENANCE_OUT
case in scsi_req_xfer_mode() to set SCSI_XFER_TO_DEV for outgoing write data.

Signed-off-by: Nicholas A. Bellinger <[email protected]>
Acked-by: Gerd Hoffmann <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
hw/scsi-bus.c
hw/scsi-defs.h
This page took 0.028104 seconds and 4 git commands to generate.