Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
Remove $FreeBSD$: two-line .h patternRemove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
example cdev: use make_dev_sMake use of make_dev_s in the example cdev. While here, fix warnings.Reviewed by: rpokala
share and pc-sysinstall: adoption of SPDX licensing ID tags.Mainly focus on files that use BSD 2-Clause license, however the tool Iwas 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 Iwas using misidentified many licenses so this was mostly a manual - errorprone - task.The Software Package Data Exchange (SPDX) group provides a specificationto make it easier for automated tools to detect and summarize well knownopensource licenses. We are gradually adopting the specification, notingthat 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 madesome nasty mistake. No functional change intended.
show more ...
Update share/examples/* to properly install /usr/share/examples.As result of this, a new examples package is now created.Note, this is only effective with 'SHARED=copies' (the default),as the 'S
Update share/examples/* to properly install /usr/share/examples.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 thesource tree version of the file(s).Sponsored by: The FreeBSD Foundation
We don't have d_maj field in cdevsw structure anymore.
According to module(9), when command is unrecognized, the module shouldreturn EOPNOTSUPP.
Update for struct cdevsw and dev_t -> struct cdev * changes, plus one64-bit portability fix.
Style.
Remove duplicate #include.PR: misc/67748Submitted by: bugghy <[email protected]>
Fix the cdev kld example.PR: 52954Submitted by: Priit Piipuu <[email protected]>Reviewed by: phk
Update the KLD examples so they will work with current.Reviewed: jhb
Fix cdev kld example after it has been broken for year or so. Also extend listof 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 listof supported operations by example read() and write() operations.Inspired by: http://www.daemonnews.org/200010/blueprints.htmlPR: 16173Submitted by: sobomax
$Id$ -> $FreeBSD$
* 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
Make this sample build again.
Sample modules for KLD.PR: misc/8621Submitted by: Rajesh Vaidheeswarran <[email protected]>