]> git.proxmox.com Git - mirror_qemu.git/commit
omap_intc: Qdevify
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 23 Sep 2011 09:44:38 +0000 (09:44 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 23 Sep 2011 09:44:38 +0000 (09:44 +0000)
commit0919ac787641db11024912651f3bc5764d4f1286
treefa2c3c45aa6e2dab88e724c50a042482ffdba461
parent53bb614ee344c2eb37cf5a79d56c945d7661fcf5
omap_intc: Qdevify

Convert the omap_intc devices to qdev. This includes adding
a 'revision' property which will be needed for omap3.

The bulk of this patch is the replacement of "s->irq[x][y]"
with  "qdev_get_gpio_in(s->ih[x], y)" now that the interrupt
controller exposes its input lines as qdev gpio inputs.

The devices are named "omap-intc" and "omap2-intc", following
the filename and the OMAP2/3 hardware names, although some
internal functions are still named "omap_inth_*".

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/nseries.c
hw/omap.h
hw/omap1.c
hw/omap2.c
hw/omap_intc.c