- Make fwe(4) aware of IFF_POLLING setting in its if_init().
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 9 Sep 2007 09:14:38 +0000 (09:14 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 9 Sep 2007 09:14:38 +0000 (09:14 +0000)
commit1736eecdd57d88beb3e0844c8ca3d580313c31b4
tree780ec4c09a08864f92fe05f7d61752ea68d54df7
parentd132539aff32b37697a6cbf4181f0092943cbc39
- Make fwe(4) aware of IFF_POLLING setting in its if_init().
- Allow IFF_POLLING flag to be turned on even when the interface is not
  up yet, since after above fix, all drivers that support polling(4) will
  turn on/off interrupt in their if_init() based on IFF_POLLING.

This fixes the bug reported by many people that enabling "polling" in
rc.conf's ifconfig_ifaceX does not work.
sys/dev/netif/fwe/if_fwe.c
sys/kern/kern_poll.c