mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 23:03:54 -06:00
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>
This commit is contained in:
parent
c2fb26379e
commit
067a3ddc88
18 changed files with 27 additions and 43 deletions
|
@ -2127,7 +2127,7 @@ static void lance_init(SysBusDevice *dev)
|
|||
|
||||
s->dma_opaque = qdev_get_prop_ptr(&dev->qdev, "dma");
|
||||
|
||||
qdev_init_irq_sink(&dev->qdev, parent_lance_reset, 1);
|
||||
qdev_init_gpio_in(&dev->qdev, parent_lance_reset, 1);
|
||||
|
||||
sysbus_init_mmio(dev, 4, s->mmio_index);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue