Date: Thu, 1 Jun 2006 00:41:07 +0000 (UTC) From: Andrew Thompson <thompsa@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/etc devd.conf src/etc/rc.d devd src/sys/net if.c Message-ID: <200606010041.k510f7C6004201@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
thompsa 2006-06-01 00:41:07 UTC
FreeBSD src repository
Modified files:
etc devd.conf
etc/rc.d devd
sys/net if.c
Log:
Announce all interfaces to devd on attach/detach. This adds a new devctl
notification so all interfaces including pseudo are reported. When netif
creates the clones at startup devctl_disable has not been turned off yet so the
interfaces will not be initialised twice, enforce this by adding an explicit
order between rc.d/netif and rc.d/devd.
This change allows actions to taken in userland when an interface is cloned
and the pseudo interface will be automatically configured if a ifconfig_<int>=""
line exists in rc.conf.
Reviewed by: brooks
No objections on: net
Revision Changes Path
1.33 +10 -8 src/etc/devd.conf
1.9 +2 -2 src/etc/rc.d/devd
1.256 +2 -0 src/sys/net/if.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606010041.k510f7C6004201>
