From owner-cvs-src@FreeBSD.ORG Sun Jun 20 21:08:59 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 62F3716A4CE; Sun, 20 Jun 2004 21:08:59 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55D6843D48; Sun, 20 Jun 2004 21:08:59 +0000 (GMT) (envelope-from wpaul@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i5KL8xOR068421; Sun, 20 Jun 2004 21:08:59 GMT (envelope-from wpaul@repoman.freebsd.org) Received: (from wpaul@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i5KL8w06068420; Sun, 20 Jun 2004 21:08:58 GMT (envelope-from wpaul) Message-Id: <200406202108.i5KL8w06068420@repoman.freebsd.org> From: Bill Paul Date: Sun, 20 Jun 2004 21:08:58 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netgraph ng_fec.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: Sun, 20 Jun 2004 21:08:59 -0000 wpaul 2004-06-20 21:08:58 UTC FreeBSD src repository Modified files: sys/netgraph ng_fec.c Log: Remove one more unneeded reference to arpcom.ac_netgraph. Tweak things so that ng_fec has a chance of working with things other than ethernet. Use ifp->if_output of the underlying interfaces and use IF_HANDOFF() rather than depending on ether_output() and ether_output_frame() explicitly. Also, don't insist that underlying devices be IFM_ETHER when checking their link states in the link monitor code. With these changes, I was able to create a two channel bundle consisting of one ethernet interface and one 802.11 wireless device (via ndis). Note that this only works because both devices use the same if_output vector: ng_fec will not let you bundle devices with different output vectors together (it really doesn't make sense to do that). Revision Changes Path 1.11 +34 -10 src/sys/netgraph/ng_fec.c