NetBSD/sys/lkm
cube 4791863f66 Add 'pcilkm' module.
It is a layer to make it possible to have loadable PCI device drivers.

First you load (with symbols) the pcilkm module, then you can load PCI
drivers that have been compiled to work with pcilkm.

Two examples are provided.  'pcienum', the first one, is a simple
demonstration of how to use pcilkm:  it is the basic skeleton of a PCI
driver, and will attach at load time to all PCI devices known to the
system.

The second example 'auich' demonstrates how simple it is to use an
existing driver as a LKM.  It simply includes the code for auich(4) and
then adds the necessary pcilkm logic.  However there are some drawbacks
that are described in the README file.
2004-07-02 13:26:40 +00:00
..
arch Enhance the scripts to not use trampolines for symbols which are internal 2004-01-16 00:35:48 +00:00
compat Tweak sysctl setup functions (the macros, actually) for use in lkms, 2004-05-20 06:34:24 +00:00
dev Add 'pcilkm' module. 2004-07-02 13:26:40 +00:00
exec Sprinkle more COMPAT_NETBSD32 for good cheer. 2003-10-16 16:06:43 +00:00
misc Fix example lkms. The misc/example one was never converted to the new 2003-12-30 06:53:26 +00:00
net forgot to "cvs add". noted by Havard 2004-06-30 09:51:43 +00:00
netinet Set PATH and use ip_fil_netbsd.c 2004-03-28 09:37:14 +00:00
syscall Try to spell "NetBSD" correctly... 2003-12-30 07:08:08 +00:00
vfs Addition of header files for sysctl set function prototypes referenced 2004-05-25 01:36:37 +00:00
Makefile Alphabetize... 2004-01-20 04:55:46 +00:00
Makefile.inc
TODO DMA, not dma nor Dma. 2003-05-03 18:10:37 +00:00