Report link states changes (link up/down and braudrate changes) through
commitba716bce1982aaf72abdbad9a9a5c1df905e514d
authorsephe <sephe>
Sat, 24 Mar 2007 05:57:49 +0000 (24 05:57 +0000)
committersephe <sephe>
Sat, 24 Mar 2007 05:57:49 +0000 (24 05:57 +0000)
treef7f723a52aae148e2bef8611e1f7ab3495a4bc3a
parentbef35df98582253a519efebc67df48e934cb67f9
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