From owner-cvs-src@FreeBSD.ORG Thu Jun 1 00:42:38 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 22FB416A4C6; Thu, 1 Jun 2006 00:42:32 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E814B43D46; Thu, 1 Jun 2006 00:42:31 +0000 (GMT) (envelope-from thompsa@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k510f71Y004202; Thu, 1 Jun 2006 00:41:07 GMT (envelope-from thompsa@repoman.freebsd.org) Received: (from thompsa@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k510f7C6004201; Thu, 1 Jun 2006 00:41:07 GMT (envelope-from thompsa) Message-Id: <200606010041.k510f7C6004201@repoman.freebsd.org> From: Andrew Thompson Date: Thu, 1 Jun 2006 00:41:07 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/etc devd.conf src/etc/rc.d devd src/sys/net if.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jun 2006 00:42:57 -0000 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_="" 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