qemu-patch-raspberry4/hw/ide
Paolo Bonzini 2c20ae11ad atapi: kill MODE SENSE(6), fix MODE SENSE(10)
Mode page 2A of emulated ATAPI DVD-ROM should have page length 0x14
like SCSI CD-ROM, rather than 0x12.

Mode page length is off by 8, as it should contain the length of the
payload after the first two bytes.

MODE SENSE(6) should be thrown out of ATAPI DVD-ROM emulation.  It is
not specified in the ATAPI list of MMC-2, and MMC-5 prescribes to use
MODE SENSE(10).  Anyway, its implementation is wrong.

Reported-by: Thomas Schmitt <scdbackup@gmx.net>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2011-11-18 13:54:32 +01:00
..
ahci.c ahci: fix DPRINTF format strings 2011-10-26 14:22:40 +01:00
ahci.h
atapi.c atapi: kill MODE SENSE(6), fix MODE SENSE(10) 2011-11-18 13:54:32 +01:00
cmd646.c
core.c atapi: implement eject requests 2011-11-11 14:02:57 +01:00
ich.c
internal.h atapi/scsi: unify definitions for MMC 2011-10-28 19:25:50 +02:00
isa.c
macio.c atapi/scsi: unify definitions for MMC 2011-10-28 19:25:50 +02:00
microdrive.c
mmio.c
pci.c PCI IDE: Use PCI DMA stub functions 2011-11-01 16:52:07 -05:00
pci.h
piix.c
qdev.c
via.c