summaryrefslogtreecommitdiff
path: root/share/examples/kld/cdev/module
Commit message (Collapse)AuthorAgeFilesLines
* example cdev: use make_dev_sEitan Adler2018-01-262-7/+14
| | | | | | | | | Make use of make_dev_s in the example cdev. While here, fix warnings. Reviewed by: rpokala Notes: svn path=/head/; revision=328428
* share and pc-sysinstall: adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-273-3/+9
| | | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Commit these apart because compile testing doesn't guarantee I didn't made some nasty mistake. No functional change intended. Notes: svn path=/head/; revision=326275
* Update share/examples/* to properly install /usr/share/examples.Glen Barber2016-05-101-0/+2
| | | | | | | | | | | | | As result of this, a new examples package is now created. Note, this is only effective with 'SHARED=copies' (the default), as the 'SHARED=symlinks' mechanism will create a symlink to the source tree version of the file(s). Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=299293
* We don't have d_maj field in cdevsw structure anymore.Maxim Sobolev2006-05-191-8/+1
| | | | Notes: svn path=/head/; revision=158751
* According to module(9), when command is unrecognized, the module shouldPawel Jakub Dawidek2004-08-301-1/+1
| | | | | | | return EOPNOTSUPP. Notes: svn path=/head/; revision=134520
* Update for struct cdevsw and dev_t -> struct cdev * changes, plus oneTim J. Robbins2004-07-162-7/+9
| | | | | | | 64-bit portability fix. Notes: svn path=/head/; revision=132247
* Style.Maxim Konovalov2004-06-091-5/+4
| | | | Notes: svn path=/head/; revision=130276
* Remove duplicate #include.Lukas Ertl2004-06-091-1/+0
| | | | | | | | PR: misc/67748 Submitted by: bugghy <bugghy@phenix.rootshell.be> Notes: svn path=/head/; revision=130272
* Fix the cdev kld example.Martin Blapp2003-08-032-23/+11
| | | | | | | | | PR: 52954 Submitted by: Priit Piipuu <priit.piipuu@mail.ee> Reviewed by: phk Notes: svn path=/head/; revision=118385
* Update the KLD examples so they will work with current.Andrew R. Reiter2001-11-131-3/+9
| | | | | | | Reviewed: jhb Notes: svn path=/head/; revision=86316
* Style.Ruslan Ermilov2001-09-181-83/+8
| | | | Notes: svn path=/head/; revision=83609
* Fix cdev kld example after it has been broken for year or so. Also extend listMaxim Sobolev2000-10-024-13/+73
| | | | | | | | | | | of supported operations by example read() and write() operations. Inspired by: http://www.daemonnews.org/200010/blueprints.html PR: 16173 Submitted by: sobomax Notes: svn path=/head/; revision=66549
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50476
* * Tidy up a few things and fix some more warnings.Doug Rabson1999-06-274-30/+32
| | | | | | | | * Change the devsw declaration to standard form and add missing fields * Change the filename from cdev_mod.ko to cdev.ko Notes: svn path=/head/; revision=48275
* Make this sample build again.Doug Rabson1999-06-253-4/+4
| | | | Notes: svn path=/head/; revision=48212
* Sample modules for KLD.Doug Rabson1998-12-114-0/+435
PR: misc/8621 Submitted by: Rajesh Vaidheeswarran <rv@fore.com> Notes: svn path=/head/; revision=41681