#
8b6876e1 |
| 02-Jan-2024 |
Wilbert Allen Koeswoyo Suwito <nwilbertallen@gapp.nthu.edu.tw> |
chio(8): Fix typo in the copyright section
Event: Advanced UNIX Programming Course (Fall’23) at NTHU. Pull Request: https://github.com/freebsd/freebsd-src/pull/978
|
#
0b8224d1 |
| 24-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove copyright strings ifdef'd out
We've ifdef'd out the copyright strings for some time now. Go ahead and remove the ifdefs. Plus whatever other detritis was left over from other recent removals.
Remove copyright strings ifdef'd out
We've ifdef'd out the copyright strings for some time now. Go ahead and remove the ifdefs. Plus whatever other detritis was left over from other recent removals. These copyright strings are present in the comments and are largely from CSRG's attempt at adding their copyright to every binary file (which modern interpretations of the license doesn't require).
Sponsored by: Netflix
show more ...
|
Revision tags: release/14.0.0 |
|
#
1d386b48 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
#
e9746806 |
| 07-Jul-2023 |
Alfonso Gregory <gfunni234@gmail.com> |
Mark usage function as __dead2 in programs where it does not return
In most cases, usage does not return, so mark them as __dead2. For the cases where they do return, they have not been marked __dea
Mark usage function as __dead2 in programs where it does not return
In most cases, usage does not return, so mark them as __dead2. For the cases where they do return, they have not been marked __dead2.
Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/735
show more ...
|
Revision tags: release/13.2.0, release/12.4.0 |
|
#
3b899d5a |
| 25-Oct-2022 |
Warner Losh <imp@FreeBSD.org> |
chio: Mark some arguments as unused.
Sponsored by: Netflix
|
Revision tags: release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0 |
|
#
c7aa572c |
| 31-Jul-2020 |
Glen Barber <gjb@FreeBSD.org> |
MFH
Sponsored by: Rubicon Communications, LLC (netgate.com)
|
#
8550ddb2 |
| 26-Jul-2020 |
Ed Maste <emaste@FreeBSD.org> |
chio: avoid out of bounds read
ch_ces is alloacated with space for total_elem entries.
CID: 1418536 Reported by: Coverity Scan Sponsored by: The FreeBSD Foundation
|
Revision tags: 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, release/10.2.0, release/10.1.0, release/9.3.0, release/10.0.0, release/9.2.0 |
|
#
d1d01586 |
| 05-Sep-2013 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Merge from head
|
#
40f65a4d |
| 07-Aug-2013 |
Peter Grehan <grehan@FreeBSD.org> |
IFC @ r254014
|
#
552311f4 |
| 17-Jul-2013 |
Xin LI <delphij@FreeBSD.org> |
IFC @253398
|
#
cfe30d02 |
| 19-Jun-2013 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Merge fresh head.
|
Revision tags: release/8.4.0 |
|
#
21b6ee96 |
| 19-Apr-2013 |
Kenneth D. Merry <ken@FreeBSD.org> |
Update chio(1) and ch(4) to support reporting element designators.
This allows mapping a tape drive in a changer (as reported by 'chio status') to a sa(4) driver instance by comparing the serial num
Update chio(1) and ch(4) to support reporting element designators.
This allows mapping a tape drive in a changer (as reported by 'chio status') to a sa(4) driver instance by comparing the serial numbers.
The designators can be ASCII (which is printed out directly), binary (which is printed in hex format) or UTF-8, which is printed in either native UTF-8 format if the terminal can support it, or in %XX notation for non-ASCII characters. Thanks to Hiroki Sato <hrs@> for the explaining UTF-8 printing and example UTF-8 printing code.
chio.h: Modify the changer_element_status structure to add new fields and definitions from the SMC3r16 spec.
Rename the original CHIOGSTATUS ioctl to OCHIOGTATUS and define a new CHIOGSTATUS ioctl.
Clean up some tab/space issues.
chio.c: For the 'status' subcommand, print the designator field if it is supplied by a device.
scsi_ch.h: Add new flags for DVCID and CURDATA to the READ ELEMENT STATUS command structure.
Add a read_element_status_device_id structure for the data fields in the new standard. Add new unions, dt_or_obsolete and voltage_devid, to hold and address data from either SCSI-2 or newer devices.
scsi_ch.c: Implement support for fetching device IDs with READ ELEMENT STATUS data.
Add new arguments to scsi_read_element_status() to allow the user to request the DVCID and CURDATA bits. This isn't compiled into libcam (it's only an internal kernel interface), so we don't need any special handling for the API change.
If the user issues the new CHIOGSTATUS ioctl, copy all of the available element status data out. If he issues the OCHIOGSTATUS ioctl, we don't copy the new fields in the structure.
Fix a bug in chopen() that would result in the peripheral never getting unheld if chgetparams() failed.
Sponsored by: Spectra Logic Submitted by: Po-Li Soong MFC After: 1 week
show more ...
|
Revision tags: release/9.1.0, release/8.3.0_cvs, release/8.3.0 |
|
#
8fa0b743 |
| 23-Jan-2012 |
Xin LI <delphij@FreeBSD.org> |
IFC @230489 (pending review).
|
#
80dbff4e |
| 04-Jan-2012 |
Sean Bruno <sbruno@FreeBSD.org> |
IFC to head to catch up the bhyve branch
Approved by: grehan@
|
Revision tags: release/9.0.0 |
|
#
46974387 |
| 11-Dec-2011 |
Ed Schouten <ed@FreeBSD.org> |
Add static keywords to chio(1).
All other global variables are already marked static, so for consistency sake, add them to these three arrays as well.
|
Revision tags: 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 |
|
#
c5d27505 |
| 02-Jun-2010 |
Ulrich Spörlein <uqs@FreeBSD.org> |
Zero struct before reading from it
PR: 140384 Found by: clang static analyzer MFC after: 3 weeks
|
Revision tags: 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 |
|
#
e57c2b13 |
| 04-Dec-2008 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
integrate from head@185615
|
Revision tags: release/6.4.0_cvs, release/6.4.0 |
|
#
7f33c7dd |
| 30-Oct-2008 |
Joerg Wunsch <joerg@FreeBSD.org> |
When running a "chio return" operation using a physical source unit rather than a voltag name, do not set the CESR_VOLTAGS flags in the CHIOGSTATUS command requesting the current status. As voltags
When running a "chio return" operation using a physical source unit rather than a voltag name, do not set the CESR_VOLTAGS flags in the CHIOGSTATUS command requesting the current status. As voltags are an optional feature that must be handled as "reserved" by media changers not implementing the feature, always setting CESR_VOLTAGS resulted in the command being aborted with an `Invalid field in CDB', and consequently the "chio return" failed, for media changers that do not support voltags.
MFC after: 1 week
show more ...
|
Revision tags: 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 |
|
#
9ddb49cb |
| 10-Jan-2005 |
Warner Losh <imp@FreeBSD.org> |
/*- or .\"- or #- to begin license clauses.
|
Revision tags: release/5.3.0_cvs, release/5.3.0, 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 |
|
#
09a80d48 |
| 01-May-2003 |
David E. O'Brien <obrien@FreeBSD.org> |
Quiet warnings about copyright[].
|
Revision tags: 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 |
|
#
05676782 |
| 01-Jul-2002 |
David Malone <dwmalone@FreeBSD.org> |
Remove double #include <sys/cdef.h> and __FBSDID.
PR: 40053 Submitted by: Dan Lukes <dan@obluda.cz>
|
#
5eb43ac2 |
| 30-Jun-2002 |
David E. O'Brien <obrien@FreeBSD.org> |
Consistently use __FBSDID
|
#
55fad6bb |
| 24-Mar-2002 |
Mark Murray <markm@FreeBSD.org> |
Replace use of __progname with the functionally identical and more acceptable getprogname(3).
|
#
250a0cef |
| 05-Mar-2002 |
Warner Losh <imp@FreeBSD.org> |
Use ANSI-99 int names (uintXX_t) over traditional BSD int names (u_intXX_t).
|
#
ece57645 |
| 22-Feb-2002 |
Mark Murray <markm@FreeBSD.org> |
Fix a boatload of warnings inspired by lint, a commercial lint and WARNS=4.
|