diff options
author | Paul Brook <paul@codesourcery.com> | 2009-05-26 14:56:11 +0100 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2009-05-26 14:56:11 +0100 |
commit | 289c9e2bd68dd3248df68b60a8e980893be6b558 (patch) | |
tree | 1e0d067b7784874397b189947fde6f05dc3434ad /hw/axis_dev88.c | |
parent | 68c247e9c9798fcc7a74d62c2e9692419d6db2e3 (diff) | |
download | qemu-289c9e2bd68dd3248df68b60a8e980893be6b558.tar.gz qemu-289c9e2bd68dd3248df68b60a8e980893be6b558.tar.bz2 qemu-289c9e2bd68dd3248df68b60a8e980893be6b558.zip |
Remove qdev irq sink handling
We have both IRQ sinks and GPIO inputs. These are in principle exactly
the same thing, so remove the former.
Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'hw/axis_dev88.c')
-rw-r--r-- | hw/axis_dev88.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/axis_dev88.c b/hw/axis_dev88.c index 60b719b2f4..fc527cbecb 100644 --- a/hw/axis_dev88.c +++ b/hw/axis_dev88.c @@ -304,10 +304,10 @@ void axisdev88_init (ram_addr_t ram_size, sysbus_connect_irq(s, 0, cpu_irq[0]); sysbus_connect_irq(s, 1, cpu_irq[1]); for (i = 0; i < 30; i++) { - irq[i] = qdev_get_irq_sink(dev, i); + irq[i] = qdev_get_gpio_in(dev, i); } - nmi[0] = qdev_get_irq_sink(dev, 30); - nmi[1] = qdev_get_irq_sink(dev, 31); + nmi[0] = qdev_get_gpio_in(dev, 30); + nmi[1] = qdev_get_gpio_in(dev, 31); etraxfs_dmac = etraxfs_dmac_init(env, 0x30000000, 10); for (i = 0; i < 10; i++) { |