bge: Add MSI support
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Mon, 9 Jul 2012 04:32:55 +0000 (12:32 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Thu, 12 Jul 2012 01:36:37 +0000 (09:36 +0800)
commit308dcd8e4bf44f8be637607e10a6c94290807fd3
tree314bc64074646592dce12a55f15d007b9f899baa
parentead166eb4dd3c39eebe6407577f577dee061c743
bge: Add MSI support

- Enable MSI on BCM5750+ chips.
- Enable "oneshot MSI", which does not require driver to disable interrupt
  in interrupt handler, on BCM5755+ and BCM5906 chips.

According-to: tg3

- Always clear INTxDIS in PCI command.

Obtained-from: FreeBSD
sys/dev/netif/bge/if_bge.c
sys/dev/netif/bge/if_bgereg.h
sys/dev/netif/bge/if_bgevar.h