Commit Graph

48 Commits

Author SHA1 Message Date
wiz cb7bef0a8b Use standard section header. 2016-09-12 06:55:10 +00:00
sevan 441c8e3032 Document author and the version modunload appeared.
Bump date.
2016-09-12 00:19:29 +00:00
sevan 51fe790c4c Drop main() prototype. 2016-09-05 01:00:07 +00:00
khorben 3df9a0e8ab More friendly error messages for modload(8) and modunload(8)
Tested on NetBSD/amd64.

From Christian Koch (cfkoch@) of EdgeBSD; thanks!
2016-05-06 00:24:45 +00:00
pgoyette e6045f6364 Add cross-refs from modload(8) amd modunload(8) to modctl(2) 2015-11-28 23:53:48 +00:00
dholland b062143a54 WARNS=5 is the default in sbin, don't need to set it explicitly. 2013-08-11 05:56:55 +00:00
jnemeth 0f1ee6e9e1 Set WARNS=5. No warnings/errors were found with a test compile. 2012-08-22 07:47:18 +00:00
jruoho 91e230c6b8 Fix xref; module(4) -> module(7). 2010-12-14 16:23:59 +00:00
pooka 67a4f392d8 use crunchops for crunchables 2010-12-13 21:48:01 +00:00
pooka e73ffdda13 Add rump client support for module utilities. It should be noted
that while modstat and modunload and builtin modules work exactly
the same as in the host case, modload loads file system kernel
modules from the rump kernel namespace.  By default, archs which
have rump support for the kernel kernel ABI have the host module
directory mapped into the rump kernel namespace at the same location
(/stand/...).  Therefore, if the *host* module directory is populated,
"rump.modload foo" will work as expected.  Otherwise, RUMP_MODULEBASE
can be used to point to the module directory.
2010-12-13 20:48:44 +00:00
jruoho 05a9f55544 Xref module(4). 2010-12-13 10:07:46 +00:00
jmcneill ed7bfdfad4 Allow for passing more than one module at a time:
$ sudo modunload auvitek xc5000 wintv_eeprom
2010-12-06 23:42:48 +00:00
pooka 696ffdd08a note module changes 2010-03-05 18:51:22 +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
martin ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
jmmv be1e5d770b Always test MKMODULAR with != "no". Requested by mrg@. 2008-02-10 08:21:25 +00:00
jmmv 97f434a8b4 Reverse MKMODULAR checks. 2008-02-09 22:32:38 +00:00
jmmv 8983cf2933 Recognize MKMODULAR and build the appropriate tool. 2008-02-09 19:33:00 +00:00
ad bbc79e58a6 Pull in my modules code for review/test/hacking. 2008-01-16 12:34:50 +00:00
christos 2c6eadc9ce Move WARNS=3 to the Makefile.inc, and add a little const to the remaining
programs that did not compile before.
2005-06-27 01:00:04 +00:00
xtraeme 8a489f424f Kill __P(), use ANSI function declarations; WARNS=3. 2005-02-05 14:35:25 +00:00
wiz d0b01a96aa New sentence, new line; drop trailing whitespace. 2003-09-06 20:12:41 +00:00
jdolecek 06e5ddbb7e if neither -i nor -n option is specified, use the passed argument
as module ID if it's numeric, and as module name if it's not numeric

this saves some typing which bothered me for some years (one too many today)
2003-09-06 19:55:24 +00:00
wiz 990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
grant c39c2e62d5 'NetBSD.org' and some mdoc fixes. 2003-02-14 16:21:47 +00:00
wiz ca7b306a86 Improve author markup, use standard header. 2001-11-16 11:57:16 +00:00
wiz 4ce43ae0cd Whitespace nits 2001-11-16 10:25:42 +00:00
wiz 73f545bb5b Drop arguments of .Os. 2001-06-05 11:22:41 +00:00
cgd db755e7c76 sweep of my licenses (userland files w/o only my copyright) for
consistency.  (no functional changes)
2000-06-14 17:24:02 +00:00
cgd d220ca5ba3 fix up NetBSD RCS Ids to match the standard, and the leading comment as
to match as well.  No functional changes.
2000-06-14 06:48:47 +00:00
hubertf a335a76e3b s/atoi/strtol/ and check if argument given to -i was really a valid
number.

Patch submitted in PR 6456 by lha@stacken.kth.se
1999-07-22 02:04:13 +00:00
mycroft f6590b22cd Clean up SYNOPSIS formatting. 1999-03-07 11:02:05 +00:00
lukem 526ce12987 * cleanup for WARNS=1
* getopt returns -1 not EOF
* use .Nm correctly
1997-09-15 03:55:25 +00:00
jtc 0a1e7de7b6 merge in changes from 1.1 release branch 1995-11-28 05:25:28 +00:00
jtc afea82ff3c <sys/errno.h> -> <errno.h> 1995-05-28 05:21:58 +00:00
cgd 0114e805ce convert to new RCS Id conventions; reduce my headache 1995-03-18 14:54:19 +00:00
cgd 06e2955ff1 specify man pages the new way. 1994-12-22 10:44:04 +00:00
cgd c9117f53b5 -Wall cleanups from Jim Jegers 1994-12-18 00:15:01 +00:00
cgd ba346cac3f kill (bogus) multiple inclusions 1994-05-23 05:42:41 +00:00
cgd 3b59599485 kill stupidity 1994-05-05 06:35:50 +00:00
mycroft 35d349867f Style cleanup; use err*() and atexit(). 1994-04-01 04:19:06 +00:00
deraadt c5a096fcf1 do not -DKERNEL please 1994-02-09 15:00:32 +00:00
jtc 42f840d29d Fix spelling error in Copyright notice 1994-01-29 01:43:03 +00:00
deraadt feb763311e i love ansi 1993-12-03 10:37:14 +00:00
mycroft a4978b4da6 Don't reset CFLAGS. 1993-08-09 06:14:22 +00:00
cgd 26e41afe6d add LKM man pages 1993-06-08 03:07:11 +00:00
cgd 950f32bf2a open device for read/write, so we can actually load
devices w/new checks in kern_lkm.c
1993-06-07 23:10:34 +00:00
cgd 57d3a6d525 add support for terry lambert's loadable kernel modules.
needs a bit of cleanup, but overall: SLICK!
1993-06-07 19:51:59 +00:00