summaryrefslogtreecommitdiffstats
path: root/share/examples/kld/cdev
Commit message (Collapse)AuthorAgeFilesLines
* Conform style.Makefile(5) and replace = and += with ?=, which lets you towkoszek2010-02-011-1/+1
| | | | | | override WARNS. Reported by: <marius@nuenneri.ch> and uqs@
* Include unistd.h for read(), write() and stdlib.h for exit().wkoszek2010-01-182-3/+6
| | | | Bump WARNS to 5 while being here.
* We don't have d_maj field in cdevsw structure anymore.sobomax2006-05-191-8/+1
|
* Start the dreaded NOFOO -> NO_FOO conversion.ru2004-12-211-1/+1
| | | | OK'ed by: core
* According to module(9), when command is unrecognized, the module shouldpjd2004-08-301-1/+1
| | | | return EOPNOTSUPP.
* Update for struct cdevsw and dev_t -> struct cdev * changes, plus onetjr2004-07-162-7/+9
| | | | 64-bit portability fix.
* Style.maxim2004-06-091-5/+4
|
* Remove duplicate #include.le2004-06-091-1/+0
| | | | | PR: misc/67748 Submitted by: bugghy <bugghy@phenix.rootshell.be>
* Fix the cdev kld example.mbr2003-08-034-23/+14
| | | | | | PR: 52954 Submitted by: Priit Piipuu <priit.piipuu@mail.ee> Reviewed by: phk
* Update the SUBDIR hacks to work with the current bsd.subdir.mk.ru2002-07-111-69/+2
|
* Update the KLD examples so they will work with current.arr2001-11-131-3/+9
| | | | Reviewed: jhb
* Style.ru2001-09-181-83/+8
|
* Add `_PATH_DEVZERO'.obrien2000-12-091-1/+3
| | | | Use _PATH_* where where possible.
* Fix cdev kld example after it has been broken for year or so. Also extend listsobomax2000-10-027-15/+114
| | | | | | | | of supported operations by example read() and write() operations. Inspired by: http://www.daemonnews.org/200010/blueprints.html PR: 16173 Submitted by: sobomax
* $Id$ -> $FreeBSD$peter1999-08-282-2/+2
|
* * Tidy up a few things and fix some more warnings.dfr1999-06-275-31/+34
| | | | | * Change the devsw declaration to standard form and add missing fields * Change the filename from cdev_mod.ko to cdev.ko
* Make this sample build again.dfr1999-06-253-4/+4
|
* Sample modules for KLD.dfr1998-12-118-0/+812
PR: misc/8621 Submitted by: Rajesh Vaidheeswarran <rv@fore.com>
OpenPOWER on IntegriCloud