freebsd-dev/lkm
Bruce Evans b3e24f9ce9 Changed the first (name) arg of MOD_DEV(), MOD_EXEC() and MOD_MISC()
from a string to an identifier so that it can be used to generate
declarations and strings.  It's much easier to stringize an identifier
than to identifize a string.  A uniform naming scheme must be used
for the automatically generated things to apply.  This is a feature.

Used the module identifer to generate prototypes for the module load,
unload and stat functions.  Removed the few prototypes for these that
already existed.

Used the module identifier to generate a unique struct tag in MOD_DEV().
This should probably be done for all the MOD_*() macros.

Moved the trailing semicolon from the MOD_*() macro definitions to the
macro invocations that didn't already (bogusly) have it.

Staticized the module load and unload functions.

Added function return types for the module load, unload and stat functions.

lkm/ibcs2/ibcs2.c:
Included <sys/sysproto.h> to get everything prototyped.
Cleaned up #includes.

lkm/ibcs2/ipfw.c:
Cleaned up #includes.

lkm/linux/linux.c:
The module name had to change from "linux_emulator" to "linux_mod" to
be automatically generated.
Cleaned up #includes.

lkm/syscons/*/*_saver.c:
Completed delcarations of function pointers.

sys/i386/isa/atapi.c:
The module name had to change from "atapi" to "atapi_mod" to be
automatically generated.

sys/i386/isa/wcd.c:
Used the fixed MOD_DEV().  This module has two devices and expanded the
macro in the source instead of fixing it.
The module names had to change from "wcd" and "rwcd" to "wcd_mod" and
"rwcd_mod" to be automatically generated.

sys/pccard/pcic.c:
The module name had to change from "pcic" to "pcic_mod" to be
automatically generated.
1995-11-14 07:35:57 +00:00
..
atapi Add extra export symbols for the ATAPI generic interface. 1995-10-28 17:46:58 +00:00
cd9660 Build LKMs for all ``easy'' filesystems. (lfs can be done, but it's more 1994-09-21 23:27:16 +00:00
coff Changed the first (name) arg of MOD_DEV(), MOD_EXEC() and MOD_MISC() 1995-11-14 07:35:57 +00:00
fdesc Build LKMs for all ``easy'' filesystems. (lfs can be done, but it's more 1994-09-21 23:27:16 +00:00
ibcs2 Changed the first (name) arg of MOD_DEV(), MOD_EXEC() and MOD_MISC() 1995-11-14 07:35:57 +00:00
if_disc The discard, tunnel, SLIP, and PPP network interface pseudo-devices 1995-03-20 19:25:49 +00:00
if_ppp Update if_ppp lkm to pull in the new files... 1995-10-31 20:54:15 +00:00
if_sl Forgot slcompress.c in SLIP module. 1995-03-20 19:31:47 +00:00
if_tun The discard, tunnel, SLIP, and PPP network interface pseudo-devices 1995-03-20 19:25:49 +00:00
ip_mroute_mod Per discussion on the mailing-lists, move LKMs from /sbin to /lkm, and 1994-09-16 20:24:29 +00:00
ipfw Changed the first (name) arg of MOD_DEV(), MOD_EXEC() and MOD_MISC() 1995-11-14 07:35:57 +00:00
kernfs Build LKMs for all ``easy'' filesystems. (lfs can be done, but it's more 1994-09-21 23:27:16 +00:00
linux Changed the first (name) arg of MOD_DEV(), MOD_EXEC() and MOD_MISC() 1995-11-14 07:35:57 +00:00
mfs Build LKMs for all ``easy'' filesystems. (lfs can be done, but it's more 1994-09-21 23:27:16 +00:00
msdos Removed redundant delcaration of msdosfs_denode.c from the SRCS line. 1995-03-03 18:33:04 +00:00
nfs Create NFS LKM. 1994-09-22 22:12:59 +00:00
nullfs Build LKMs for all ``easy'' filesystems. (lfs can be done, but it's more 1994-09-21 23:27:16 +00:00
pcic Revert to default entry point. 1995-10-15 17:00:49 +00:00
portal Build LKMs for all ``easy'' filesystems. (lfs can be done, but it's more 1994-09-21 23:27:16 +00:00
procfs Build LKMs for all ``easy'' filesystems. (lfs can be done, but it's more 1994-09-21 23:27:16 +00:00
socksys Remove trailing whitespace. 1995-05-30 06:12:45 +00:00
syscons Changed the first (name) arg of MOD_DEV(), MOD_EXEC() and MOD_MISC() 1995-11-14 07:35:57 +00:00
umapfs Build LKMs for all ``easy'' filesystems. (lfs can be done, but it's more 1994-09-21 23:27:16 +00:00
union Build LKMs for all ``easy'' filesystems. (lfs can be done, but it's more 1994-09-21 23:27:16 +00:00
wcd atapi and wcd LKMs. 1995-10-14 15:47:29 +00:00
Makefile Reattach atapi and wcd to the lkm Makefile, these compile for me now. 1995-10-28 17:46:03 +00:00
Makefile.inc Per discussion on the mailing-lists, move LKMs from /sbin to /lkm, and 1994-09-16 20:24:29 +00:00