qemu/hw
Nicholas Bellinger c7126d5b32 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 <nab@linux-iscsi.org>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2010-06-22 14:38:01 +02:00
..
ide block: Move error actions from DriveInfo to BlockDriverState 2010-06-15 09:41:59 +02:00
9p.h Move stdbool.h 2010-06-13 19:00:50 +01:00
a9mpcore.c
ac97.c
acpi_piix4.c acpi_piix4: save gpe and pci hotplug slot status 2010-06-14 15:46:28 -05:00
acpi.c Trim unnecessary includes 2010-05-15 17:36:13 +00:00
acpi.h Update to a hopefully more future proof FSF address 2010-05-15 17:52:49 +00:00
adb.c
adlib.c
ads7846.c
alpha_palcode.c
an5206.c
apb_pci.c blockdev: Collect block device code in new blockdev.c 2010-06-04 15:20:47 +02:00
apb_pci.h
apic.c apic: qdev conversion cleanup 2010-06-19 07:47:42 +00:00
apic.h apic: qdev conversion cleanup 2010-06-19 07:47:42 +00:00
apm.c Trim unnecessary includes 2010-05-15 17:36:13 +00:00
apm.h
arm11mpcore.c
arm_boot.c arm: fix arm kernel boot for non zero start addr 2010-05-31 19:40:41 +02:00
arm_gic.c
arm_pic.c
arm_sysctl.c
arm_timer.c arm_timer: fix oneshot mode 2010-05-21 12:00:22 +02:00
arm-misc.h
armv7m_nvic.c
armv7m.c
audiodev.h
axis_dev88.c cris: Break out image loading to hw/cris-boot.c. 2010-06-10 14:45:46 +02:00
baum.c
baum.h
bitbang_i2c.c
bitbang_i2c.h
blizzard_template.h
blizzard.c
boards.h
bt-hci-csr.c
bt-hci.c
bt-hid.c
bt-l2cap.c
bt-sdp.c
bt.c
bt.h
cbus.c
cdrom.c
cirrus_vga_rop2.h
cirrus_vga_rop.h
cirrus_vga.c vmstate: fix breakage by 7e72abc382 2010-05-22 08:39:13 +00:00
cris_pic_cpu.c
cris-boot.c cris: Break out image loading to hw/cris-boot.c. 2010-06-10 14:45:46 +02:00
cris-boot.h cris: Break out image loading to hw/cris-boot.c. 2010-06-10 14:45:46 +02:00
cs4231.c
cs4231a.c
cuda.c
debugcon.c
dec_pci.c
dec_pci.h
device-hotplug.c blockdev: Collect block device code in new blockdev.c 2010-06-04 15:20:47 +02:00
devices.h
dma.c Compile dma only once 2010-05-22 08:00:52 +00:00
dp8393x.c
ds1225y.c
ds1338.c
dummy_m68k.c
e1000_hw.h
e1000.c Change #define DEBUG to #define E1000_DEBUG in hw/e1000.c 2010-06-14 10:58:08 -05:00
ecc.c
eccmemctl.c
eepro100.c Move stdbool.h 2010-06-13 19:00:50 +01:00
eeprom93xx.c
eeprom93xx.h
elf_ops.h microblaze: Handle new elf mach nr for sysemu. 2010-05-24 11:14:04 +02:00
empty_slot.c
empty_slot.h
es1370.c
escc.c
escc.h
esp.c esp: lower IRQ on soft reset 2010-06-10 17:57:39 +00:00
esp.h
etraxfs_dma.c
etraxfs_dma.h
etraxfs_eth.c
etraxfs_pic.c
etraxfs_ser.c etrax-ser: Support the uart rx fifo. 2010-06-14 18:41:12 +02:00
etraxfs_timer.c
etraxfs.c cris: Break out image loading to hw/cris-boot.c. 2010-06-10 14:45:46 +02:00
etraxfs.h
event_notifier.c
event_notifier.h
fdc.c Correct definitions for FD_CMD_SAVE and FD_CMD_RESTORE 2010-06-15 09:41:59 +02:00
fdc.h blockdev: Collect block device code in new blockdev.c 2010-06-04 15:20:47 +02:00
file-op-9p.h
firmware_abi.h
flash.h
fmopl.c
fmopl.h
framebuffer.c
framebuffer.h
fw_cfg.c
fw_cfg.h
g364fb.c
grackle_pci.c
gt64xxx.c Fix hw/gt64xxx.c compilation with DEBUG defined 2010-05-28 22:08:54 +02:00
gumstix.c arm: fix arm kernel boot for non zero start addr 2010-05-31 19:40:41 +02:00
gus.c
gusemu_hal.c
gusemu_mixer.c
gusemu.h
gustate.h
heathrow_pic.c
hpet_emul.h pass info about hpets to seabios.] 2010-06-14 11:12:53 -05:00
hpet.c Fix comparison which always returned false 2010-06-16 01:43:38 +04:00
hw.h Move stdbool.h 2010-06-13 19:00:50 +01:00
i2c.c
i2c.h
i8254.c
i8259.c i8259: improve debugging 2010-05-29 20:23:19 +00:00
ide.h
integratorcp.c
ioapic.c ioapic: convert to qdev 2010-06-19 07:41:43 +00:00
irq.c
irq.h
isa_mmio.c
isa-bus.c
isa.h Compile dma only once 2010-05-22 08:00:52 +00:00
jazz_led.c
lan9118.c blockdev: Collect block device code in new blockdev.c 2010-06-04 15:20:47 +02:00
lance.c
lm832x.c
loader.c
loader.h
lsi53c895a.c lsi: Fix value overflow in request tag processing 2010-05-22 15:32:32 +02:00
m48t59.c
mac_dbdma.c
mac_dbdma.h
mac_nvram.c
macio.c
mainstone.c arm: fix arm kernel boot for non zero start addr 2010-05-31 19:40:41 +02:00
mainstone.h
marvell_88w8618_audio.c
max111x.c
max7310.c
mc146818rtc.c hpet/rtc: Rework RTC IRQ replacement by HPET 2010-06-13 15:33:00 +03:00
mc146818rtc.h hpet/rtc: Rework RTC IRQ replacement by HPET 2010-06-13 15:33:00 +03:00
mcf5206.c
mcf5208.c
mcf_fec.c
mcf_intc.c
mcf_uart.c
mcf.h
microblaze_pic_cpu.c
mips_addr.c
mips_cpudevs.h
mips_int.c
mips_jazz.c hpet/rtc: Rework RTC IRQ replacement by HPET 2010-06-13 15:33:00 +03:00
mips_malta.c hpet/rtc: Rework RTC IRQ replacement by HPET 2010-06-13 15:33:00 +03:00
mips_mipssim.c hw: honor low bit in mipssim machine 2010-06-09 16:10:51 +02:00
mips_r4k.c hpet/rtc: Rework RTC IRQ replacement by HPET 2010-06-13 15:33:00 +03:00
mips_timer.c
mips-bios.h
mips.h
mipsnet.c
mpcore.c
msix.c Remove unused DEBUG defines from hw/msix.c 2010-06-14 10:58:08 -05:00
msix.h
msmouse.c
msmouse.h
mst_fpga.c
multiboot.c multiboot: compilation fix with DEBUG_MULTIBOOT enabled. 2010-06-10 16:49:28 +00:00
multiboot.h
musicpal.c musicpal: Drop redundant reset call 2010-05-28 21:48:47 +02:00
nand.c blockdev: Collect block device code in new blockdev.c 2010-06-04 15:20:47 +02:00
ne2000-isa.c
ne2000.c
ne2000.h
nseries.c arm: fix arm kernel boot for non zero start addr 2010-05-31 19:40:41 +02:00
nvram.h
omap1.c
omap2.c blockdev: Collect block device code in new blockdev.c 2010-06-04 15:20:47 +02:00
omap_clk.c
omap_dma.c
omap_dss.c
omap_i2c.c
omap_lcd_template.h
omap_lcdc.c
omap_mmc.c
omap_sx1.c arm: fix arm kernel boot for non zero start addr 2010-05-31 19:40:41 +02:00
omap.h
onenand.c blockdev: Collect block device code in new blockdev.c 2010-06-04 15:20:47 +02:00
openpic.c
openpic.h
palm.c arm: fix arm kernel boot for non zero start addr 2010-05-31 19:40:41 +02:00
parallel.c blockdev: Collect block device code in new blockdev.c 2010-06-04 15:20:47 +02:00
pc_piix.c ioapic: convert to qdev 2010-06-19 07:41:43 +00:00
pc.c apic: qdev conversion cleanup 2010-06-19 07:47:42 +00:00
pc.h ioapic: convert to qdev 2010-06-19 07:41:43 +00:00
pci_host.c
pci_host.h
pci_ids.h
pci_regs.h
pci-hotplug.c blockdev: Collect block device code in new blockdev.c 2010-06-04 15:20:47 +02:00
pci.c qdev: Revert the hack to let -net nic and pci_add set qdev ID 2010-06-14 15:46:28 -05:00
pci.h pci-hotplug: make them aware of pci domain. 2010-05-31 16:39:55 +03:00
pcie_host.c
pcie_host.h
pckbd.c pckbd: improve debugging 2010-05-22 07:59:06 +00:00
pcmcia.h blockdev: Collect block device code in new blockdev.c 2010-06-04 15:20:47 +02:00
pcnet.c
pcnet.h
pcspk.c
petalogix_s3adsp1800_mmu.c petlogix-3adsp: Tweak displacement of cmdline and fdt blob. 2010-06-07 11:53:09 +02:00
pflash_cfi01.c pflash_cfi01: add device ID read command 2010-05-21 11:52:08 +02:00
pflash_cfi02.c
piix4.c
piix_pci.c Fix overflow in i440fx_init() 2010-05-28 21:33:59 +02:00
pixel_ops.h
pl011.c
pl022.c
pl031.c
pl050.c
pl061.c
pl080.c
pl110_template.h
pl110.c
pl181.c qdev: Move declaration of qdev_init_bdrv() into qdev.h 2010-06-04 11:43:40 +02:00
pl190.c
pm_smbus.c Update to a hopefully more future proof FSF address 2010-05-15 17:52:49 +00:00
pm_smbus.h
ppc4xx_devs.c
ppc4xx_pci.c
ppc4xx.h
ppc405_boards.c
ppc405_uc.c
ppc405.h
ppc440_bamboo.c
ppc440.c
ppc440.h
ppc_mac.h
ppc_newworld.c
ppc_oldworld.c
ppc_prep.c hpet/rtc: Rework RTC IRQ replacement by HPET 2010-06-13 15:33:00 +03:00
ppc.c target-ppc: remove dead code 2010-05-18 21:12:54 +02:00
ppc.h
ppce500_mpc8544ds.c
ppce500_pci.c
ppce500.h
prep_pci.c
prep_pci.h
primecell.h
ps2.c
ps2.h
ptimer.c
pxa2xx_dma.c
pxa2xx_gpio.c
pxa2xx_keypad.c
pxa2xx_lcd.c
pxa2xx_mmci.c
pxa2xx_pcmcia.c
pxa2xx_pic.c
pxa2xx_template.h
pxa2xx_timer.c
pxa2xx.c
pxa.h
qdev-addr.c
qdev-addr.h
qdev-properties.c blockdev: Collect block device code in new blockdev.c 2010-06-04 15:20:47 +02:00
qdev.c Merge remote branch 'kwolf/for-anthony' into staging 2010-06-14 10:33:36 -05:00
qdev.h blockdev: Collect block device code in new blockdev.c 2010-06-04 15:20:47 +02:00
r2d.c
rc4030.c
realview_gic.c
realview.c
rtl8139.c
s390-virtio-bus.c
s390-virtio-bus.h
s390-virtio.c target-s390: add firmware code 2010-05-18 21:12:48 +02:00
sb16.c
sbi.c
scsi-bus.c scsi-bus: Add MAINTENANCE_IN and MAINTENANCE_OUT SCSIRequest xfer and mode assignments 2010-06-22 14:38:01 +02:00
scsi-defs.h scsi-bus: Add MAINTENANCE_IN and MAINTENANCE_OUT SCSIRequest xfer and mode assignments 2010-06-22 14:38:01 +02:00
scsi-disk.c block: Move error actions from DriveInfo to BlockDriverState 2010-06-15 09:41:59 +02:00
scsi-generic.c blockdev: Collect block device code in new blockdev.c 2010-06-04 15:20:47 +02:00
scsi.h
sd.c
sd.h
serial.c blockdev: Collect block device code in new blockdev.c 2010-06-04 15:20:47 +02:00
sh7750_regnames.c
sh7750_regnames.h
sh7750_regs.h
sh7750.c
sh_intc.c
sh_intc.h
sh_pci.c
sh_pci.h
sh_serial.c
sh_timer.c
sh.h
sharpsl.h
shix.c
slavio_intctl.c
slavio_misc.c
slavio_timer.c
sm501_template.h
sm501.c
smbios.c
smbios.h
smbus_eeprom.c
smbus.c
smbus.h
smc91c111.c
soc_dma.c
soc_dma.h
sparc32_dma.c sparc32 protect read-only bits in DMA CSR registers 2010-05-22 09:07:46 +00:00
sparc32_dma.h
spitz.c arm: fix arm kernel boot for non zero start addr 2010-05-31 19:40:41 +02:00
ssd0303.c
ssd0323.c
ssi-sd.c qdev: Move declaration of qdev_init_bdrv() into qdev.h 2010-06-04 11:43:40 +02:00
ssi.c
ssi.h
stellaris_enet.c
stellaris_input.c
stellaris.c
sun4c_intctl.c
sun4m_iommu.c
sun4m.c Pad iommu with an empty slot (necessary for SunOS 4.1.4) 2010-05-29 08:20:55 +00:00
sun4m.h
sun4u.c sparc64: clean up pci bridge map 2010-05-26 19:14:21 +00:00
syborg_fb.c
syborg_interrupt.c
syborg_keyboard.c
syborg_pointer.c
syborg_rtc.c
syborg_serial.c
syborg_timer.c
syborg_virtio.c
syborg.c
syborg.h
sysbus.c
sysbus.h
tc6393xb_template.h
tc6393xb.c
tc58128.c
tcx.c
tmp105.c
tosa.c arm: fix arm kernel boot for non zero start addr 2010-05-31 19:40:41 +02:00
tsc210x.c
tsc2005.c
tusb6010.c
twl92230.c
unin_pci.c
usb-bt.c
usb-bus.c
usb-hid.c un-register kbd driver in case of USB kbd unplug. 2010-06-14 15:46:28 -05:00
usb-hub.c
usb-msd.c blockdev: Collect block device code in new blockdev.c 2010-06-04 15:20:47 +02:00
usb-musb.c
usb-net.c
usb-ohci.c OHCI address decoding fix 2010-06-13 23:37:31 +01:00
usb-ohci.h
usb-serial.c
usb-uhci.c
usb-uhci.h
usb-wacom.c
usb.c
usb.h
versatile_pci.c
versatilepb.c
vga_int.h
vga_template.h
vga-isa-mm.c vga-isa-mm: remove one #ifdef CONFIG_BOCHS_VBE. 2010-06-10 16:48:32 +00:00
vga-isa.c
vga-pci.c
vga.c Fix %lld or %llx printf format use 2010-05-22 08:02:12 +00:00
vhost_net.c vhost_net.c: v2 Fix build failure introduced by 0bfcd599e3 2010-05-27 18:57:31 +00:00
vhost_net.h
vhost.c
vhost.h
virtio-9p-debug.c
virtio-9p-debug.h
virtio-9p-local.c
virtio-9p.c
virtio-9p.h
virtio-balloon.c
virtio-balloon.h
virtio-blk.c block: Move error actions from DriveInfo to BlockDriverState 2010-06-15 09:41:59 +02:00
virtio-blk.h
virtio-console.c
virtio-net.c virtio-net: truncating packet 2010-06-07 17:23:04 +03:00
virtio-net.h Virtio-net: Replace the hardcode 6 with defined ETN_ALEN 2010-05-24 15:18:23 -05:00
virtio-pci.c blockdev: Collect block device code in new blockdev.c 2010-06-04 15:20:47 +02:00
virtio-serial-bus.c virtio-serial-bus: fix ports_map allocation on init 2010-06-01 12:53:09 -05:00
virtio-serial.h Move stdbool.h 2010-06-13 19:00:50 +01:00
virtio.c
virtio.h
vmmouse.c Compile pckbd only once 2010-05-22 07:59:01 +00:00
vmport.c
vmware_vga.c use new cursor struct + functions for vmware vga and sdl. 2010-05-24 15:18:24 -05:00
vmware_vga.h
watchdog.c
watchdog.h
wdt_i6300esb.c
wdt_ib700.c
wm8750.c
xen_backend.c
xen_backend.h xen: Fix build error due to missing include 2010-06-15 10:59:20 +02:00
xen_blkif.h
xen_common.h
xen_console.c
xen_devconfig.c
xen_disk.c
xen_domainbuild.c
xen_domainbuild.h
xen_machine_pv.c
xen_nic.c
xen.h
xenfb.c Move stdbool.h 2010-06-13 19:00:50 +01:00
xilinx_ethlite.c
xilinx_intc.c
xilinx_timer.c
xilinx_uartlite.c
xilinx.h
zaurus.c