*BSD News Article 73541


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!vic.news.telstra.net!act.news.telstra.net!psgrain!newsfeed.internetmci.com!news.mathworks.com!zombie.ncsc.mil!newsgate.duke.edu!godot.cc.duq.edu!newsfeed.pitt.edu!scramble.lm.com!news.dhp.com!jaeger
From: jaeger@dhp.com (jaeger)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: LKM device driver example code
Date: 13 Jul 1996 03:52:19 GMT
Organization: DataHaven Project +1 412 421 4516 (DHP.COM)
Lines: 19
Message-ID: <4s76hj$ej3@dhp.com>
References: <4s57ri$5nt@dhp.com> <31E6941B.55F44155@lambert.org>
NNTP-Posting-Host: news.dhp.com
X-Newsreader: TIN [version 1.2 PL2+color]

Terry Lambert (terry@lambert.org) wrote:
: jaeger wrote:
: ] 
: ]         I'm looking at pulling some driver code from the kernel into a
: ] loadable kernel module (LKM).  My 2.1.0-R system has example code for
: ] "syscall" and "misc" LKMs, but not for the device type.
: ]         Example code or pointers to more information than the
: ] manpage would be most helpful.

: /usr/src/lkm

	I didn't have room on my drive for a user src tree when I installed.
This will be rectified when I upgrade to 2.1.5. In the meantime, I can not
find a src tree of 2.1.0, or anything besides -stable and -current for that
matter, up for download.  ftp.freebsd.org and ftp.uu.net seem to have only
-current and -stable.  Pointers to a source of sources would be most
welcomed.
:                                         Terry Lambert
-jaeger