Commit Graph

111 Commits

Author SHA1 Message Date
haad
894d2ad3b7 Add stubs for mirror target, too. This target does nothing for now, but lvm
tools support mirror target and trying to create LV with mirrorred backend
caused panic in dm_table_load_ioctl.
2009-01-02 11:03:24 +00:00
haad
18bcf672b4 Remove unneeded targets from dm driver and build them as separate modules.
The zero, error and snapshot targets are build as modules and can be loaded
to dm driver with modload. I do not build/install these drivers by default.

The linear and stripe targets are needed for LVM so I keep them compiled in
dm.
2009-01-02 01:06:16 +00:00
agc
287120139a Might as well install the dm devmapper module when we install the
other parts of the LVM tools - use the same MKLVM switch, though.
2008-12-31 21:22:02 +00:00
haad
210ce8a464 Add makefile for building device-mapper kernel module. 2008-12-19 15:36:58 +00:00
njoly
84ab0cee9a s/SYSVIPC/SYSVMSG/, for message queues support. 2008-12-08 12:56:00 +00:00
ad
49e50a21d6 PR kern/40110: null, overlay and umap modules loading -> panic (layerfs symbols not there)
Add a layerfs module.
2008-12-05 13:05:37 +00:00
ad
dc5f414733 PR port-amd64/40091 compat_linux32 module loading = panic due to missing syms 2008-12-03 12:51:11 +00:00
tsutsui
7828361bcf - don't build compat_linux on alpha until sys/modules/compat_linux/Makefile
handles required MD files under sys/compat/linux/arch/alpha
- build exec_elf64 for all 64 bit arch
- use MACHINE_ARCH!="alpha" instead of MACHINE!="alpha" for exec_elf32 check

XXX we have many histrical inconsistent use of amd64 vs x86_64.
2008-11-29 18:41:06 +00:00
he
f4b2fe2c8d Build compat_linux and exec_elf64 for alpha. 2008-11-28 21:17:08 +00:00
cube
78c770f784 Descend into the new modules during the build. 2008-11-25 12:50:03 +00:00
cube
1ff44d9310 Build and install the PPP compressors modules deflate and bsdcomp. 2008-11-25 02:42:35 +00:00
ad
22a5f6ab5a Rename some modules to match their vfs name. 2008-11-24 11:26:49 +00:00
martin
840e410768 exec_elf32 makes no sense on alpha 2008-11-23 15:29:42 +00:00
ad
d9d57112d9 PR port-amd64/39990 modules/compat_linux32: build fix 2008-11-21 10:04:58 +00:00
ad
5b4bafc85a typo 2008-11-20 11:01:54 +00:00
ad
96c1610fd0 exec_aout module:
- compat_exec.c belongs here, not in compat.
- Make COMPAT_NOMID work in here.
2008-11-20 10:54:38 +00:00
ad
226bc85b61 Rename the accept filter modules to make module name match filter name. 2008-11-20 09:58:45 +00:00
ad
1ab7ca8fdc PR port-amd64/39964 modules/compat_linux: missing symbols on amd64 2008-11-20 09:26:06 +00:00
ad
11c98a4abf PR port-amd64 modules/compat missing symbols on amd64
Also, test for compat_??_machdep.c so we don't have to grow more ifdefs
in the makefile.
2008-11-20 09:22:57 +00:00
ad
92ce8c6a3d Make the emulations, exec formats, coredump, NFS, and the NFS server
into modules. By and large this commit:

- shuffles header files and ifdefs
- splits code out where necessary to be modular
- adds module glue for each of the components
- adds/replaces hooks for things that can be installed at runtime
2008-11-19 18:35:57 +00:00
ad
974cf03d8d Fail to load if there is no embedded file system image. 2008-11-16 15:47:35 +00:00
ad
15fabc9984 Return EOPNOTSUPP for unload. 2008-11-16 15:46:10 +00:00
ad
c94326aee4 +lfs_itimes.c 2008-11-16 15:39:19 +00:00
ad
e6a3385171 Make POSIX AIO loadable as a module. 2008-11-14 23:33:45 +00:00
ad
f34e8d4f6b ndis module. Deliberately not enabled as part of the build. 2008-11-13 12:11:54 +00:00
ad
05844d020c PR kern/39263 $ufs kernel module dependency problems
Pull in the ufs stuff and enable features to make this module useful.
2008-11-13 10:50:26 +00:00
ad
03dacfd7f4 +compat_ossaudio 2008-11-13 10:15:52 +00:00
ad
c3499e89ad Add a note:
Do not automatically install modules that would fundamentally alter system
behaviour or create a security hole, as the system may automatically load
modules.
2008-11-13 10:06:46 +00:00
ad
b11cbdbb9d compat_ossaudio module, so others can depend on it. 2008-11-13 10:05:52 +00:00
ad
57d1c37e21 Add missing ksem makefile. 2008-11-13 10:03:22 +00:00
ad
0b7375c9af Allow the POSIX semaphore code to be loaded as a module. 2008-11-12 14:32:34 +00:00
ad
0efea177e3 Remove LKMs and switch to the module framework, pass 1.
Proposed on tech-kern@.
2008-11-12 12:35:50 +00:00
pooka
513be93faf Revert revivesa merge botch to fix build. 2008-10-15 14:09:21 +00:00
wrstuden
fc7511b00e Merge wrstuden-revivesa into HEAD. 2008-10-15 06:51:17 +00:00
hannken
95da771bbd Build modular fss driver.
Reviewed by: Quentin Garnier <cube@netbsd.org>
2008-09-23 07:56:59 +00:00
jmcneill
0820cb0eaa kmod support for uvideo(4) 2008-09-18 21:53:32 +00:00
reinoud
627e960617 Back out dirhash kernel module for now. 2008-08-30 10:49:27 +00:00
reinoud
0a5ad4e15d Add dirhash kernel module for sharing dirhashing support with other FS
other than UDF. Its FS agnostic and could be used for any FS

Note to self: manpage needs to follow.
2008-08-29 14:20:25 +00:00
jmmv
4b6f682838 Fix build of the i915drm and radeondrm modules after the #include changes
from <dev/drm/drm{,P}.h> to "drm{,P}.h" by mrg@.
2008-07-08 10:11:02 +00:00
rumble
ed4fb1c656 Add of bunch of file system modules. 2008-06-28 16:11:35 +00:00
kent
eadd4f5dcf Make uaudio compilable as a kmod.
XXX:
"modload uaudio.kmod" doesn't attach the uaudio driver to
plugged USB devices for now because uhub_rescan() is not
implemented yet.  We need to re-plug USB devices after modload.
2008-06-28 09:14:56 +00:00
kent
78e5efcf6e build and install azalia.kmod for amd64 and i386. 2008-06-26 16:10:35 +00:00
jmcneill
be7ed6b1cf Add Makefile for building azalia as a kmod 2008-06-02 11:34:07 +00:00
ad
519fde5eda Enable cd9660 module. 2008-05-20 19:02:19 +00:00
jmcneill
49475a7132 Enable putter and puffs modules in build. 2008-05-19 20:22:17 +00:00
jmcneill
effc049eb6 Add Makefile for building puffs kmod. 2008-05-19 17:08:57 +00:00
jmcneill
a14327894a Makefile for building putter kmod 2008-05-19 17:00:13 +00:00
ad
784f5f1678 Replicate drm build fix, although this is not enabled by default yet. 2008-05-19 13:41:21 +00:00
tnn
0772c0d1b9 Fix build. 2008-05-19 13:21:57 +00:00
jmcneill
d185ee89b0 Build radeondrm kmod on i386. 2008-05-18 21:14:04 +00:00
jmcneill
72d2bc8973 Makefile for building radeondrm kmod 2008-05-18 21:13:22 +00:00
jmcneill
802b2951e9 Build drm and i915drm modules for i386 and amd64. 2008-05-18 20:55:24 +00:00
jmcneill
34b244eab1 Add Makefiles for building drmbase and i915drm as kmods. 2008-05-18 20:04:03 +00:00
ad
f1fc7f3fd6 cd9660 module as an example of a file system. Not enabled until we sort
out installation properly.
2008-05-03 15:58:47 +00:00
ad
7d1f779aa2 Build and install modules into /kernel/modules. Each module gets a
directory for properties, blobs, etc. It's not fixed in stone and
can easily be changed if there are issues with the location/layout.
2008-05-02 23:12:00 +00:00
ad
3ba209837a - Add a bsd.kmodule.mk to build new style modules.
- Set the file suffix to .kmod
2008-05-02 14:20:50 +00:00
ad
8c94e76aa9 Add a module that looks up a "miniroot" section within its ELF object,
and passes that to md_root_setconf(). The file system image can be added
with objcopy after the module is built.
2008-05-02 13:03:58 +00:00
martin
ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
jmmv
c062e07376 Add an example on how to handle the incoming properties during module load. 2008-03-02 11:19:30 +00:00
jmmv
d902e11647 Let this build by using BUILDSYMLINKS to workaround a problem in bsd.kmod.mk
that prevents a source file to be named exactly as the final module.  Thanks
to pooka@ and mrg@ for pointing out how to resolve this.

Also define NOMAN because there is no manual page here.
2008-02-10 10:51:18 +00:00
ad
bbc79e58a6 Pull in my modules code for review/test/hacking. 2008-01-16 12:34:50 +00:00