From owner-cvs-src@FreeBSD.ORG Mon May 3 06:48:35 2004 Return-Path: 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 B723716A4DE; Mon, 3 May 2004 06:48:35 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 78BCF43D5E; Mon, 3 May 2004 06:48:35 -0700 (PDT) (envelope-from andre@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i43DmZGe020416; Mon, 3 May 2004 06:48:35 -0700 (PDT) (envelope-from andre@repoman.freebsd.org) Received: (from andre@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i43DmZpU020415; Mon, 3 May 2004 06:48:35 -0700 (PDT) (envelope-from andre) Message-Id: <200405031348.i43DmZpU020415@repoman.freebsd.org> From: Andre Oppermann Date: Mon, 3 May 2004 06:48:35 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/mii mii.c src/sys/net if.h if_var.h if_vlan.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 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: Mon, 03 May 2004 13:48:35 -0000 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