Commit Graph

5 Commits

Author SHA1 Message Date
Martin Blapp
fffc6e58d9 Fix the cdev kld example.
PR:		52954
Submitted by:	Priit Piipuu <priit.piipuu@mail.ee>
Reviewed by:	phk
2003-08-03 10:39:29 +00:00
David E. O'Brien
1a37aa566b Add `_PATH_DEVZERO'.
Use _PATH_* where where possible.
2000-12-09 09:35:55 +00:00
Maxim Sobolev
7320fd3a30 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
2000-10-02 14:14:07 +00:00
Doug Rabson
0f2a20dfd7 * 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
1999-06-27 12:44:44 +00:00
Doug Rabson
abbcaa0a10 Sample modules for KLD.
PR: misc/8621
Submitted by: Rajesh Vaidheeswarran <rv@fore.com>
1998-12-11 10:44:31 +00:00