HardenedBSD/sys/dev
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
..
advansys
aic7xxx
ar
bktr
ccd
cy
de
dgb
ed
eisa
ep
ex
fdc
fe
fxp
ic
ie
joy Make MOD_* macros almost consistent: 1997-04-06 11:14:13 +00:00
kbd
lnc
mcd
mse
pci
pdq
ppbus
rc
scd
si
sio
snp
speaker
sr
syscons Make MOD_* macros almost consistent: 1997-04-06 11:14:13 +00:00
vn
vx