qemu-e2k/hw/ide
Aurelien Jarno 253cb7b990 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>
2010-07-26 13:39:39 +02: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-26 13:39:39 +02:00
internal.h ide: Make ide_init_drive() return success 2010-07-06 17:05:49 +02: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 save/restore current transfer fields 2010-01-26 15:42:02 -06: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