qemu-patch-raspberry4/hw/ide
Kevin Wolf 7a2c4b8234 ide/atapi: Introduce CHECK_READY flag for commands
Some commands are supposed to report a Not Ready Condition (i.e. they require
a medium to be present in order to execute successfully). Instead of
duplicating the check in each command implementation, let's add a flag and
check it before calling the command.

This patch only converts existing checks, it does not introduce new checks for
any of the other commands that can/should report a Not Ready Condition.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2011-04-27 16:21:00 +02:00
..
ahci.c ahci: make number of ports runtime determined 2011-02-07 11:40:31 +01:00
ahci.h ahci: make number of ports runtime determined 2011-02-07 11:40:31 +01:00
atapi.c ide/atapi: Introduce CHECK_READY flag for commands 2011-04-27 16:21:00 +02:00
cmd646.c ide: Fix build for cmd646.c 2010-12-17 19:57:21 +01:00
core.c ide: Split atapi.c out 2011-04-27 16:20:27 +02:00
ich.c Remove unused sysemu.h include directives 2011-04-15 18:25:41 +00:00
internal.h ide: Split atapi.c out 2011-04-27 16:20:27 +02:00
isa.c Remove unused sysemu.h include directives 2011-04-15 18:25:41 +00:00
macio.c Remove unused sysemu.h include directives 2011-04-15 18:25:41 +00:00
microdrive.c Remove unused sysemu.h include directives 2011-04-15 18:25:41 +00:00
mmio.c Remove unused sysemu.h include directives 2011-04-15 18:25:41 +00:00
pci.c Remove unused sysemu.h include directives 2011-04-15 18:25:41 +00:00
pci.h ide: Split out BMDMA code from ATA core 2010-12-17 16:11:01 +01:00
piix.c isa-bus: Remove bogus IRQ sharing check 2011-02-21 15:46:53 +01:00
qdev.c Add bootindex parameter to net/block/fd device 2010-12-11 21:32:46 +00:00
via.c isa-bus: Remove bogus IRQ sharing check 2011-02-21 15:46:53 +01:00