|
Revision tags: release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0, release/10.4.0, release/11.1.0, release/11.0.1, release/11.0.0, release/10.3.0 |
|
| #
a54cfe70 |
| 02-Mar-2016 |
Bryan Drewery <[email protected]> |
Remove self-reference to destroy_dev_drain(9).
MFC after: 1 week
|
| #
48ce5d4c |
| 07-Jan-2016 |
Konstantin Belousov <[email protected]> |
Provide yet another KPI for cdev creation, make_dev_s(9).
Immediate problem fixed by the new KPI is the long-standing race between device creation and assignments to cdev->si_drv1 and cdev->si_drv2,
Provide yet another KPI for cdev creation, make_dev_s(9).
Immediate problem fixed by the new KPI is the long-standing race between device creation and assignments to cdev->si_drv1 and cdev->si_drv2, which allows the window where cdevsw methods might be called with si_drv1,2 fields not yet set. Devices typically checked for NULL and returned spurious errors to usermode, and often left some methods unchecked.
The new function interface is designed to be extensible, which should allow to add more features to make_dev_s(9) without inventing yet another name for function to create devices, while maintaining KPI and even KBI backward-compatibility.
Reviewed by: hps, jhb Sponsored by: The FreeBSD Foundation MFC after: 3 weeks Differential revision: https://reviews.freebsd.org/D4746
show more ...
|
|
Revision tags: release/10.2.0, release/10.1.0, release/9.3.0, release/10.0.0, release/9.2.0, release/8.4.0 |
|
| #
b1e1f725 |
| 22-Dec-2012 |
Jaakko Heinonen <[email protected]> |
Reject spaces and double quotation marks in device names. devctl(4) and devd(8) can't handle names with such characters properly.
PR: bin/144736, kern/161912 Discussed with: imp, kib, pjd
|
|
Revision tags: release/9.1.0, release/8.3.0, release/7.4.0, release/8.2.0, release/8.1.0 |
|
| #
830ca8ea |
| 20-May-2010 |
Konstantin Belousov <[email protected]> |
MFC r207730: Document MAKEDEV_NOWAIT flag for make_dev_credf(9).
|
| #
3030137a |
| 24-Mar-2012 |
Joel Dahl <[email protected]> |
Remove superfluous paragraph macro.
|
| #
580a4587 |
| 05-May-2011 |
Andrey V. Elsukov <[email protected]> |
Formatting fixes: o Fix date o Break sentences o Remove trailing whitespaces o Sort xrefs by section number
Requested by: ru MFC after: 2 weeks
|
| #
8137364f |
| 03-May-2011 |
Andrey V. Elsukov <[email protected]> |
Document make_dev_alias_p().
MFC after: 2 weeks
|
| #
353429bf |
| 22-Jan-2011 |
Jaakko Heinonen <[email protected]> |
Fix typos.
|
| #
95adbc95 |
| 24-Oct-2010 |
Jaakko Heinonen <[email protected]> |
Use .Dv with NULL.
|
| #
f36575b5 |
| 24-Oct-2010 |
Jaakko Heinonen <[email protected]> |
Document make_dev_p(9).
Reviewed by: brueffer, kib
|
| #
68f7a013 |
| 07-Oct-2010 |
Jaakko Heinonen <[email protected]> |
Check the device name validity on device registration.
A new function prep_devname() sanitizes a device name by removing leading and redundant sequential slashes. The function returns an error for n
Check the device name validity on device registration.
A new function prep_devname() sanitizes a device name by removing leading and redundant sequential slashes. The function returns an error for names which already exist or are considered invalid.
A new flag MAKEDEV_CHECKNAME for make_dev_p(9) and make_dev_credf(9) indicates that the caller is prepared to handle an error related to the device name. An invalid name triggers a panic if the flag is not specified.
Document the MAKEDEV_CHECKNAME flag in the make_dev(9) manual page.
Idea from: kib Reviewed by: kib
show more ...
|
| #
5e9cd1db |
| 05-Sep-2010 |
Konstantin Belousov <[email protected]> |
Document MAKEDEV_ETERNAL.
MFC after: 3 days
|
| #
3035649e |
| 01-Aug-2010 |
Pawel Jakub Dawidek <[email protected]> |
Correct function name.
MFC after: 3 days
|
| #
e10c1be4 |
| 02-Jun-2010 |
Ulrich Spörlein <[email protected]> |
mdoc cleanup
Garbage collect unused sections, macros and arguments. Fix prologue and remove empty lines.
Found by: mdocml
|
| #
2b848cb1 |
| 06-May-2010 |
Konstantin Belousov <[email protected]> |
Document MAKEDEV_NOWAIT flag for make_dev_credf(9).
Reviewed by: jh MFC after: 2 weeks
|
| #
aa12cea2 |
| 14-Apr-2010 |
Ulrich Spörlein <[email protected]> |
mdoc: order prologue macros consistently by Dd/Dt/Os
Although groff_mdoc(7) gives another impression, this is the ordering most widely used and also required by mdocml/mandoc.
Reviewed by: ru Appro
mdoc: order prologue macros consistently by Dd/Dt/Os
Although groff_mdoc(7) gives another impression, this is the ordering most widely used and also required by mdocml/mandoc.
Reviewed by: ru Approved by: philip, ed (mentors)
show more ...
|
|
Revision tags: release/7.3.0, release/8.0.0, release/7.2.0, release/7.1.0, release/6.4.0 |
|
| #
66c6ebfe |
| 28-Sep-2008 |
Ed Schouten <[email protected]> |
Several documentation fixups related to device minor/major numbers:
- Document the minor(3), major(3) and makedev(3) macro's. They also apply to umajor() and uminor() in the kernel, but hopefully
Several documentation fixups related to device minor/major numbers:
- Document the minor(3), major(3) and makedev(3) macro's. They also apply to umajor() and uminor() in the kernel, but hopefully we'll sort that out one day.
- Briefly dev2unit() inside the make_dev(9) manual page, since this is now the preferred macro to obtain character device unit numbers inside the kernel.
- Remove the device_ids(9) manual page. It contains highly inaccurate information, such as a description of the nonexistent major().
show more ...
|
| #
edde8745 |
| 26-Sep-2008 |
Ed Schouten <[email protected]> |
Rename the `minor' argument of make_dev(9) to `unit'.
To prevent any further confusion about device minor and unit numbers, we'd better just refer to device unit numbers. Many people still think the
Rename the `minor' argument of make_dev(9) to `unit'.
To prevent any further confusion about device minor and unit numbers, we'd better just refer to device unit numbers. Many people still think the numbers we show inside devfs have any relation to the numbers passed to make_dev(9), which is not the case.
Discussed with: kib
show more ...
|
| #
fe754649 |
| 11-Sep-2008 |
Konstantin Belousov <[email protected]> |
Document make_dev_credf(9), destroy_dev_sched(9) and destroy_dev_drain(9) functions.
Reviewed by: brueffer
|
|
Revision tags: release/7.0.0, release/6.3.0 |
|
| #
77213b87 |
| 09-May-2007 |
Christian Brueffer <[email protected]> |
Bump date for previous commit, also new sentence -> new line.
|
| #
2557913d |
| 06-May-2007 |
John-Mark Gurney <[email protected]> |
Document the additional fields, si_drv1 and si_drv2 that are available for the user to use...
MFC after: 1 week
|
|
Revision tags: release/6.2.0 |
|
| #
1dfbd9c2 |
| 24-Nov-2006 |
Warner Losh <[email protected]> |
Make it clear that the device name may contain '/' characters to place a device in a subdirectory. Also explicitly state that the name is constructed using fmt like printf would print it.
MFC After
Make it clear that the device name may contain '/' characters to place a device in a subdirectory. Also explicitly state that the name is constructed using fmt like printf would print it.
MFC After: 3 days
show more ...
|
|
Revision tags: release/5.5.0 |
|
| #
74c9ea0c |
| 08-May-2006 |
John-Mark Gurney <[email protected]> |
match w/ prototype...
MFC after: 3 days
|
|
Revision tags: release/6.1.0 |
|
| #
daff7d3b |
| 18-Jan-2006 |
Warner Losh <[email protected]> |
Bump date to Sept 20, the date of the last content change
|
|
Revision tags: release/6.0.0 |
|
| #
097fcfeb |
| 20-Sep-2005 |
Warner Losh <[email protected]> |
Sprinkle a few stars where they belong.
|