History log of /freebsd-10-stable/share/examples/kld/cdev/module/cdevmod.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 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

# 158751 19-May-2006 sobomax

We don't have d_maj field in cdevsw structure anymore.


# 134520 30-Aug-2004 pjd

According to module(9), when command is unrecognized, the module should
return EOPNOTSUPP.


# 132247 16-Jul-2004 tjr

Update for struct cdevsw and dev_t -> struct cdev * changes, plus one
64-bit portability fix.


# 118385 03-Aug-2003 mbr

Fix the cdev kld example.

PR: 52954
Submitted by: Priit Piipuu <priit.piipuu@mail.ee>
Reviewed by: phk


# 66549 02-Oct-2000 sobomax

Fix cdev kld example after it has been broken for year or so. Also extend list
of supported operations by example read() and write() operations.

Inspired by: http://www.daemonnews.org/200010/blueprints.html
PR: 16173
Submitted by: sobomax


# 48275 27-Jun-1999 dfr

* Tidy up a few things and fix some more warnings.
* Change the devsw declaration to standard form and add missing fields
* Change the filename from cdev_mod.ko to cdev.ko


# 48212 25-Jun-1999 dfr

Make this sample build again.


# 41681 11-Dec-1998 dfr

Sample modules for KLD.

PR: misc/8621
Submitted by: Rajesh Vaidheeswarran <rv@fore.com>