freebsd_amp_hwpstate/sys
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
..
alpha
amd64 The entire sysctl callback to read/write version. I havn't tested this as 1995-11-12 19:52:09 +00:00
compat/linux
compile
conf
ddb
dev Changed the first (name) arg of MOD_DEV(), MOD_EXEC() and MOD_MISC() 1995-11-14 07:35:57 +00:00
fs Fixed getdirentries() on nfs mounted msdosfs's. No cookies were returned 1995-11-13 18:47:40 +00:00
gnu
i386 Changed the first (name) arg of MOD_DEV(), MOD_EXEC() and MOD_MISC() 1995-11-14 07:35:57 +00:00
isa
isofs/cd9660 Brought in the setattr call support from Lite-2 so that more correct error 1995-11-12 10:36:19 +00:00
kern Try to make my new scheme work more along the lines of the manual. 1995-11-13 13:54:09 +00:00
libkern
miscfs Removed unsed function dead_nullop(). 1995-11-11 03:36:07 +00:00
modules Changed the first (name) arg of MOD_DEV(), MOD_EXEC() and MOD_MISC() 1995-11-14 07:35:57 +00:00
msdosfs Fixed getdirentries() on nfs mounted msdosfs's. No cookies were returned 1995-11-13 18:47:40 +00:00
net Enhance the likelyhood that IPX over ppp will actually work.. :-) 1995-11-13 22:09:39 +00:00
netccitt
netinet
netipx
netiso
netns
nfs Included <sys/sysproto.h> to get central declarations for syscall args 1995-11-14 05:16:37 +00:00
nfsclient Included <sys/sysproto.h> to get central declarations for syscall args 1995-11-14 05:16:37 +00:00
nfsserver Included <sys/sysproto.h> to get central declarations for syscall args 1995-11-14 05:16:37 +00:00
pc98/pc98
pccard Changed the first (name) arg of MOD_DEV(), MOD_EXEC() and MOD_MISC() 1995-11-14 07:35:57 +00:00
pci
powerpc/include
rpc
scsi
sys Changed the first (name) arg of MOD_DEV(), MOD_EXEC() and MOD_MISC() 1995-11-14 07:35:57 +00:00
tools
ufs Included <sys/sysproto.h> to get central declarations for syscall args 1995-11-12 06:43:28 +00:00
vm Fixed up a comment and removed some #if 0'd code. 1995-11-13 10:53:38 +00:00
Makefile