freebsd-skq/lkm
dufault e62e4c624a 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
..
atapi Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
ccd Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
cd9660 Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
coff Make MOD_* macros almost consistent: 1997-04-06 10:49:22 +00:00
fdesc Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
fpu Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
gnufpu Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
ibcs2 Make MOD_* macros almost consistent: 1997-04-06 10:49:22 +00:00
if_disc Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
if_ppp Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
if_sl Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
if_tun Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
ip_mroute_mod Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
ipfw Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
joy Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
kernfs Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
linux Make MOD_* macros almost consistent: 1997-04-06 10:49:22 +00:00
mfs Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
msdos Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
nfs Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
nullfs Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
pcic Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
portal Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
procfs Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
qcam Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
syscons Make MOD_* macros almost consistent: 1997-04-06 11:14:13 +00:00
umapfs Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
union Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
wcd Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
Makefile Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
Makefile.inc Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00