aboutsummaryrefslogtreecommitdiff
path: root/hw/ne2000.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/ne2000.c')
-rw-r--r--hw/ne2000.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/ne2000.c b/hw/ne2000.c
index 63edf03526..e9ad6f9f81 100644
--- a/hw/ne2000.c
+++ b/hw/ne2000.c
@@ -146,6 +146,10 @@ static void ne2000_update_irq(NE2000State *s)
{
int isr;
isr = s->isr & s->imr;
+#if defined(DEBUG_NE2000)
+ printf("NE2000: Set IRQ line %d to %d (%02x %02x)\n",
+ s->irq, isr ? 1 : 0, s->isr, s->imr);
+#endif
if (isr)
pic_set_irq(s->irq, 1);
else