OSDN Git Service

hw/mips/jazz: create ESP device directly via qdev
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Wed, 13 Jun 2018 09:47:26 +0000 (10:47 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 28 Jun 2018 17:05:35 +0000 (19:05 +0200)
commit09eb69a573521b90cfa5b2c1c02e01adceb5405f
treef265ce0bceabcafb4a857a825a95f17f1eff2fe9
parente2c81a45101fdddfd47477a1805806f2c76639bf
hw/mips/jazz: create ESP device directly via qdev

MIPS jazz is the last user of the legacy esp_init() function so move creation
of the ESP device over to use qdev.

Note that the esp_reset and dma_enable qemu_irqs are currently unused and so
we do not wire these up and instead remove the variables to prevent the
compiler emitting unused variable warnings.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: <20180613094727.11326-2-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Tested-by: Hervé Poussineau <hpoussin@reactos.org>
hw/mips/mips_jazz.c