qemu-irix/hw/ide
Aurelien Jarno 966444248f ide/atapi: add support for GET EVENT STATUS NOTIFICATION
The GET EVENT STATUS NOTIFICATION is a mandatory command according
to MMC-3, even if event status notification is not supported.

This patch adds support for this command. It returns NEA ("No Event
Available") with an empty "Supported Event Classes" to show that it
doesn't event support status notification. If asychronous operation is
requested, which requires NCQ support, it returns an error according
to the specifications.

This fixes HAL support on FreeBSD and derivatives, which fill up the
logs every second with:

  acd0: FAILURE - unknown CMD (0x03) ILLEGAL REQUEST asc=0x20 ascq=0x00

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
(cherry picked from commit 253cb7b990)

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2010-07-28 14:04:24 -05:00
..
cmd646.c pci: don't overwrite multi functio bit in pci header type. 2010-07-11 20:00:56 +03:00
core.c ide/atapi: add support for GET EVENT STATUS NOTIFICATION 2010-07-28 14:04:24 -05:00
internal.h ide: fix migration in the middle of pio operation 2010-07-26 16:19:51 -05:00
isa.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
macio.c Merge remote branch 'kwolf/for-anthony' into staging 2010-07-06 10:48:01 -05:00
microdrive.c Merge remote branch 'kwolf/for-anthony' into staging 2010-07-06 10:48:01 -05:00
mmio.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
pci.c ide: fix migration in the middle of a bmdma transfer 2010-07-26 16:19:51 -05:00
pci.h ide: port pci ide to vmstate 2009-10-27 12:28:46 -05:00
piix.c pci: don't overwrite multi functio bit in pci header type. 2010-07-11 20:00:56 +03:00
qdev.c ide: Make ide_init_drive() return success 2010-07-06 17:05:49 +02:00
via.c pci/multi function bit: fix vt82c686.c. 2010-07-12 18:36:02 +02:00