From owner-freebsd-hackers Mon Jul 28 01:34:46 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id BAA18245 for hackers-outgoing; Mon, 28 Jul 1997 01:34:46 -0700 (PDT) Received: from dorotech.fr (mail.dorotech.fr [193.56.144.1]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id BAA18238 for ; Mon, 28 Jul 1997 01:34:41 -0700 (PDT) Received: from fritz.UUCP (uucp@localhost) by dorotech.fr (8.6.12/8.6.10) with UUCP id KAA21163; Mon, 28 Jul 1997 10:37:16 +0200 Received: from pchot4 by fritz.dorotech.fr (4.1/SMI-4.1) id AA02458; Mon, 28 Jul 97 10:15:52 +0200 Message-Id: <33DC5875.167EB0E7@dorotech.fr> Date: Mon, 28 Jul 1997 08:29:41 +0000 From: Patrice BLEUZE X-Mailer: Mozilla 2.0 (X11; I; FreeBSD 2.2.1-RELEASE i386) Mime-Version: 1.0 To: Vinay Bannai Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Where is cdevsw_add ?? References: <199707251829.LAA19660@agni.nuko.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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