Date: Mon, 3 May 2004 06:48:35 -0700 (PDT) From: Andre Oppermann <andre@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/mii mii.c src/sys/net if.h if_var.h if_vlan.c Message-ID: <200405031348.i43DmZpU020415@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
andre 2004/05/03 06:48:35 PDT
FreeBSD src repository
Modified files:
sys/dev/mii mii.c
sys/net if.h if_var.h if_vlan.c
Log:
Link state change notification of ethernet media to the routing socket.
o Extend the if_data structure with an ifi_link_state field and
provide the corresponding defines for the valid states.
o The mii_linkchg() callback updates the ifi_link_state field
and calls rt_ifmsg() to notify listeners on the routing socket
in addition to the kqueue KNOTE.
o If vlans are configured on a physical interface notify and update
all vlan pseudo devices as well with the vlan_link_state() callback.
No objections by: sam, wpaul, ru, bms
Brucification by: bde
Revision Changes Path
1.18 +18 -4 src/sys/dev/mii/mii.c
1.86 +8 -0 src/sys/net/if.h
1.74 +1 -0 src/sys/net/if_var.h
1.59 +25 -0 src/sys/net/if_vlan.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405031348.i43DmZpU020415>
