bce(4): Flush BCE_PCICFG_INT_ACK_CMD in interrupt handler
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Mon, 29 Aug 2011 09:37:36 +0000 (17:37 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Mon, 29 Aug 2011 09:37:36 +0000 (17:37 +0800)
commit8bc839bcda8895974cd01bf671c2d5ea36f8ab80
treea9ca225082b437aa76e764c33bc5709e46f62ab8
parentd435571a44e4312d9f604571232dad19c5cfe9f7
bce(4): Flush BCE_PCICFG_INT_ACK_CMD in interrupt handler

This could avoid possible spurious interrupts due to the PCI write
to BCE_PCICFG_INT_ACK_CMD is still pending after we leave interrupt
handler.

Obtained-from: Linux bnx2
sys/dev/netif/bce/if_bce.c