Commit Graph

87 Commits

Author SHA1 Message Date
bde
9bb31418ca Added or restored #include of <machine/md_var.h>. Some declarations
moved from <machine/cpufunc.h> to better places.
1996-07-01 20:29:10 +00:00
bde
b8c2fb8b02 Fixed the `machine' link. It pointed to the wrong place, and was created
too late to be used in all cases.  It should probably be created (early)
in bsd.kmod.mk for all LKMs.

Use cc instead of cpp | as for the same reasons as in the kernel makefile.
CFLAGS isn't split up as well as in the kernel makefile, but cc doesn't
pass compiler warning flags to cpp, so there is no need to split it.
1996-06-25 20:13:12 +00:00
bde
409ff1a42d Don't add -I/sys to CFLAGS. bsd.kmod.mk adds the correct (relative)
path.
1996-06-23 14:58:14 +00:00
bde
257142eab3 Don't claim to be a VFS_LKM - generate vnode_if.h by putting it in SRCS.
Don't add -I/sys to CFLAGS.  bsd.kmod.mk adds the correct (relative)
path.
1996-06-23 14:56:04 +00:00
bde
aa091470fa Don't (re)define ACTUALLY_LKM_NOT_KERNEL. It wasn't even used by the
joy driver proper.

Don't add -I/sys to CFLAGS.  bsd.kmod.mk adds the correct (relative)
path.
1996-06-23 14:52:20 +00:00
bde
47f6a0b7f6 Don't (re)define or use ACTUALLY_LKM_NOT_KERNEL - use the existing
definition of QCAM_MODULE for everything involving LKM'ness.

Makefile:
Don't add -I/sys to CFLAGS.  bsd.kmod.mk adds the correct (relative)
path.
1996-06-23 14:41:55 +00:00
bde
25b76806f9 Use IPFIREWALL_MODULE instead of ACTUALLY_LKM_NOT_KERNEL to indicate
LKM'ness.  ACTUALLY_LKM_NOT_KERNEL is supposed to be so ugly that it
only gets used until <machine/conf.h> goes away.  bsd.kmod.mk should
define a better-named general macro for this.  Some places use
PSEUDO_LKM.  This is another bad name.

Makefile:
Added IPFIREWALL_VERBOSE_LIMIT option (commented out).
1996-06-23 14:28:02 +00:00
bde
8241bb06bc Disabled unusable union lkm. 1996-06-23 13:31:20 +00:00
ache
a1148ae498 Add new parts, kernel not booted in other case 1996-06-18 16:58:44 +00:00
asami
e9b7deaae9 Add ccd. 1996-06-12 03:49:35 +00:00
asami
9857a188e9 This commit was generated by cvs2svn to compensate for changes in r16314,
which included commits to RCS files with non-trunk default branches.
1996-06-12 03:49:15 +00:00
asami
5fa86f4e0c A Makefile for a ccd lkm. You need to explicitly /sbin/modload it for
now.  Someday I'll add a hook to ccdconfig to do it automatically.
1996-06-12 03:49:15 +00:00
wosch
5c15c67589 `mv'' -> `mv -f''
``rm'' -> ``rm -f''
so mv/rm may not ask for confirmation if you are not root
1996-05-07 23:19:49 +00:00
pst
277ef027f8 Add in qcam module (forgot) 1996-03-24 00:30:38 +00:00
pst
061e354776 Add in both parts of the driver. LKM qcam driver now works. 1996-03-21 08:18:26 +00:00
pst
ef3bfda4b7 This commit was generated by cvs2svn to compensate for changes in r14640,
which included commits to RCS files with non-trunk default branches.
1996-03-16 22:06:26 +00:00
pst
9bb1b6140b Bring in support code to make QuickCam driver a LKM.
Stolen from: jmz
1996-03-16 22:06:26 +00:00
jmz
c27a7b28e7 Add joy to the SUBDIR list. 1996-03-16 01:43:26 +00:00
jmz
dfd18cf459 Build LKM for joystick driver. 1996-03-16 01:35:48 +00:00
peter
8bb0b9e3fc linux_interp now moved into sys/i386/linux/linux_sysvec.c, but still
connected at load and unload time from here.
1996-03-10 22:43:37 +00:00
sos
c345beb4bb First attempt at FreeBSD & Linux ELF support.
Compile and link a new kernel, that will give native ELF support, and
provide the hooks for other ELF interpreters as well.

To make native ELF binaries use John Polstras elf-kit-1.0.1..
For the time being also use his ld-elf.so.1 and put it in
/usr/libexec.

The Linux emulator has been enhanced to also run ELF binaries, it
is however in its very first incarnation.
Just get some Linux ELF libs (Slackware-3.0) and put them in the
prober place (/compat/linux/...).
I've ben able to run all the Slackware-3.0 binaries I've tried
so far.
(No it won't run quake yet :)
1996-03-10 08:42:54 +00:00
peter
89cbf58231 Update the linux lkm to use the new file list and build routine.
This is a bit of a kludge and needs more work.
1996-03-02 20:00:35 +00:00
phk
08c9f63769 Make the ipfw LKM work again.
This concludes this round of updates to ipfw, have at it!
1996-02-24 13:41:57 +00:00
mpp
404cd24098 Correct some man page cross references and some file
locations.
1996-02-05 17:32:16 +00:00
rgrimes
53deebea69 Add missing ${DESTDIR} to afterinstall: target. 1996-01-27 23:57:06 +00:00
peter
14a5084185 Attempt to fix the procfs LKM after making some of the procfs
code shared with ptrace and "standard" in the config.
1996-01-24 19:34:49 +00:00
peter
f2df8588b1 No longer generate empty opt_sysvipc.h, and no longer issue -DSYSVSHM etc
for the CFLAGS.  Now, it tracks whatever the booted kernel has rather than
being specifying what features your kernel has at lkm build time.
1996-01-08 05:36:17 +00:00
peter
5857a458e6 No longer generate empty opt_sysvipc.h.. 1996-01-08 05:33:26 +00:00
peter
73c4b7c9ad Detach fpu and gnufpu from Makefile.. These lkm's build (or used to)
but are not quite useable.  (fpu is used by init, and process switch
apparently..)
1996-01-06 23:15:40 +00:00
ache
84d32db8c6 Add opt_sysvipc.h rules similar as in ibcs2 Makefile
(make fails in old case)
1996-01-06 23:10:25 +00:00
wollman
78df01dac3 Automatically create an empty opt_sysvipc.h to mimic old option
environment.
1996-01-04 20:34:28 +00:00
peter
639da796bd recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
sos
a4490d722f Added SYSVSHM define 1995-12-29 22:10:49 +00:00
bde
0058fd8da8 Reformatted the list of broken modules and added ip_mroute_mod to it. 1995-12-16 21:19:18 +00:00
phk
b983e4b613 Two x87 emulators as LKMs.
If somebody with the right HW would make the change to /etc/rc to use
this, we could rip MATH_EMULATE from GENERIC...
1995-12-14 08:26:14 +00:00
wollman
7448c140a0 Delete obnoxious uprintf()s in load/unload procedures. 1995-11-29 20:10:33 +00:00
joerg
3e0e9304e0 Add Lyndon's man page.
Closes PR # docs/842

Submitted by:	lyndon@orthanc.com (Lyndon Nerenberg)
1995-11-28 21:12:06 +00:00
bde
f50f717db4 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
bde
7f2548e51a Replaced nosys() by lkm_nullcmd(). Always call lkm load/unload/stat
functions instead of skipping the call if the function is nosys().
nosys() returned the wrong value as well as having the wrong type.
1995-11-13 07:19:10 +00:00
peter
3bccf0de62 Update if_ppp lkm to pull in the new files... 1995-10-31 20:54:15 +00:00
peter
44209bf252 Add extra export symbols for the ATAPI generic interface.
And a couple of minor fiddles in the process..
1995-10-28 17:46:58 +00:00
peter
baf9903b6d Reattach atapi and wcd to the lkm Makefile, these compile for me now. 1995-10-28 17:46:03 +00:00
peter
d14f41309d Sorry.. I didn't mean to re-enable wcd yet 1995-10-28 13:28:16 +00:00
peter
22cdba1992 Do a pass over the broken LKM's and update them to use the "new"
convention of having their entry point named "<modname>_mod"".
Symorder is enforcing this when the current bsd.kmod.mk is installed.

I've not tested all these, but at least they all compile now.

Reattach them to the makefile.

Note that the change that I made to symorder needs to be compiled and
installed before any LKM's will work - the last version was corrupting
the relocation tables.  A "make world" will to this, but if you
manually run a make on the lkm's you'll need to take care of it by
hand.
1995-10-28 12:35:14 +00:00
ache
b727ba0c62 Temp. disable following modules:
atapi coff ibcs2 ipfw linux syscons wcd
(until they will be fixed)
It allows to build/install other modules from top
1995-10-28 02:49:46 +00:00
phk
f0613ec0de Revert to default entry point. 1995-10-15 17:00:49 +00:00
phk
18df18ef33 Only export our 'init' symbol. 1995-10-15 14:33:17 +00:00
dg
0582fe4908 atapi and wcd LKMs.
Submitted by:	Serge Vakulenko, <vak@cronyx.ru>
1995-10-14 15:47:29 +00:00
swallace
3502697ddf Remove socksys modload command from ibcs2 startup shell script. 1995-10-10 08:38:11 +00:00
swallace
c037486310 Remove socksys lkm from makefile list. 1995-10-10 08:23:13 +00:00