Commit Graph

45 Commits

Author SHA1 Message Date
gehenna
77a6b82b27 Merge the gehenna-devsw branch into the trunk.
This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

	device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
  by using this grammer.

- Added the new naming convention.
  The name of the device switch must be <prefix>_[bc]devsw for auto-generation
  of device switch tables.

- The backward compatibility of loading block/character device
  switch by LKM framework is broken. This is necessary to convert
  from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
  We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
  the LKM framework will refer it to assign device major number dynamically.
2002-09-06 13:18:43 +00:00
jdolecek
357b304b86 add some procfs files which seem to be needed nowadays 2002-05-25 20:39:50 +00:00
lukem
b574ee0f82 define NOMAN= once, at the real top level of lkm 2001-12-12 12:06:45 +00:00
tv
8e6f7afb5b MKfoo=no -> NOfoo 2001-12-12 01:48:43 +00:00
lukem
f5e6ca8797 add RCSIDs 2001-11-12 23:22:57 +00:00
lukem
e2f9740f5b add arch/${MACHINE_CPU}/${MACHINE_CPU} for the arm ports 2001-08-05 13:41:50 +00:00
tron
7099caed23 Make this LKM work again by building "ntfs_conv.c". 2001-02-16 10:07:02 +00:00
tron
5e89f0c397 Make the "procfs" LKM work again by including "procfs_map.c" in the
build.
2001-02-03 09:19:45 +00:00
jdolecek
8881c0b414 build and install filecorefs LKM same way as other VFS LKMs 2001-01-27 23:48:32 +00:00
jdolecek
3c532ca5ef adapt to struct sysent change 2001-01-27 17:06:31 +00:00
jdolecek
c684abec3c add filecorefs LKM - noticed it's missing
XXX not tested
2001-01-22 13:41:51 +00:00
fvdl
4de25b5279 Add procfs_machdep.c and .PATH for it. 2001-01-17 00:09:31 +00:00
jdolecek
134b0b2c0f lfs is now loadable as LKM 2000-11-30 16:00:55 +00:00
simonb
4fd796d7d7 Add prototypes for the xxx_lkmentry() functions, and enable WARNS=1. 2000-03-21 11:45:56 +00:00
wrstuden
fab192f2d2 Add overlay, a layered file system which overlays itself on
the underlying fs, rather than exporting it to another part of the
directory name space.
2000-01-20 19:06:13 +00:00
jdolecek
a2fff20b0d properly end the comment with NetBSD RCS id 1999-09-05 10:57:01 +00:00
wrstuden
f8ea65369c Make nullfs's lkm right. 1999-07-08 01:51:57 +00:00
tron
ce798896e4 Compile all VFS LKMs on all ports. 1999-05-18 23:06:02 +00:00
tron
91a9233c06 Build "ntfs" LKM only on machines for which Windows NT is available. 1999-05-12 12:05:56 +00:00
tron
f9711dafa5 Fix typos. 1999-05-12 09:00:11 +00:00
tron
12c31842c9 Add loadable kernel module for NTFS. 1999-05-12 07:46:42 +00:00
christos
902b3b95dc PR/7143: Jaromir Docelek: add procfs_cmdline... 1999-03-12 18:47:35 +00:00
lukem
dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
cjs
c890eba0b7 Change NOMAN=yep to MKMAN=no. 1999-02-12 05:41:57 +00:00
bouyer
cf5be93206 Add ext2fs. 1998-10-04 11:45:44 +00:00
bouyer
ecb13d449a LKM for ext2fs ... better late than never :) 1998-09-29 10:26:58 +00:00
rvb
5b1d1ef004 Coda lkm 1998-09-25 15:01:56 +00:00
thorpej
3ef999a19b Make sure all LKMs get built with -DUVM and -DPMAP_NEW if so configured
in mk.conf.
1998-03-28 23:58:44 +00:00
mrg
d59aba65d9 build msdosfs LKM with UVM support. pr#5014 1998-03-10 06:53:36 +00:00
thorpej
19024ae2fb Don't vfs_opv_init_*(); this is properly handed by vfs_attach(). 1998-02-18 07:18:21 +00:00
perry
ba7b5f16ff add -DPMAP_NEW if PMAP_NEW is on in mk.conf 1998-02-18 03:54:58 +00:00
mrg
6a324bffbd make these work with -DUVM 1998-02-11 11:57:21 +00:00
is
8e50add957 Make nullfs and umapfs LKMs link again.
From PR4297 by Matthias Scheler.
1997-10-21 16:16:02 +00:00
explorer
000490be57 reorder files in Makefile, nothing major 1997-08-13 05:46:57 +00:00
veego
5e57562634 New adosfs lkm, which will only be build on the Amiga. 1997-07-08 16:46:24 +00:00
veego
91a6533462 lkm for the adosfs. From Matthias Scheler in pr#3726 1997-07-08 16:44:49 +00:00
jtc
69f811b13c copyright assigned to TNF 1997-05-19 23:26:32 +00:00
scottr
a3797a2459 The union LKM is currently broken. Do not build it. 1997-02-18 06:08:51 +00:00
explorer
4f2a5a3b7d remove deadfs and fifofs 1996-11-05 02:30:16 +00:00
explorer
0c69983b3e remove the deadfs 'filesystem' from the lkm tree. This wasn't supposed to make
it in there anyway.
1996-11-05 02:29:29 +00:00
explorer
5b1de90fba remove the fifo 'filesystem' from the lkm tree. This wasn't supposed to make
it in there anyway.
1996-11-05 02:27:19 +00:00
explorer
97227d64b3 find ../sys relative to src dir, not obj dir 1996-08-27 23:42:01 +00:00
explorer
576f04f8b1 Clean up some unneeded Makefile variables 1996-08-27 21:44:32 +00:00
mrg
3b78ac59ad Update these to build in a consistant manner, and not assume /sys, etc.
Should work with obj dirs but not heavily tested.
1996-08-23 05:38:53 +00:00
explorer
f190d66387 Add the lkm stuff I've been working on to the tree.
This mostly works -- see the README file in sys/lkm for more information
on what does and doesn't.  I'm putting this in here mainly to help speed
development and such to make this useful sooner.
1996-08-22 20:18:07 +00:00