Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Oct 2010 10:26:36 +0200
From:      David DEMELIER <demelier.david@gmail.com>
To:        Bob Hall <rjhjr0@gmail.com>, FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Little question about device driver name
Message-ID:  <AANLkTinaAdCFbR5h_k5AOZgMmMSz%2B4dhYTh_Qbx9iPFK@mail.gmail.com>
In-Reply-To: <20100924174943.GA4468@stainmore>
References:  <AANLkTim8F=d%2Bb6t8zVD55ofNFe%2BqU8fKMzYdbRazdF_h@mail.gmail.com> <20100924174943.GA4468@stainmore>

next in thread | previous in thread | raw e-mail | index | archive | help
2010/9/24 Bob Hall <rjhjr0@gmail.com>:
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinaAdCFbR5h_k5AOZgMmMSz%2B4dhYTh_Qbx9iPFK>