Subject: Re: loading lkm's
To: current-users@NetBSD.ORG, Iain Hibbert <plunky@skate.demon.co.uk>
From: Matthias Drochner <drochner@zelux6.zel.kfa-juelich.de>
List: current-users
Date: 03/15/1997 12:31:55
Excerpts from netbsd: 14-Mar-97 loading lkm's Iain Hibbert@skate.demon (845*)

> Hi, I'm just starting to write a device driver and am trying to hack out a
> framework for it as an lkm so I can play without recompiling my kernel all
> the time. 

I have such a framework for more than a year.
I use it heavily and do little changes as new needs
arise, so you can call it usable.
(Parts went into the pcmcia patches.)
It's certainly not suitable to turn NetBSD into a
"completely dynamically configurable system", but
it is a great productivity increase for driver development.
The framework itself is a loadable module at this time,
but it requires some small kernel changes in the
autoconfiguration part and in the bus driver the loadable
drivers are attached to (I did this only for PCI and the busses
where I made the drivers myself - VME and VIC.).
If you are interested I'll explain in more detail.

best regards
Matthias Drochner