From owner-freebsd-current Mon Nov 29 1:23:54 1999 Delivered-To: freebsd-current@freebsd.org Received: from ns.cvzoom.net (ns.cvzoom.net [208.226.154.2]) by hub.freebsd.org (Postfix) with ESMTP id 1FB5314C58 for ; Mon, 29 Nov 1999 01:23:52 -0800 (PST) (envelope-from dmmiller@cvzoom.net) Received: from lcb115.cvzoom.net (lcb115.cvzoom.net [63.65.159.115]) by ns.cvzoom.net (8.9.3/8.9.3) with ESMTP id EAA07631 for ; Mon, 29 Nov 1999 04:04:40 -0500 (EST) Date: Mon, 29 Nov 1999 04:23:08 -0500 (EST) From: Donn Miller To: current@freebsd.org Subject: Compiling drivers as lkm's Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Is there any kernel config option that can be used to link a driver to the kernel dynamically (LKM) instead of statically? Also, I'd like to know how to write a driver as an lkm. Of course, if anyone has any links or info on how to write a driver period, I'd like to know. 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. - Donn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message