aboutsummaryrefslogtreecommitdiff
path: root/sys/modules
Commit message (Collapse)AuthorAgeFilesLines
* Also quiet down the ibcs2 startup (same reason as linux lkm - it screwsJordan K. Hubbard1997-05-011-2/+2
| | | | | | | the console output). Notes: svn path=/head/; revision=25343
* Merge 1.8.2.1 into -current.Jordan K. Hubbard1997-05-011-2/+2
| | | | Notes: svn path=/head/; revision=25342
* Make MOD_* macros almost consistent:Peter Dufault1997-04-061-3/+3
| | | | | | | | | | | | | | | | | | | | | | | Use the name argument almost the same in all LKM types. Maintain the current behavior for the external (e.g., modstat) name for DEV, EXEC, and MISC types being #name ## "_mod" and SYCALL and VFS only #name. This is a candidate for change and I vote just the name without the "_mod". Change the DISPATCH macro to MOD_DISPATCH for consistency with the other macros. Add an LKM_ANON #define to eliminate the magic -1 and associated signed/unsigned warnings. Add MOD_PRIVATE to support wcd.c's poking around in the lkm structure. Change source in tree to use the new interface. Reviewed by: Bruce Evans Notes: svn path=/head/; revision=24674
* Make MOD_* macros almost consistent:Peter Dufault1997-04-067-19/+21
| | | | | | | | | | | | | | | | | | | | | | | Use the name argument almost the same in all LKM types. Maintain the current behavior for the external (e.g., modstat) name for DEV, EXEC, and MISC types being #name ## "_mod" and SYCALL and VFS only #name. This is a candidate for change and I vote just the name without the "_mod". Change the DISPATCH macro to MOD_DISPATCH for consistency with the other macros. Add an LKM_ANON #define to eliminate the magic -1 and associated signed/unsigned warnings. Add MOD_PRIVATE to support wcd.c's poking around in the lkm structure. Change source in tree to use the new interface. Reviewed by: Bruce Evans Notes: svn path=/head/; revision=24673
* Revert $FreeBSD$ back to $Id$Peter Wemm1997-02-2258-58/+58
| | | | Notes: svn path=/head/; revision=22982
* Make ibcs2 a little bit saver. Add copyright.Wolfram Schneider1997-02-022-6/+70
| | | | Notes: svn path=/head/; revision=22209
* Upgrade the kbdio rutines to provide queued kbd & mouse events.Søren Schmidt1997-01-152-4/+36
| | | | | | | | | Minor other updates to syscons by me. Submitted by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp> Notes: svn path=/head/; revision=21731
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-1458-58/+58
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* Sort cross references.Wolfram Schneider1997-01-131-3/+3
| | | | Notes: svn path=/head/; revision=21635
* Add a man page for linux(8) (loads the Linux emulator kernel module).Mike Pritchard1997-01-102-2/+47
| | | | Notes: svn path=/head/; revision=21480
* Make snake 3.0-CURRENT here.Jordan K. Hubbard1996-11-111-2/+2
| | | | | | | There's gotta be a better way of syncronizing our release numbers. :-) Notes: svn path=/head/; revision=19643
* Prepare kernel to take advantage of "branded" ELF binaries.Søren Schmidt1996-10-161-4/+4
| | | | Notes: svn path=/head/; revision=18959
* delete unused variable BINDIR, use new variable MODLOAD/MODUNLOADWolfram Schneider1996-10-067-18/+11
| | | | Notes: svn path=/head/; revision=18778
* add forgotten $Id$Wolfram Schneider1996-09-223-1/+5
| | | | Notes: svn path=/head/; revision=18471
* Fiexed CFLAGS. Compiling things in the kernel without -O now causesBruce Evans1996-09-211-2/+2
| | | | | | | | zillions of warnings about static inline functions because `inline' is ignored without -O. Notes: svn path=/head/; revision=18432
* Bannish ATAPI and ATAPI_STATIC #defines to opt_atapi.h.Paul Traina1996-09-062-8/+14
| | | | Notes: svn path=/head/; revision=18086
* `struct linker_set execsw_set' was declared as const and pointers in itBruce Evans1996-09-032-4/+4
| | | | | | | | | | were declared as non-const. This is backwards (_lkm_exec() changes the pointers but all the target `struct execsw's are const). Fixed this and poisoned related declarations to match and removed the bogus casts that hid the bug. Notes: svn path=/head/; revision=18026
* Added or restored #include of <machine/md_var.h>. Some declarationsBruce Evans1996-07-012-4/+10
| | | | | | | moved from <machine/cpufunc.h> to better places. Notes: svn path=/head/; revision=16879
* Fixed the `machine' link. It pointed to the wrong place, and was createdBruce Evans1996-06-251-6/+9
| | | | | | | | | | | | 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. Notes: svn path=/head/; revision=16726
* Don't add -I/sys to CFLAGS. bsd.kmod.mk adds the correct (relative)Bruce Evans1996-06-232-4/+4
| | | | | | | path. Notes: svn path=/head/; revision=16625
* Don't claim to be a VFS_LKM - generate vnode_if.h by putting it in SRCS.Bruce Evans1996-06-231-5/+4
| | | | | | | | Don't add -I/sys to CFLAGS. bsd.kmod.mk adds the correct (relative) path. Notes: svn path=/head/; revision=16624
* Don't (re)define ACTUALLY_LKM_NOT_KERNEL. It wasn't even used by theBruce Evans1996-06-231-1/+1
| | | | | | | | | | joy driver proper. Don't add -I/sys to CFLAGS. bsd.kmod.mk adds the correct (relative) path. Notes: svn path=/head/; revision=16623
* Use IPFIREWALL_MODULE instead of ACTUALLY_LKM_NOT_KERNEL to indicateBruce Evans1996-06-231-2/+3
| | | | | | | | | | | | | 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). Notes: svn path=/head/; revision=16619
* Disabled unusable union lkm.Bruce Evans1996-06-231-3/+3
| | | | Notes: svn path=/head/; revision=16615
* Add new parts, kernel not booted in other caseAndrey A. Chernov1996-06-181-3/+3
| | | | Notes: svn path=/head/; revision=16483
* Add ccd.Satoshi Asami1996-06-121-2/+2
| | | | Notes: svn path=/head/; revision=16317
* A Makefile for a ccd lkm. You need to explicitly /sbin/modload it forSatoshi Asami1996-06-121-0/+17
| | | | | | | now. Someday I'll add a hook to ccdconfig to do it automatically. Notes: svn path=/cvs2svn/branches/ERICH/; revision=16314
* ``mv'' -> ``mv -f''Wolfram Schneider1996-05-072-2/+6
| | | | | | | | ``rm'' -> ``rm -f'' so mv/rm may not ask for confirmation if you are not root Notes: svn path=/head/; revision=15679
* Add in qcam module (forgot)Paul Traina1996-03-241-2/+2
| | | | Notes: svn path=/head/; revision=14780
* Add joy to the SUBDIR list.Jean-Marc Zucconi1996-03-161-2/+2
| | | | Notes: svn path=/head/; revision=14636
* Build LKM for joystick driver.Jean-Marc Zucconi1996-03-164-0/+71
| | | | Notes: svn path=/head/; revision=14635
* linux_interp now moved into sys/i386/linux/linux_sysvec.c, but stillPeter Wemm1996-03-101-6/+2
| | | | | | | connected at load and unload time from here. Notes: svn path=/head/; revision=14469
* First attempt at FreeBSD & Linux ELF support.Søren Schmidt1996-03-102-3/+15
| | | | | | | | | | | | | | | | | | | | 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 :) Notes: svn path=/head/; revision=14456
* Update the linux lkm to use the new file list and build routine.Peter Wemm1996-03-021-5/+25
| | | | | | | This is a bit of a kludge and needs more work. Notes: svn path=/head/; revision=14333
* Make the ipfw LKM work again.Poul-Henning Kamp1996-02-241-3/+3
| | | | | | | This concludes this round of updates to ipfw, have at it! Notes: svn path=/head/; revision=14234
* Correct some man page cross references and some fileMike Pritchard1996-02-051-2/+1
| | | | | | | locations. Notes: svn path=/head/; revision=13922
* Add missing ${DESTDIR} to afterinstall: target.Rodney W. Grimes1996-01-271-2/+2
| | | | Notes: svn path=/head/; revision=13657
* Attempt to fix the procfs LKM after making some of the procfsPeter Wemm1996-01-241-5/+3
| | | | | | | code shared with ptrace and "standard" in the config. Notes: svn path=/head/; revision=13613
* No longer generate empty opt_sysvipc.h, and no longer issue -DSYSVSHM etcPeter Wemm1996-01-081-7/+3
| | | | | | | | for the CFLAGS. Now, it tracks whatever the booted kernel has rather than being specifying what features your kernel has at lkm build time. Notes: svn path=/head/; revision=13340
* No longer generate empty opt_sysvipc.h..Peter Wemm1996-01-081-6/+2
| | | | Notes: svn path=/head/; revision=13339
* Detach fpu and gnufpu from Makefile.. These lkm's build (or used to)Peter Wemm1996-01-061-2/+5
| | | | | | | | but are not quite useable. (fpu is used by init, and process switch apparently..) Notes: svn path=/head/; revision=13291
* Add opt_sysvipc.h rules similar as in ibcs2 MakefileAndrey A. Chernov1996-01-061-2/+6
| | | | | | | (make fails in old case) Notes: svn path=/head/; revision=13289
* Automatically create an empty opt_sysvipc.h to mimic old optionGarrett Wollman1996-01-041-2/+6
| | | | | | | environment. Notes: svn path=/head/; revision=13227
* Added SYSVSHM defineSøren Schmidt1995-12-291-2/+2
| | | | Notes: svn path=/head/; revision=13110
* Reformatted the list of broken modules and added ip_mroute_mod to it.Bruce Evans1995-12-161-5/+2
| | | | Notes: svn path=/head/; revision=12896
* Two x87 emulators as LKMs.Poul-Henning Kamp1995-12-143-2/+29
| | | | | | | | If somebody with the right HW would make the change to /etc/rc to use this, we could rip MATH_EMULATE from GENERIC... Notes: svn path=/head/; revision=12818
* Delete obnoxious uprintf()s in load/unload procedures.Garrett Wollman1995-11-295-15/+5
| | | | Notes: svn path=/head/; revision=12536
* Add Lyndon's man page.Joerg Wunsch1995-11-282-1/+67
| | | | | | | | | Closes PR # docs/842 Submitted by: lyndon@orthanc.com (Lyndon Nerenberg) Notes: svn path=/head/; revision=12509
* Changed the first (name) arg of MOD_DEV(), MOD_EXEC() and MOD_MISC()Bruce Evans1995-11-148-35/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=12276
* Replaced nosys() by lkm_nullcmd(). Always call lkm load/unload/statBruce Evans1995-11-138-16/+22
| | | | | | | | functions instead of skipping the call if the function is nosys(). nosys() returned the wrong value as well as having the wrong type. Notes: svn path=/head/; revision=12250