- For 350 chips, don't set various INTR bits in TX control word; turning INTR
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 23 May 2008 15:34:03 +0000 (15:34 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 23 May 2008 15:34:03 +0000 (15:34 +0000)
commit7a2a04db44efafea257db883ae3eb5e4ebf2ece9
treefde1a101a47f46556b3fd1e6bd80b364529b85a7
parent07424787985341049294309c2e1f9e53ac8eee3a
- For 350 chips, don't set various INTR bits in TX control word; turning INTR
  bits on seems to confuse hardware TX engine
- For 350 chips, set TX desc's buffer physical address before turning on the
  TX desc valid bit
- In an_start, set IFF_OACTIVE, if there is no free TX desc called; this avoids
  confusing functions which schedule ifnet.if_start
- Minor style and white space changes

Submitted-by: Jost Tobias Springenberg <jspringe@uos.de>
sys/dev/netif/an/if_an.c
sys/dev/netif/an/if_anreg.h