From 569fa65ddd6dd8ab6a38e21c66b1fbd2648b1a61 Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Sat, 30 Apr 2011 11:56:04 +0000 Subject: [PATCH] Call the DDR FIFO flush method when IP2 interrupts occur. --- sys/mips/atheros/ar71xx_pci.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/mips/atheros/ar71xx_pci.c b/sys/mips/atheros/ar71xx_pci.c index 632270cb8e66..709d42e89f78 100644 --- a/sys/mips/atheros/ar71xx_pci.c +++ b/sys/mips/atheros/ar71xx_pci.c @@ -500,6 +500,9 @@ ar71xx_pci_intr(void *arg) continue; } + /* Flush DDR FIFO for IP2 */ + ar71xx_device_ddr_flush_ip2(); + /* TODO: frame instead of NULL? */ intr_event_handle(event, NULL); mips_intrcnt_inc(sc->sc_intr_counter[irq]);