mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-18 05:28:36 -07: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
|
|
@ -379,7 +379,7 @@ static void lance_init(NICInfo *nd, target_phys_addr_t leaddr,
|
|||
s = sysbus_from_qdev(dev);
|
||||
sysbus_mmio_map(s, 0, leaddr);
|
||||
sysbus_connect_irq(s, 0, irq);
|
||||
*reset = qdev_get_irq_sink(dev, 0);
|
||||
*reset = qdev_get_gpio_in(dev, 0);
|
||||
}
|
||||
|
||||
static void sun4m_hw_init(const struct sun4m_hwdef *hwdef, ram_addr_t RAM_size,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue