diff options
Diffstat (limited to 'sys/mips/atheros/ar724x_pci.c')
-rw-r--r-- | sys/mips/atheros/ar724x_pci.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/mips/atheros/ar724x_pci.c b/sys/mips/atheros/ar724x_pci.c index 854cd65..283bd9b 100644 --- a/sys/mips/atheros/ar724x_pci.c +++ b/sys/mips/atheros/ar724x_pci.c @@ -587,7 +587,6 @@ ar724x_pci_intr(void *arg) struct intr_event *event; uint32_t reg, irq, mask; - ar71xx_device_ddr_flush_ip2(); reg = ATH_READ_REG(AR724X_PCI_INTR_STATUS); mask = ATH_READ_REG(AR724X_PCI_INTR_MASK); @@ -604,6 +603,9 @@ ar724x_pci_intr(void *arg) return (FILTER_STRAY); } + /* Flush pending memory transactions */ + ar71xx_device_flush_ddr(AR71XX_CPU_DDR_FLUSH_PCIE); + /* TODO: frame instead of NULL? */ intr_event_handle(event, NULL); mips_intrcnt_inc(sc->sc_intr_counter[irq]); |