git: 49025a1109ac - main - _bus.h: Use standard licnese text

From: Warner Losh <imp_at_FreeBSD.org>
Date: Mon, 13 Nov 2023 19:26:42 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=49025a1109ac5f8088d21788413f843dd730e217

commit 49025a1109ac5f8088d21788413f843dd730e217
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2023-11-09 17:56:12 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-11-13 19:25:30 +0000

    _bus.h: Use standard licnese text
    
    All of these used the 'immediately at beginning' variation of the
    BSD-2-Clause license. This wasn't intentional, just what I copied from
    from a random file in the tree back in 2005. It was not an intentional
    decision.
    
    The different arch bus.h files are a mix of BSD-2-Clause and
    BSD-4-Clause that have various copyright holders (Charles M. Hannum,
    Christopher G. Demetriou, The NetBSD Foundation and KATO Takenori), and
    some of the content of these files were likely copied from there.
    However, apart from the uncopyrightable interface lines, there are very
    few comments. It's unclear if these comments are 'original material'
    here to copyright, but to the extent that there is, license it under the
    standard BSD-2-Clause copyright that's the norm for the project today.
    In any event, the standard BSD-2-Clause is also closer to those
    originals.
    
    In addition, FreeBSD uses different type definitions than the original
    NetBSD code in part. The comments that were copied have been copied a
    lot, but appear in NetBSD's bus.h files in NetBSD 1.3.
    
    While I'm here, assign the copyright, to the extent any exists from me,
    to the FreeBSD Foundation. I just cut and pasted these into _bus.h from
    the different machine files and those files have a rich history of
    modification from the original imports from NetBSD over more than 25
    years so it's tricky to say who, exactly, wrote each bit. Given the size
    of the files, this seems like the best compromise.  Also add an
    acknowledgement to the NetBSD 1.3 bus.h files and their authors (there
    were no additional FreeBSD authors listed in the various
    sys/*/include/bus.h files). Finally, use the SPDX identifier instead of
    multiple copies of the text.
    
    Differential Revision:  https://reviews.freebsd.org/D42532
    Sponsored by:           Netflix
---
 sys/amd64/include/_bus.h   | 31 +++++++------------------------
 sys/arm/include/_bus.h     | 31 +++++++------------------------
 sys/arm64/include/_bus.h   | 29 +++++++----------------------
 sys/i386/include/_bus.h    | 31 +++++++------------------------
 sys/powerpc/include/_bus.h | 31 +++++++------------------------
 sys/riscv/include/_bus.h   | 29 +++++++----------------------
 6 files changed, 42 insertions(+), 140 deletions(-)

diff --git a/sys/amd64/include/_bus.h b/sys/amd64/include/_bus.h
index 8af25c02c23c..ce73118c9793 100644
--- a/sys/amd64/include/_bus.h
+++ b/sys/amd64/include/_bus.h
@@ -1,30 +1,13 @@
 /*-
- * SPDX-License-Identifier: BSD-2-Clause
- *
- * Copyright (c) 2005 M. Warner Losh <imp@FreeBSD.org>
+ * Copyright (c) 2005 The FreeBSD Foundation.
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions, and the following disclaimer,
- *    without modification, immediately at the beginning of the file.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
+ * SPDX-License-Identifier: BSD-2-Clause
  *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
+ * Derived in part from NetBSD's bus.h files by (alphabetically):
+ *	Christopher G. Demetriou
+ *	Charles M. Hannum
+ *	Jason Thorpe
+ *	The NetBSD Foundation.
  */
 
 #ifndef AMD64_INCLUDE__BUS_H
diff --git a/sys/arm/include/_bus.h b/sys/arm/include/_bus.h
index fb3bf9da944d..fe7942c3369f 100644
--- a/sys/arm/include/_bus.h
+++ b/sys/arm/include/_bus.h
@@ -1,30 +1,13 @@
 /*-
- * SPDX-License-Identifier: BSD-2-Clause
- *
- * Copyright (c) 2005 M. Warner Losh <imp@FreeBSD.org>
+ * Copyright (c) 2005 The FreeBSD Foundation.
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions, and the following disclaimer,
- *    without modification, immediately at the beginning of the file.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
+ * SPDX-License-Identifier: BSD-2-Clause
  *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
+ * Derived in part from NetBSD's bus.h files by (alphabetically):
+ *	Christopher G. Demetriou
+ *	Charles M. Hannum
+ *	Jason Thorpe
+ *	The NetBSD Foundation.
  */
 
 #ifndef ARM_INCLUDE__BUS_H
diff --git a/sys/arm64/include/_bus.h b/sys/arm64/include/_bus.h
index b07f29b0a536..8bee1634c4f2 100644
--- a/sys/arm64/include/_bus.h
+++ b/sys/arm64/include/_bus.h
@@ -1,28 +1,13 @@
 /*-
- * Copyright (c) 2005 M. Warner Losh <imp@FreeBSD.org>
+ * Copyright (c) 2005 The FreeBSD Foundation.
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions, and the following disclaimer,
- *    without modification, immediately at the beginning of the file.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
+ * SPDX-License-Identifier: BSD-2-Clause
  *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
+ * Derived in part from NetBSD's bus.h files by (alphabetically):
+ *	Christopher G. Demetriou
+ *	Charles M. Hannum
+ *	Jason Thorpe
+ *	The NetBSD Foundation.
  */
 
 #ifndef _MACHINE__BUS_H_
diff --git a/sys/i386/include/_bus.h b/sys/i386/include/_bus.h
index 3955a4043f7f..9b6834957755 100644
--- a/sys/i386/include/_bus.h
+++ b/sys/i386/include/_bus.h
@@ -1,30 +1,13 @@
 /*-
- * SPDX-License-Identifier: BSD-2-Clause
- *
- * Copyright (c) 2005 M. Warner Losh <imp@FreeBSD.org>
+ * Copyright (c) 2005 The FreeBSD Foundation.
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions, and the following disclaimer,
- *    without modification, immediately at the beginning of the file.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
+ * SPDX-License-Identifier: BSD-2-Clause
  *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
+ * Derived in part from NetBSD's bus.h files by (alphabetically):
+ *	Christopher G. Demetriou
+ *	Charles M. Hannum
+ *	Jason Thorpe
+ *	The NetBSD Foundation.
  */
 
 #ifndef I386_INCLUDE__BUS_H
diff --git a/sys/powerpc/include/_bus.h b/sys/powerpc/include/_bus.h
index f59b0a1e30ff..bf6372ac6aea 100644
--- a/sys/powerpc/include/_bus.h
+++ b/sys/powerpc/include/_bus.h
@@ -1,30 +1,13 @@
 /*-
- * SPDX-License-Identifier: BSD-2-Clause
- *
- * Copyright (c) 2005 M. Warner Losh <imp@FreeBSD.org>
+ * Copyright (c) 2005 The FreeBSD Foundation.
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions, and the following disclaimer,
- *    without modification, immediately at the beginning of the file.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
+ * SPDX-License-Identifier: BSD-2-Clause
  *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
+ * Derived in part from NetBSD's bus.h files by (alphabetically):
+ *	Christopher G. Demetriou
+ *	Charles M. Hannum
+ *	Jason Thorpe
+ *	The NetBSD Foundation.
  */
 
 #ifndef POWERPC_INCLUDE__BUS_H
diff --git a/sys/riscv/include/_bus.h b/sys/riscv/include/_bus.h
index b07f29b0a536..8bee1634c4f2 100644
--- a/sys/riscv/include/_bus.h
+++ b/sys/riscv/include/_bus.h
@@ -1,28 +1,13 @@
 /*-
- * Copyright (c) 2005 M. Warner Losh <imp@FreeBSD.org>
+ * Copyright (c) 2005 The FreeBSD Foundation.
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions, and the following disclaimer,
- *    without modification, immediately at the beginning of the file.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
+ * SPDX-License-Identifier: BSD-2-Clause
  *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
+ * Derived in part from NetBSD's bus.h files by (alphabetically):
+ *	Christopher G. Demetriou
+ *	Charles M. Hannum
+ *	Jason Thorpe
+ *	The NetBSD Foundation.
  */
 
 #ifndef _MACHINE__BUS_H_