History log of /freebsd/share/examples/kld/cdev/module/cdev.c (Results 1 – 19 of 19)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/14.0.0
# b3e76948 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: two-line .h pattern

Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/


Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0
# 6058f720 26-Jan-2018 Eitan Adler <eadler@FreeBSD.org>

example cdev: use make_dev_s

Make use of make_dev_s in the example cdev. While here, fix warnings.

Reviewed by: rpokala


# f0cfa1b1 27-Nov-2017 Pedro F. Giffuni <pfg@FreeBSD.org>

share and pc-sysinstall: adoption of SPDX licensing ID tags.

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

share and pc-sysinstall: adoption of SPDX licensing ID tags.

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.

show more ...


Revision tags: release/10.4.0, release/11.1.0, release/11.0.1, release/11.0.0, release/10.3.0, release/10.2.0, release/10.1.0, release/9.3.0, release/10.0.0, release/9.2.0, release/8.4.0, release/9.1.0, release/8.3.0_cvs, release/8.3.0, release/9.0.0, release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0, release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0, release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0
# 5db700e0 16-Jul-2004 Tim J. Robbins <tjr@FreeBSD.org>

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


# ef92aa11 09-Jun-2004 Maxim Konovalov <maxim@FreeBSD.org>

Style.


# c5810cfd 09-Jun-2004 Lukas Ertl <le@FreeBSD.org>

Remove duplicate #include.

PR: misc/67748
Submitted by: bugghy <bugghy@phenix.rootshell.be>


Revision tags: release/4.10.0_cvs, release/4.10.0, release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0, release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs, release/4.5.0_cvs, release/4.4.0_cvs
# a220d00e 13-Nov-2001 Andrew R. Reiter <arr@FreeBSD.org>

Update the KLD examples so they will work with current.

Reviewed: jhb


Revision tags: release/4.3.0_cvs, release/4.3.0, release/4.2.0
# 7320fd3a 02-Oct-2000 Maxim Sobolev <sobomax@FreeBSD.org>

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/blue

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

show more ...


Revision tags: release/4.1.1_cvs, release/4.1.0, release/3.5.0_cvs, release/4.0.0_cvs, release/3.4.0_cvs, release/3.3.0_cvs
# 0f2a20df 27-Jun-1999 Doug Rabson <dfr@FreeBSD.org>

* 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


# e523e96f 25-Jun-1999 Doug Rabson <dfr@FreeBSD.org>

Make this sample build again.


Revision tags: release/3.2.0, release/3.1.0, release/3.0.0, release/2.2.8
# abbcaa0a 11-Dec-1998 Doug Rabson <dfr@FreeBSD.org>

Sample modules for KLD.

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


Revision tags: release/10.4.0, release/11.1.0, release/11.0.1, release/11.0.0, release/10.3.0, release/10.2.0, release/10.1.0, release/9.3.0, release/10.0.0, release/9.2.0, release/8.4.0, release/9.1.0, release/8.3.0_cvs, release/8.3.0, release/9.0.0, release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0, release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0, release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0
# 5db700e0 16-Jul-2004 Tim J. Robbins <tjr@FreeBSD.org>

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


# ef92aa11 09-Jun-2004 Maxim Konovalov <maxim@FreeBSD.org>

Style.


# c5810cfd 09-Jun-2004 Lukas Ertl <le@FreeBSD.org>

Remove duplicate #include.

PR: misc/67748
Submitted by: bugghy <bugghy@phenix.rootshell.be>


Revision tags: release/4.10.0_cvs, release/4.10.0, release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0, release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs, release/4.5.0_cvs, release/4.4.0_cvs
# a220d00e 13-Nov-2001 Andrew R. Reiter <arr@FreeBSD.org>

Update the KLD examples so they will work with current.

Reviewed: jhb


Revision tags: release/4.3.0_cvs, release/4.3.0, release/4.2.0
# 7320fd3a 02-Oct-2000 Maxim Sobolev <sobomax@FreeBSD.org>

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/blue

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

show more ...


Revision tags: release/4.1.1_cvs, release/4.1.0, release/3.5.0_cvs, release/4.0.0_cvs, release/3.4.0_cvs, release/3.3.0_cvs
# 0f2a20df 27-Jun-1999 Doug Rabson <dfr@FreeBSD.org>

* 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


# e523e96f 25-Jun-1999 Doug Rabson <dfr@FreeBSD.org>

Make this sample build again.


Revision tags: release/3.2.0, release/3.1.0, release/3.0.0, release/2.2.8
# abbcaa0a 11-Dec-1998 Doug Rabson <dfr@FreeBSD.org>

Sample modules for KLD.

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