Commit Graph

179 Commits

Author SHA1 Message Date
ache
a5b12d291e Add new parts, kernel not booted in other case 1996-06-18 16:58:44 +00:00
asami
e716f5104a Add ccd. 1996-06-12 03:49:35 +00:00
asami
025af31d9c 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
9f795376b3 `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
0398bd4a39 Add in qcam module (forgot) 1996-03-24 00:30:38 +00:00
pst
514b5c2840 Add in both parts of the driver. LKM qcam driver now works. 1996-03-21 08:18:26 +00:00
pst
a084148f20 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
6d4bf6f5df Add joy to the SUBDIR list. 1996-03-16 01:43:26 +00:00
jmz
7547786cc6 Build LKM for joystick driver. 1996-03-16 01:35:48 +00:00
peter
35ed39b537 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
7d151a09c3 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
744710a9af 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
0fc9e4e31d 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
27e5218d1c Correct some man page cross references and some file
locations.
1996-02-05 17:32:16 +00:00
rgrimes
cfeedcc0b6 Add missing ${DESTDIR} to afterinstall: target. 1996-01-27 23:57:06 +00:00
peter
be43fa0648 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
7d1993a61c 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
51c56db5b1 No longer generate empty opt_sysvipc.h.. 1996-01-08 05:33:26 +00:00
peter
74988655dc 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
64611dcc5e Add opt_sysvipc.h rules similar as in ibcs2 Makefile
(make fails in old case)
1996-01-06 23:10:25 +00:00
wollman
9414d04bd6 Automatically create an empty opt_sysvipc.h to mimic old option
environment.
1996-01-04 20:34:28 +00:00
peter
ab124e78b0 recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
sos
d965394a53 Added SYSVSHM define 1995-12-29 22:10:49 +00:00
bde
2b74cd6d7a Reformatted the list of broken modules and added ip_mroute_mod to it. 1995-12-16 21:19:18 +00:00
phk
30e263dcab 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
99860b9730 Delete obnoxious uprintf()s in load/unload procedures. 1995-11-29 20:10:33 +00:00
joerg
5ef5ed927e 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
b9f0e11d4a 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
4d0291b75b 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
2ad67f9eec Update if_ppp lkm to pull in the new files... 1995-10-31 20:54:15 +00:00
peter
563e4a17a4 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
6bfe6080d6 Reattach atapi and wcd to the lkm Makefile, these compile for me now. 1995-10-28 17:46:03 +00:00
peter
64c1570c78 Sorry.. I didn't mean to re-enable wcd yet 1995-10-28 13:28:16 +00:00
peter
cb39a8365e 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
f226018bb9 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
d63873130a Revert to default entry point. 1995-10-15 17:00:49 +00:00
phk
f06fa12b69 Only export our 'init' symbol. 1995-10-15 14:33:17 +00:00
dg
2c16cdc8fb atapi and wcd LKMs.
Submitted by:	Serge Vakulenko, <vak@cronyx.ru>
1995-10-14 15:47:29 +00:00
swallace
bff43db348 Remove socksys modload command from ibcs2 startup shell script. 1995-10-10 08:38:11 +00:00
swallace
d290ff1973 Remove socksys lkm from makefile list. 1995-10-10 08:23:13 +00:00
swallace
1bc48af2f7 Add prototypes and declare function return type in ibcs2.c
Add new files to Makefile.
1995-10-10 08:20:28 +00:00
peter
2b7d20007c Update the version in the snake saver...
Something similar needs to happen to RELENG_2_1_0 - or better yet, this
should become dynamic...
1995-09-04 03:02:08 +00:00
phk
7ccb38e01e Remove my xxxinit hack. It was too gross. 1995-08-25 09:49:20 +00:00
phk
21ab8fe695 pcic lkm for the pccard stuff. 1995-08-24 09:06:24 +00:00
sos
f14ea10694 First incarnation of our Linux emulator or rather compatibility code.
This first shot only incorporaties so much functionality that DOOM
can run (the X version), signal handling is VERY weak, so is many
other things. But it meets my milestone number one (you guessed it
- running DOOM).

Uses /compat/linux as prefix for loading shared libs, so it won't
conflict with our own libs.

Kernel must be compiled with "options COMPAT_LINUX" for this to work.
1995-06-25 17:32:43 +00:00
wollman
6c86108b8d I was wrong. I thought that the ip_mroute lkm would still compile, but it
seems to have stopped working on me.  Disable it until I get a chance to
fix it.
1995-06-13 20:51:13 +00:00
rgrimes
f3a2b348da Remove trailing whitespace. 1995-05-30 06:12:45 +00:00
sos
ae1b1bf033 Changed relase number in snake_saver.c from 2.1 to 2.0.5 1995-05-16 19:10:11 +00:00
bde
ed8adcf9bd Fix declaration of palette[] so that fade saver doesn't cause panics. 1995-05-14 12:54:30 +00:00
ats
7a4c1929e1 Put vnode_if.h and vnode_if.c into CLEANFILES that are automatically
generated. Should this lkm set VFS_LKM ?
1995-04-15 17:36:53 +00:00
sos
43fc828696 Update to new screen update method. 1995-03-30 15:10:20 +00:00
wollman
2aa3b373ab Forgot pppcompress.c in PPP module. 1995-03-20 19:33:35 +00:00
wollman
5e54a01b4e Forgot slcompress.c in SLIP module. 1995-03-20 19:31:47 +00:00
wollman
d590bce33d The discard, tunnel, SLIP, and PPP network interface pseudo-devices
are now dynamically loadable.  It doesn't make sense to do the same
for the loopback.
1995-03-20 19:25:49 +00:00
nate
810f3ebb02 Make in lkm/syscons fails due to missing include for apm stuff.
Submitted by:	John Capo <jc@irbs.com> and John Hay <jhay@mikom.csir.co.za>
1995-03-03 18:38:00 +00:00
nate
9881483915 Removed redundant delcaration of msdosfs_denode.c from the SRCS line. 1995-03-03 18:33:04 +00:00
phk
7e35ead2ea Once and for all: Never a ${DESTDIR} in ${BINDIR} ! 1995-02-23 19:45:30 +00:00
sos
a8582ea049 Next syscons update (given up on numbering :)
Removed screensavers from syscons, they are now LKM's. This makes it
possible to do some really "interesting" screensavers...
Fixed bug that sometimes caused garbage to appear when leaving
"scroll-lock" history.
Reformattet indentation, it got too deep for a normal 80 pos screen.
Split up in syscons.c & syscons.h for use with the saver-lkm's.
Temporarily removed -s option from vidcontrol, savers should now
be loaded with modload.
1995-02-22 13:48:07 +00:00
ugen
bc961f8cc6 Add ipfw to /lkm Makefile..uups.. 1995-01-30 14:21:46 +00:00
bde
5147f4c4ea Remove typedefs that are now in <sys/conf.h>. 1995-01-24 04:22:19 +00:00
ugen
1ec2adab6f Checking new lkm structure.. 1995-01-12 13:57:51 +00:00
ugen
5f4f867140 Firewall can be used as lkm module.To use it
firewall should *NOT* be compiled into kernel.
Then it can  be loaded.This is misc module but i'v
got no problemms with it,so shouldn't you i suppose..
BTW this is very stupid to have one module in CVS
for ALL lkm's...
1995-01-12 13:03:02 +00:00
wollman
3f947438b0 install command was missing a ${DESTDIR}. 1994-12-11 21:27:14 +00:00
wollman
932edea11c Again, this is not a filesystem so don't compile it as if it were. 1994-10-27 23:39:19 +00:00
wollman
c231fede0a ibcs2 is not a filesystem, don't compile it as if it were. 1994-10-27 23:36:57 +00:00
sos
ca4647b889 Added socksys module 1994-10-16 20:39:52 +00:00
sos
79989a11a3 Added load of socksys driver. 1994-10-16 20:39:16 +00:00
sos
6a9a8837c1 LKM for socksys driver (iBCS2 emulation) 1994-10-16 20:38:50 +00:00
sos
4132b1981b Fix install of ibcs2 script. 1994-10-14 22:56:40 +00:00
sos
b914c50dad Added coff & ibcs2 modules.
Reviewed by:
Submitted by:
Obtained from:
1994-10-14 08:54:31 +00:00
sos
e5a7fbf2bb LKM module for the coff loader (used for iBCS2 emulation) 1994-10-14 08:46:12 +00:00
sos
eefd04ea19 LKM module for the iBCS2 emulator 1994-10-14 08:45:16 +00:00
wollman
f7f00d52e8 Disable MFS as loadable until someone figures out how to make it work. 1994-09-28 22:16:27 +00:00
sos
9762a2e3ae LKM for ibcs2 support 1994-09-25 08:52:14 +00:00
wollman
d4b42cfe45 Create NFS LKM. 1994-09-22 22:12:59 +00:00
wollman
664e99fa6e Build LKMs for all ``easy'' filesystems. (lfs can be done, but it's more
work; ditto NFS and it's even more work.)
1994-09-21 23:27:16 +00:00
wollman
375660a3eb Per discussion on the mailing-lists, move LKMs from /sbin to /lkm, and
arrange for that directory to get created by mtree.  Also, process secure
directory after all the others, because the programs there may overlay
ones installed from the main part of the tree.
1994-09-16 20:24:29 +00:00