History log of /freebsd-10.2-release/share/man/man9/module.9
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 285830 23-Jul-2015 gjb

- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
builds.
- Update newvers.sh to reflect RC1.
- Update __FreeBSD_version to reflect 10.2.
- Update default pkg(8) configuration to use the quarterly branch.[1]

Discussed with: re, portmgr [1]
Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 241471 12-Oct-2012 kevlo

Since the moduledata structure member priv is a void pointer, using
NULL instead of 0 when dealing with pointers.


# 241394 10-Oct-2012 kevlo

Revert previous commit...

Pointyhat to: kevlo (myself)


# 241370 09-Oct-2012 kevlo

Prefer NULL over 0 for pointers


# 171498 19-Jul-2007 flz

Note that module should return EOPNOTSUPP for both unrecognized
*and* unsupported values of `what'.

Submitted by: kevlo
Discussed on: cvs-doc@
Approved by: re (hrs)
MFC after: 3 days


# 147647 28-Jun-2005 hmp

Use 'manual page' instead of 'man page' for consistency.

Approved by: re (hrs)


# 140140 12-Jan-2005 ru

Scheduled mdoc(7) sweep.


# 132117 13-Jul-2004 phk

Give kldunload a -f(orce) argument.

Add a MOD_QUIESCE event for modules. This should return error (EBUSY)
of the module is in use.

MOD_UNLOAD should now only fail if it is impossible (as opposed to
inconvenient) to unload the module. Valid reasons are memory references
into the module which cannot be tracked down and eliminated.

When kldunloading, we abandon if MOD_UNLOAD fails, and if -force is
not given, MOD_QUIESCE failing will also prevent the unload.

For backwards compatibility, we treat EOPNOTSUPP from MOD_QUIESCE as
success.

Document that modules should return EOPNOTSUPP for unknown events.


# 79538 10-Jul-2001 ru

mdoc(7) police: removed HISTORY info from the .Os call.


# 79366 06-Jul-2001 ru

mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).


# 74745 24-Mar-2001 alex

Sort includes and remove bogus typedef of modeventhand_t, since this
isn't used in the example any more.

Pointed out by: bde


# 74694 23-Mar-2001 alex

- DECLARE_MODULE needs SYSINIT -> include sys/kernel.h
- modeventhand_t declares a pointer to a function, so it can't be
used as a forward declaration (d'oh!)

Submitted by: Harti Brandt <brandt@fokus.gmd.de>


# 74108 11-Mar-2001 alex

Fix brain damage: s/CDEV_MODULE/DEV_MODULE/


# 74101 11-Mar-2001 alex

Add calls to MODULE_VERSION and MODULE_DEPEND to the EXAMPLE.


# 74035 09-Mar-2001 alex

Add a general manpage about kernel modules, similar to driver(9).

Reviewed by: dfr, ru