freebsd-src/share/examples
Peter Dufault 0ddf9be1f0 Make MOD_* macros almost consistent:
Use the name argument almost the same in all LKM types.  Maintain
the current behavior for the external (e.g., modstat) name for DEV,
EXEC, and MISC types being #name ## "_mod" and SYCALL and VFS only
#name.  This is a candidate for change and I vote just the name without
the "_mod".

Change the DISPATCH macro to MOD_DISPATCH for consistency with the
other macros.

Add an LKM_ANON #define to eliminate the magic -1 and associated
signed/unsigned warnings.

Add MOD_PRIVATE to support wcd.c's poking around in the lkm structure.

Change source in tree to use the new interface.

Reviewed by:	Bruce Evans
1997-04-06 11:14:13 +00:00
..
cvsup Add ports-korean. 1997-03-06 06:05:22 +00:00
drivers Description of what the files in this directory do.. 1997-02-02 07:35:59 +00:00
etc arg... add back the "stray" `-' (it is used by indent) 1997-04-03 00:36:26 +00:00
find_interface Revert $FreeBSD$ to $Id$ 1997-02-22 14:13:04 +00:00
FreeBSD_version Revert $FreeBSD$ to $Id$ 1997-02-22 14:13:04 +00:00
ibcs2
lkm Make MOD_* macros almost consistent: 1997-04-06 11:14:13 +00:00
mdoc Remove some garbage text. 1997-04-02 00:09:14 +00:00
meteor Sweep through the tree fixing mmap() usage: 1997-01-16 21:58:40 +00:00
perfmon Revert $FreeBSD$ to $Id$ 1997-02-22 14:13:04 +00:00
printing Revert $FreeBSD$ to $Id$ 1997-02-22 14:13:04 +00:00
slattach -u unit-command example 1996-02-17 19:36:08 +00:00
sliplogin Changes to the SLIP support files to show how to do proxy ARP. 1996-08-03 05:43:40 +00:00
startslip Update to reflect new options 1995-09-15 20:15:10 +00:00
sunrpc Remove the -lrpclib, since it causes the build of these examples 1997-02-26 06:56:57 +00:00
sup Add ports-korean. 1997-03-06 06:18:51 +00:00
worm Amend the README to mention "dummy" feature. Nobody will read the 1996-11-06 13:54:35 +00:00
Makefile Revert $FreeBSD$ to $Id$ 1997-02-22 14:13:04 +00:00