From nobody Sat Mar 08 18:35:04 2025 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Z9BfJ59Nwz5pZcK; Sat, 08 Mar 2025 18:35:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Z9BfJ4V3xz3b3G; Sat, 08 Mar 2025 18:35:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1741458904; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=9csCkMeq7nylboaScGbWVpjS5SWvTCYZ89tIodoj5I0=; b=R82Jfe0ZxBgFXa1P397397nnwhdm3WPuS9XumsAiuHSjdUKUwI1eQU/hkxw7Bphc7+qSxF CbMh2zsQsQq08TV6XQqDJDUldf22e9Ig+nlTkGG4ONsPzrSODQ+3FusNBc1WkftbSFxhTP tOd9dYW9/m1XnuhmJ88X049ofr/L25i0eU0hTjhjpLH4I0LyitaemPWamIJ0WYon1XrQNv WLgOZASjYYPLnXKhPgXp+RigeFwHQwQ8fspjvPWer3jttd/AoH6v7wUt03K+m8Rg/HqUU8 joXv3jG/P8guENazreyQej8jG6rIOkOc0Pdrb4bQrkvhdBuXAOMOCAoENBtAxQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1741458904; a=rsa-sha256; cv=none; b=PsR5aizLfWMg/6e9qbJSxYAiOE7eGWjZeWv14rg7L2xtGifxwMKvdFBp67DvIf2+w49/lK dr2t5nAJlDNSDSyIpQly+niTDuMGB5xyn832F69/Qdn8kH/GGrlnEOHOwpGR/RTa+ruF/c K6lerVEkHCxva5IoMSn/tC2dexWLa1q6Hbl7fhisW084tuwKUM8s4Oh34q2xyOcm8T++/S GuB86e2ekmdyC9cJ5JvAzA/PIdb4RcVhb8O/+SkAVZZIiityD1UXfHrNN7ALz7+FQ3ylxh maqXaspV87ud+B4lF+cNFGoDYIja9JbiDENBxrteejKMDmdS2+bJRMNjDulvTw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1741458904; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=9csCkMeq7nylboaScGbWVpjS5SWvTCYZ89tIodoj5I0=; b=j12z/Xe5vwzTgiHTfAgBdvTH7hAMPdyhdwskvpJQTLcu0nCFN9DPXv3/lZbz0LJ8iJ60qt /ovEx76Mn9Wyvpw6XWuoJP1Cw3n33yrcqkteDy7baraWcLmfepnpzp0jcsSfdyEv3wxiGp QS1fAZV7foTxwLUXQFbQu2BnHmALnW6HLvKI12YTM+MsnOvn01qxtiHsq3rUAJY+6lVT0L VsTzScnC/OYwyreQ4EPa9mojX408nZ1cmqFInJHHXVHsRvVOxsltHv8XcPCOWfOybI+5k2 zpFf4I1yrcr0JyUqMm2FdAdoR+aalVQPOyGRs9wzzkKoU2iZm51y2yJm8W+X4A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Z9BfJ45FZzbYC; Sat, 08 Mar 2025 18:35:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 528IZ4D1058262; Sat, 8 Mar 2025 18:35:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 528IZ4aE058259; Sat, 8 Mar 2025 18:35:04 GMT (envelope-from git) Date: Sat, 8 Mar 2025 18:35:04 GMT Message-Id: <202503081835.528IZ4aE058259@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 1016b3c34435 - main - cam: Update scsi_all.h to reflect 30 years of evolution List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1016b3c344350fa5968f16852e5e4e388c51d817 Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=1016b3c344350fa5968f16852e5e4e388c51d817 commit 1016b3c344350fa5968f16852e5e4e388c51d817 Author: Warner Losh AuthorDate: 2025-03-08 18:28:50 +0000 Commit: Warner Losh 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 (julian@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 + * Copyright (c) 2012-2020 Alexander Motin + * Copyright (c) 1997-2011 Justin T. Gibbs * - * 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 (julian@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. */ /*