- Add FXP_USABLE_TXCB, which equals (FXP_NTXCB - 1)
commit883c716a23fabfb1fd3e01e828c6997d70ffdb9d
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 15 Jun 2008 10:41:00 +0000 (15 10:41 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 15 Jun 2008 10:41:00 +0000 (15 10:41 +0000)
treef266de14d3fe542844c6fbd9f15d7d1e63874e1b
parent7b5b8bce1fbeae653b9435049fcc53094fac2be8
- Add FXP_USABLE_TXCB, which equals (FXP_NTXCB - 1)
- Turn off IFF_OACTIVE if queued TCBs is less than FXP_USABLE_TXCB
- Call if_devstart() in fxp_tick(), if ifnet.if_snd is not empty
- Remove unnecessary comment about ifnet.if_timer in fxp_init()
sys/dev/netif/fxp/if_fxp.c
sys/dev/netif/fxp/if_fxpvar.h