From: Fabien Chouteau Date: Wed, 2 Apr 2014 14:49:32 +0000 (+0200) Subject: Fix typo in eTSEC Ethernet controller X-Git-Tag: v2.1.0-rc0~53^2~153 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d5843485894e30133ee0f70deda0f1118e539be4;p=thirdparty%2Fqemu.git Fix typo in eTSEC Ethernet controller IRQ are lowered when ievent bit is cleared, so irq_pulse makes no sense here... Signed-off-by: Fabien Chouteau Signed-off-by: Alexander Graf --- diff --git a/hw/net/fsl_etsec/rings.c b/hw/net/fsl_etsec/rings.c index e36cfbe76da..d4a494f6a3c 100644 --- a/hw/net/fsl_etsec/rings.c +++ b/hw/net/fsl_etsec/rings.c @@ -159,7 +159,7 @@ static void ievent_set(eTSEC *etsec, if ((flags & IEVENT_RXB && etsec->regs[IMASK].value & IMASK_RXBEN) || (flags & IEVENT_RXF && etsec->regs[IMASK].value & IMASK_RXFEN)) { - qemu_irq_pulse(etsec->rx_irq); + qemu_irq_raise(etsec->rx_irq); RING_DEBUG("%s Raise Rx IRQ\n", __func__); } }