Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 May 2001 18:27:14 +0530
From:      "Jayesh Krishna" <jayeshkrishna@hotmail.com>
To:        julian@elischer.org
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Writing device drivers (was: help me please)
Message-ID:  <F55yLZ86BSqEMDpCnJ7000027fe@hotmail.com>

next in thread | raw e-mail | index | archive | help
hi,
    Thanx Julian for pointing me to the tunnel pseudo-driver.
    But my major concern was regarding linking the driver to the kernel( i 
am trying to use static linking stuff). I am presently doing
a major grep on "tun" 8-)
     It would be great if i could get some docs regding which files
have to be modified so that the kernel realises my driver. So far
i could figure out that the below files have to be modified( did i leave 
anything ????)

/usr/src/sys/i386/conf/*
/usr/src/sys/conf/majors
/usr/src/sys/conf/files

     Do i really have to modify the /usr/src/sys/modules/* files???

jayesh

>From: Julian Elischer <julian@elischer.org>
>To: Brian Somers <brian@Awfulhak.org>
>CC: Greg Lehey <grog@lemis.com>, Jayesh Krishna 
><jayeshkrishna@hotmail.com>,        freebsd-hackers@FreeBSD.ORG
>Subject: Re: Writing device drivers (was: help me please)
>Date: Thu, 10 May 2001 12:51:42 -0700
>
>Brian Somers wrote:
> >
> > > On Wednesday,  9 May 2001 at 10:40:50 +0530, Jayesh Krishna wrote:
> > > > Hi guys...
> > > > I am comfortable with Linux Device Drivers. Presently I am trying
> > > > to write some pseudo-drivers in FreeBSD(4.2-Release). I tried out
> > > > make_pseudo_driver.sh
> > > > in the /usr/share/examples/drivers but it does not work :-( I also
> > > > went through the "FreeBSD Device Driver Writer's Guide" by Eric L.
> > > > Hernes but it seems to be outdated :-(
> > > >     Please someone point me out to some docs regarding writing 
>device
> > > > drivers in FreeBSD....
> > >
> > > "UTSL".  Take a look at a similar driver and get to understand it.
> > > I'm afraid that this is an area which is woefully undocumented.
> > >
> > > You'll also get more replies if you put a useful text on the Subject:
> > > line.
> >
> > You should probably tell julian@ about the problems you have with
> > make_pseudo_driver.sh.
>
>The pseudo one is known to be WAYYYYYYY out of date...
>
>the other one there (make_device_driver.sh)
>is more or less up to date.
>
> >
> > > Greg
> > > --
> > > Finger grog@lemis.com for PGP public key
> > > See complete headers for address and phone numbers
> >
> > --
> > Brian <brian@Awfulhak.org>                        
><brian@[uk.]FreeBSD.org>
> >       <http://www.Awfulhak.org>;                   
><brian@[uk.]OpenBSD.org>
> > Don't _EVER_ lose your sense of humour !
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-hackers" in the body of the message
>
>--
>       __--_|\  Julian Elischer
>      /       \ julian@elischer.org
>     (   OZ    ) World tour 2000-2001
>---> X_.---._/
>             v

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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