Report link states changes (link up/down and braudrate changes) through
commit8ef9d896db3e434bf218583a46d4249083100e9e
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 24 Mar 2007 05:57:49 +0000 (24 05:57 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 24 Mar 2007 05:57:49 +0000 (24 05:57 +0000)
tree977f21f6c6b64125e58f913a89122dd522cb3a81
parent4006028bca3f55d485ab7228bb61d2cccdd8b014
Report link states changes (link up/down and braudrate changes) through
routing socket.

Miibus(4) aware network drivers can benifit from this change without
adapatation.  Em(4), which is not miibus(4) aware, is adapted to support
this change.

Submitted-by: Hasso Tepper <hasso@estpak.ee>
Obtained-from: OpenBSD w/ modification
Reviewed-by: dillon@
sys/dev/netif/em/if_em.c
sys/dev/netif/mii_layer/mii_physubr.c
sys/net/if.c
sys/net/if.h
sys/net/if_media.c
sys/net/if_media.h
sys/net/if_var.h