The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=1016b3c344350fa5968f16852e5e4e388c51d817
commit 1016b3c344350fa5968f16852e5e4e388c51d817 Author: Warner Losh <i...@freebsd.org> AuthorDate: 2025-03-08 18:28:50 +0000 Commit: Warner Losh <i...@freebsd.org> CommitDate: 2025-03-08 18:28:50 +0000 cam: Update scsi_all.h to reflect 30 years of evolution scsi_all.h started out life as a work by Julian Elischer to add SCSI support to CMU Mach 2.5. It was 373 lines. Julian ported this to 386BSD, included in the 386BSD patch kit and incorported into FreeBSD at its creation. Justin used this file when writing CAM, and imported it with the initial CAM import, but only 30% (100 lines) of the original remained. Justin moved from bitfields to bytes in structures, dropped the complex unions, and renamed many structures to have their length appended. Only about 30 structure names and about 40 #defines remained from the original. The define names were taken directly from the SCSI standard with spaces replaced by '_', so had no creativity. Apart from the license comment, there were no comments retained (all the comments in the CAM import were written by Justin and Ken). Even at that time, Justin and Ken could have put their copyrights and names and moved to an acknowledgement of Julian. In the almost 30 years since that original import, this file has grown to 4500 lines. Kenneth Merry, Alexander Motin and Justin Gibbs write 85% of the file's lines, if mechanical commits are omitted. Other contributors contributed less than %5 each of the file. Replace the original license (which lacked a copyright even and has been criticized as ambiguous) with FreeBSD's standard 2-clause license. Add copyrights for Justin, Ken and Alexander, with the date ranges they contributed to the file. Add a note about the origin of the file to acknowledge Julian's original work upon which all this was built, though it's become a ship of Theseus in the mean time, built and rebuild many times. On an absolute scale, there's less than 1% of the current file with lines from the original, and those are named after the names in the SCSI standards and likely wouldn't qualify for copyright protection. Sponsored by: Netflix Reviewed by: mav, ken Differential Revision: https://reviews.freebsd.org/D49016 --- sys/cam/scsi/scsi_all.h | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/sys/cam/scsi/scsi_all.h b/sys/cam/scsi/scsi_all.h index 7456998a4f88..4feaee081e55 100644 --- a/sys/cam/scsi/scsi_all.h +++ b/sys/cam/scsi/scsi_all.h @@ -1,18 +1,12 @@ -/*- - * Largely written by Julian Elischer (jul...@tfs.com) - * for TRW Financial Systems. - * - * TRW Financial Systems, in accordance with their agreement with Carnegie - * Mellon University, makes this software available to CMU to distribute - * or use in any manner that they see fit as long as this message is kept with - * the software. For this reason TFS also grants any other persons or - * organisations permission to use or modify this software. +/* + * Copyright (c) 1997-2017 Kenneth D. Merry <k...@freebsd.org> + * Copyright (c) 2012-2020 Alexander Motin <m...@freebsd.org> + * Copyright (c) 1997-2011 Justin T. Gibbs <gi...@freebsd.org> * - * TFS supplies this software to be publicly redistributed - * on the understanding that TFS is not responsible for the correct - * functioning of this software in any circumstances. + * SPDX-License-Identifier: BSD-2-Clause * - * Ported to run under 386BSD by Julian Elischer (jul...@tfs.com) Sept 1992 + * Original scsi_all.h from 386BSD was by Julian Elischer at TRW Financial + * Services has been transformed into a new work by subsequent contribtuors. */ /*