qemu/hw/ide
John Snow 159a9df021 ide: fix enum comparison for gcc 4.7
Apparently GCC gets bent over comparing enum values against zero.
Replace the conditional with something less readable.

Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20170921013821.1673-1-jsnow@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2017-09-22 13:23:53 +01:00
..
ahci_internal.h AHCI: Rework IRQ constants 2017-09-18 19:41:11 -04:00
ahci.c ide: fix enum comparison for gcc 4.7 2017-09-22 13:23:53 +01:00
atapi.c IDE: replace DEBUG_AIO with trace events 2017-09-18 15:01:26 -04:00
cmd646.c IDE: replace DEBUG_IDE with tracing system 2017-09-18 15:01:25 -04:00
core.c ide: fix enum comparison for gcc 4.7 2017-09-22 13:23:53 +01:00
ich.c ahci: split public and private interface 2017-07-18 11:47:57 -04:00
isa.c Use #include "..." for our own headers, <...> for others 2016-07-12 16:19:16 +02:00
macio.c macio: switch over to new byte-aligned DMA helpers 2016-10-27 16:29:13 -04:00
Makefile.objs hw: make all of hw/ide/ configurable via default-configs/ 2013-04-08 18:13:12 +02:00
microdrive.c hw/ide/microdrive: Mark the dscm1xxxx device with user_creatable = false 2017-09-18 15:01:25 -04:00
mmio.c Use #include "..." for our own headers, <...> for others 2016-07-12 16:19:16 +02:00
pci.c IDE: replace DEBUG_IDE with tracing system 2017-09-18 15:01:25 -04:00
piix.c IDE: replace DEBUG_IDE with tracing system 2017-09-18 15:01:25 -04:00
qdev.c hw/ide: Convert DeviceClass init to realize 2017-09-18 19:43:38 -04:00
trace-events AHCI: pretty-print FIS to buffer instead of stderr 2017-09-18 19:41:11 -04:00
via.c IDE: replace DEBUG_IDE with tracing system 2017-09-18 15:01:25 -04:00