Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jul 1997 08:29:41 +0000
From:      Patrice BLEUZE <fritz!pbl@dorotech.fr>
To:        Vinay Bannai <vinay@agni.nuko.com>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Where is cdevsw_add ??
Message-ID:  <33DC5875.167EB0E7@dorotech.fr>
References:  <199707251829.LAA19660@agni.nuko.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Vinay Bannai wrote:
> 
> Hi folks
> 
> I am trying to attach the upper half of my device driver to the cdevsw
> struct and most of the device drivers make a call to cdevsw_add() or
> bdevsw_add() to be included in the struct. Despite my etags and searches,
> I could not locate where cdevsw_add() or bdevsw_add() is defined? Is it a
> macro or a function??
> 
> Thanks
> Vinay
> --
> Vinay Bannai                     E-mail: vinay@agni.nuko.com
> (408)-526-0280 x 275 (Work)     http://agni.nuko.com/~vinay


This is a macro. See /usr/include/sys/conf.h.

pbl



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33DC5875.167EB0E7>