Commit e1a0e47f authored by Aurelien Jarno's avatar Aurelien Jarno

escc: fix IRQ routing, broken by 6c319c82

The logic of Zilog makes channel B the first device and channel A the
second one.
Signed-off-by: default avatarAurelien Jarno <>
parent dea21e97
......@@ -743,8 +743,8 @@ int escc_init(target_phys_addr_t base, qemu_irq irqA, qemu_irq irqB,
qdev_prop_set_uint32(dev, "chnAtype", ser);
s = sysbus_from_qdev(dev);
sysbus_connect_irq(s, 0, irqA);
sysbus_connect_irq(s, 1, irqB);
sysbus_connect_irq(s, 0, irqB);
sysbus_connect_irq(s, 1, irqA);
if (base) {
sysbus_mmio_map(s, 0, base);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment