Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Nov 1999 02:50:33 -0800
From:      "David O'Brien" <obrien@freebsd.org>
To:        Donn Miller <dmmiller@cvzoom.net>
Cc:        current@freebsd.org
Subject:   Re: Compiling drivers as lkm's
Message-ID:  <19991129025033.A67479@dragon.nuxi.com>
In-Reply-To: <Pine.BSF.4.20.9911290418060.19446-100000@lcb115.cvzoom.net>; from dmmiller@cvzoom.net on Mon, Nov 29, 1999 at 04:23:08AM -0500
References:  <Pine.BSF.4.20.9911290418060.19446-100000@lcb115.cvzoom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> Is there any kernel config option that can be used to link a driver to the
> kernel dynamically (LKM) instead of statically?  

LKM's are out-dated.  We now have the 2nd generation KLD (Kernel Loader)
modules.

> Of course, if anyone has any links or info on how to write a driver
> period, I'd like to know.

    /usr/share/examples/kld/*


> It seems like the best method to write, test, and debug a new driver would
> be to use lkm's, since you could just use kldload() and kldunload() to
> test the driver-in-progress instead of just rebooting.

Yes.
 
-- 
-- David    (obrien@NUXI.com)


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




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