summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/getwchar.c
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2006-07-20 04:18:45 +0000
committeryongari <yongari@FreeBSD.org>2006-07-20 04:18:45 +0000
commitdf16853b7f15bb79dfe2674396556d704ca0048a (patch)
treeb654ecb30412e6c83f342d2e9a78ce4b79b73d02 /lib/libc/stdio/getwchar.c
parent4865b8aa7c5208ebfd5e38819bfdd039fb24b56b (diff)
downloadFreeBSD-src-df16853b7f15bb79dfe2674396556d704ca0048a.zip
FreeBSD-src-df16853b7f15bb79dfe2674396556d704ca0048a.tar.gz
Since resetting hardware takes a very long time and results in link
renegotiation, we only initialize the hardware only when it is absolutely required. Process SIOCGIFADDR ioctl in em(4) when we know an IPv4 address is added. Handling SIOCGIFADDR in a driver is layering violation but it seems that there is no easy way without rewritting hardware initialization code to reduce settle time after reset. This should fix a long standing bug which didn't send ARP packet when interface address is changed or an alias address is added. Another effect of this fix is it doesn't need additional delays anymore when adding an alias address to the interface. While I'm here add a new if_flags into softc which remembers current prgroammed interface flags and make use of it when we have to program promiscuous mode. Tested by: Atanas <atanas AT asd DOT aplus DOT net> Analyzed by: rwatson Discussed with: -stable
Diffstat (limited to 'lib/libc/stdio/getwchar.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud