svn commit: r367801 - in head: share/man/man4 sys/dev/ena sys/modules/ena

Marcin Wojtas mw at FreeBSD.org
Wed Nov 18 15:07:37 UTC 2020


Author: mw
Date: Wed Nov 18 15:07:34 2020
New Revision: 367801
URL: https://svnweb.freebsd.org/changeset/base/367801

Log:
  Add SPDX license tag to the ENA driver files
  
  Refering to guide: https://wiki.freebsd.org/SPDX the SPDX tag should not
  replace the standard license text, however it should be added over the
  standard license text to make the automation easier.
  
  Because of that, the old license was kept, but the SPDX tag was added
  on top of every ENA driver file.
  
  Submited by:    Michal Krawczyk <mk at semihalf.com>
  Obtained from:  Semihalf
  Sponsored by:   Amazon, Inc
  MFC after:      1 week
  Differential revision:  https://reviews.freebsd.org/D27117

Modified:
  head/share/man/man4/ena.4
  head/sys/dev/ena/ena.c
  head/sys/dev/ena/ena.h
  head/sys/dev/ena/ena_datapath.c
  head/sys/dev/ena/ena_datapath.h
  head/sys/dev/ena/ena_netmap.c
  head/sys/dev/ena/ena_netmap.h
  head/sys/dev/ena/ena_sysctl.c
  head/sys/dev/ena/ena_sysctl.h
  head/sys/modules/ena/Makefile

Modified: head/share/man/man4/ena.4
==============================================================================
--- head/share/man/man4/ena.4	Wed Nov 18 15:02:12 2020	(r367800)
+++ head/share/man/man4/ena.4	Wed Nov 18 15:07:34 2020	(r367801)
@@ -1,4 +1,6 @@
-.\" Copyright (c) 2015-2017 Amazon.com, Inc. or its affiliates.
+.\" SPDX-License-Identifier: BSD-2-Clause
+.\"
+.\" Copyright (c) 2015-2020 Amazon.com, Inc. or its affiliates.
 .\" All rights reserved.
 .\"
 .\" Redistribution and use in source and binary forms, with or without

Modified: head/sys/dev/ena/ena.c
==============================================================================
--- head/sys/dev/ena/ena.c	Wed Nov 18 15:02:12 2020	(r367800)
+++ head/sys/dev/ena/ena.c	Wed Nov 18 15:07:34 2020	(r367801)
@@ -1,5 +1,5 @@
 /*-
- * BSD LICENSE
+ * SPDX-License-Identifier: BSD-2-Clause
  *
  * Copyright (c) 2015-2020 Amazon.com, Inc. or its affiliates.
  * All rights reserved.

Modified: head/sys/dev/ena/ena.h
==============================================================================
--- head/sys/dev/ena/ena.h	Wed Nov 18 15:02:12 2020	(r367800)
+++ head/sys/dev/ena/ena.h	Wed Nov 18 15:07:34 2020	(r367801)
@@ -1,5 +1,5 @@
 /*-
- * BSD LICENSE
+ * SPDX-License-Identifier: BSD-2-Clause
  *
  * Copyright (c) 2015-2020 Amazon.com, Inc. or its affiliates.
  * All rights reserved.

Modified: head/sys/dev/ena/ena_datapath.c
==============================================================================
--- head/sys/dev/ena/ena_datapath.c	Wed Nov 18 15:02:12 2020	(r367800)
+++ head/sys/dev/ena/ena_datapath.c	Wed Nov 18 15:07:34 2020	(r367801)
@@ -1,5 +1,5 @@
 /*-
- * BSD LICENSE
+ * SPDX-License-Identifier: BSD-2-Clause
  *
  * Copyright (c) 2015-2020 Amazon.com, Inc. or its affiliates.
  * All rights reserved.

Modified: head/sys/dev/ena/ena_datapath.h
==============================================================================
--- head/sys/dev/ena/ena_datapath.h	Wed Nov 18 15:02:12 2020	(r367800)
+++ head/sys/dev/ena/ena_datapath.h	Wed Nov 18 15:07:34 2020	(r367801)
@@ -1,5 +1,5 @@
 /*-
- * BSD LICENSE
+ * SPDX-License-Identifier: BSD-2-Clause
  *
  * Copyright (c) 2015-2020 Amazon.com, Inc. or its affiliates.
  * All rights reserved.

Modified: head/sys/dev/ena/ena_netmap.c
==============================================================================
--- head/sys/dev/ena/ena_netmap.c	Wed Nov 18 15:02:12 2020	(r367800)
+++ head/sys/dev/ena/ena_netmap.c	Wed Nov 18 15:07:34 2020	(r367801)
@@ -1,5 +1,5 @@
 /*-
- * BSD LICENSE
+ * SPDX-License-Identifier: BSD-2-Clause
  *
  * Copyright (c) 2015-2020 Amazon.com, Inc. or its affiliates.
  * All rights reserved.

Modified: head/sys/dev/ena/ena_netmap.h
==============================================================================
--- head/sys/dev/ena/ena_netmap.h	Wed Nov 18 15:02:12 2020	(r367800)
+++ head/sys/dev/ena/ena_netmap.h	Wed Nov 18 15:07:34 2020	(r367801)
@@ -1,5 +1,5 @@
 /*-
- * BSD LICENSE
+ * SPDX-License-Identifier: BSD-2-Clause
  *
  * Copyright (c) 2015-2020 Amazon.com, Inc. or its affiliates.
  * All rights reserved.

Modified: head/sys/dev/ena/ena_sysctl.c
==============================================================================
--- head/sys/dev/ena/ena_sysctl.c	Wed Nov 18 15:02:12 2020	(r367800)
+++ head/sys/dev/ena/ena_sysctl.c	Wed Nov 18 15:07:34 2020	(r367801)
@@ -1,5 +1,5 @@
 /*-
- * BSD LICENSE
+ * SPDX-License-Identifier: BSD-2-Clause
  *
  * Copyright (c) 2015-2020 Amazon.com, Inc. or its affiliates.
  * All rights reserved.

Modified: head/sys/dev/ena/ena_sysctl.h
==============================================================================
--- head/sys/dev/ena/ena_sysctl.h	Wed Nov 18 15:02:12 2020	(r367800)
+++ head/sys/dev/ena/ena_sysctl.h	Wed Nov 18 15:07:34 2020	(r367801)
@@ -1,5 +1,5 @@
 /*-
- * BSD LICENSE
+ * SPDX-License-Identifier: BSD-2-Clause
  *
  * Copyright (c) 2015-2020 Amazon.com, Inc. or its affiliates.
  * All rights reserved.

Modified: head/sys/modules/ena/Makefile
==============================================================================
--- head/sys/modules/ena/Makefile	Wed Nov 18 15:02:12 2020	(r367800)
+++ head/sys/modules/ena/Makefile	Wed Nov 18 15:07:34 2020	(r367801)
@@ -1,7 +1,7 @@
 #
-# BSD LICENSE
+# SPDX-License-Identifier: BSD-2-Clause
 #
-# Copyright (c) 2015-2019 Amazon.com, Inc. or its affiliates.
+# Copyright (c) 2015-2020 Amazon.com, Inc. or its affiliates.
 # All rights reserved.
 #
 # Redistribution and use in source and binary forms, with or without


More information about the svn-src-all mailing list