From owner-cvs-all@FreeBSD.ORG Tue Apr 29 01:07:45 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B2D4337B401; Tue, 29 Apr 2003 01:07:45 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F9E143F85; Tue, 29 Apr 2003 01:07:45 -0700 (PDT) (envelope-from harti@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h3T87j0U085542; Tue, 29 Apr 2003 01:07:45 -0700 (PDT) (envelope-from harti@repoman.freebsd.org) Received: (from harti@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h3T87jLB085540; Tue, 29 Apr 2003 01:07:45 -0700 (PDT) Message-Id: <200304290807.h3T87jLB085540@repoman.freebsd.org> From: Hartmut Brandt Date: Tue, 29 Apr 2003 01:07:45 -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/en midway.c src/sys/net if_atm.h if_atmsubr.c src/sys/pci if_en_pci.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Apr 2003 08:07:46 -0000 harti 2003/04/29 01:07:45 PDT FreeBSD src repository Modified files: sys/dev/en midway.c sys/net if_atm.h if_atmsubr.c sys/pci if_en_pci.c Log: Add module data and version to the atm_subr and reference this info from the (currently) only consumer (en). Add a sysctl node hw.atm where the atm drivers will hook on their hardware sysctl sub-trees. Make atm_ifattach call if_attach and remove the corresponding call to if_attach from en. Create atm_ifdetach and use that in en. While the last change actually changes the interface this is not a problem in practice because the only other consumer of this API is an older LANAI driver on the net, that is not ready for current anyway. Reviewed by: -atm Revision Changes Path 1.38 +2 -3 src/sys/dev/en/midway.c 1.7 +1 -0 src/sys/net/if_atm.h 1.25 +25 -1 src/sys/net/if_atmsubr.c 1.22 +5 -2 src/sys/pci/if_en_pci.c