freebsd-nq/sys/dev
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
..
aic7xxx Fix the long dreaded Wide bug and enable WIDEODD for reads. 1995-11-07 05:31:28 +00:00
bktr Kernel components of Matrox Meteor driver. 1995-08-28 17:03:18 +00:00
cy Added `#include "ioconf.h"' to <machine/conf.h> and cleaned up the 1995-11-04 17:08:13 +00:00
de From Matt Thomas: 1995-10-26 07:40:11 +00:00
dgb Moved prototypes for devswitch functions from conf.c and driver sources 1995-11-04 13:25:33 +00:00
ed Added `#include "ioconf.h"' to <machine/conf.h> and cleaned up the 1995-11-04 17:08:13 +00:00
eisa Modify the kdc_description for eisa0 to include the system board ID. 1995-11-10 01:32:12 +00:00
ep Added `#include "ioconf.h"' to <machine/conf.h> and cleaned up the 1995-11-04 17:08:13 +00:00
fdc Added `#include "ioconf.h"' to <machine/conf.h> and cleaned up the 1995-11-04 17:08:13 +00:00
fe Added `#include "ioconf.h"' to <machine/conf.h> and cleaned up the 1995-11-04 17:08:13 +00:00
ic Cleanup, make things static. 1995-10-31 18:41:49 +00:00
ie Reviewed by: julian and jhay@mikom.csir.co.za 1995-10-26 20:31:59 +00:00
joy Actually, 97 out of 304 devsw functions had benignly mismatched types. 1995-09-08 19:57:13 +00:00
kbd Change fkey 63 from ^[[K to ^[[~. 1995-03-28 21:30:13 +00:00
lnc Cleanup, make things static. 1995-10-31 18:41:49 +00:00
mcd Moved prototypes for devswitch functions from conf.c and driver sources 1995-11-04 13:25:33 +00:00
mse Added `#include "ioconf.h"' to <machine/conf.h> and cleaned up the 1995-11-04 17:08:13 +00:00
pci Fixed bug where wrong thing was being checked for NULL before calling 1995-10-02 13:43:11 +00:00
ppbus Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
rc Added `#include "ioconf.h"' to <machine/conf.h> and cleaned up the 1995-11-04 17:08:13 +00:00
scd Moved prototypes for devswitch functions from conf.c and driver sources 1995-11-04 13:25:33 +00:00
si Sync the public source with what I'm currently running. 1995-11-09 21:53:48 +00:00
sio Added `#include "ioconf.h"' to <machine/conf.h> and cleaned up the 1995-11-04 17:08:13 +00:00
snp Second batch of cleanup changes. 1995-10-29 15:33:36 +00:00
speaker Fixed init functions argument type - caddr_t -> void *. Fixed a couple of 1995-09-09 18:10:37 +00:00
syscons Changed the first (name) arg of MOD_DEV(), MOD_EXEC() and MOD_MISC() 1995-11-14 07:35:57 +00:00
vn Moved prototypes for devswitch functions from conf.c and driver sources 1995-11-04 13:25:33 +00:00