From owner-freebsd-questions@FreeBSD.ORG Sun Oct 3 08:26:37 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE4BB106566B for ; Sun, 3 Oct 2010 08:26:37 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6CDC08FC16 for ; Sun, 3 Oct 2010 08:26:37 +0000 (UTC) Received: by bwz15 with SMTP id 15so4056711bwz.13 for ; Sun, 03 Oct 2010 01:26:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=k7MZRsG9ANYDCWdVeSiT7Dn3AoxlTqOJsZuvVP1O+fw=; b=QiZOe0MTsQM+udiuKHBH3c8KTN0kn/T+PQ2sRNy6EKNjaRJdNiDgJTBX1n3lOhmbMJ R74yFVNBUXvZlvDCL1MPwMRoPyrC7Th6EM3mT9tkyR5y8iWKc+e5sd0ozrfZK8SL5LCf kIPb6sAp6iXM7OHdeX+vGfyyGLl+oKdp0aZVA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=O3B2cFMrFSEbOT9c1tqD1XzQsa8SSxG7DXu5SPZzopgQ20I5TodXjr78+6+cbOnWW2 pIEeeyTT9ReuGNG1gWN5gDSp9nEe2/XvoW3NE3L9yQPnOepB8TasnK+LarFfHFAIFdxm FWTlCfq1oDqas7z/DHPVtwGlh3EAKYLCRSbZo= MIME-Version: 1.0 Received: by 10.204.78.8 with SMTP id i8mr5689770bkk.176.1286094396387; Sun, 03 Oct 2010 01:26:36 -0700 (PDT) Received: by 10.204.97.208 with HTTP; Sun, 3 Oct 2010 01:26:36 -0700 (PDT) In-Reply-To: <20100924174943.GA4468@stainmore> References: <20100924174943.GA4468@stainmore> Date: Sun, 3 Oct 2010 10:26:36 +0200 Message-ID: From: David DEMELIER To: Bob Hall , FreeBSD Questions Content-Type: text/plain; charset=UTF-8 Cc: Subject: Re: Little question about device driver name X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Oct 2010 08:26:37 -0000 2010/9/24 Bob Hall : > On Fri, Sep 24, 2010 at 07:04:06PM +0200, David DEMELIER wrote: >> Hi folks, >> >> I just wonder why if_bridge(4) is prefixed by if_ for device name. >> Every other device name like lagg(4), gif(4) are not prefixed with >> this same one. > > if_bridge was based on bridge. I assume that when the updated if_bridge > was introduced, the earlier bridge was still available, so the author > needed some way to distinguish his new module from the earlier module. > > Type "man bridge" and check the Authors section. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > And is there driver bridge still available ? ./boot/powerpc/ofw/Makefile:# 64-bit bridge extensions ./boot/powerpc/ofw/Makefile:CFLAGS+= -Wa,-mppc64bridge ./modules/Makefile: bridgestp \ ./modules/Makefile: if_bridge \ ./modules/bridgestp/Makefile:# $FreeBSD: src/sys/modules/bridgestp/Makefile,v 1.3.2.1 2009/08/03 08:13:06 kensmith Exp $ ./modules/bridgestp/Makefile:KMOD= bridgestp ./modules/bridgestp/Makefile:SRCS= bridgestp.c ./modules/if_bridge/Makefile:# $FreeBSD: src/sys/modules/if_bridge/Makefile,v 1.6.10.1 2009/08/03 08:13:06 kensmith Exp $ ./modules/if_bridge/Makefile:KMOD= if_bridge ./modules/if_bridge/Makefile:SRCS= if_bridge.c opt_inet.h opt_inet6.h opt_carp.h ./modules/netgraph/Makefile: bridge \ ./modules/netgraph/bridge/Makefile:# $FreeBSD: src/sys/modules/netgraph/bridge/Makefile,v 1.3.36.1 2009/08/03 08:13:06 kensmith Exp $ ./modules/netgraph/bridge/Makefile:KMOD= ng_bridge ./modules/netgraph/bridge/Makefile:SRCS= ng_bridge.c I found netgraph/bridge but it's not the same thing. -- Demelier David