SPDX conversion for bonding, 8390, and i825xx drivers
Subsystems (6)
cover SPDX conversion for bonding, 8390, and i825xx drivers
This series is SPDX conversion for bonding, 8390, and i825xx driver subsystems. It is splitted from v2 of my SPDX conversion series in response to Didi's GPL full name fixes [1] to make it easily digestible.
The conversion in this series is divided by each subsystem and by license type.
Happy reviewing!
[1]: https://lore.kernel.org/linux-spdx/[email protected]/
Bagas Sanjaya (5):
net: bonding: Add SPDX identifier to remaining files
net: ethernet: 8390: Convert unversioned GPL notice to SPDX license
identifier
net: ethernet: 8390: Replace GPL 2.0 boilerplate with SPDX identifier
net: ethernet: i825xx: Replace unversioned GPL (GPL 1.0) notice with
SPDX identifier
net: ethernet: i825xx: sun3_8256: Add SPDX license identifier
drivers/net/bonding/bond_main.c | 3 ++- drivers/net/bonding/bonding_priv.h | 4 +--- drivers/net/ethernet/8390/8390.h | 2 ++ drivers/net/ethernet/8390/apne.c | 7 +------ drivers/net/ethernet/8390/axnet_cs.c | 6 +++--- drivers/net/ethernet/8390/hydra.c | 6 ++---- drivers/net/ethernet/8390/lib8390.c | 5 ++--- drivers/net/ethernet/8390/mac8390.c | 6 ++---- drivers/net/ethernet/8390/mcf8390.c | 4 +--- drivers/net/ethernet/8390/ne.c | 4 +--- drivers/net/ethernet/8390/ne2k-pci.c | 1 + drivers/net/ethernet/8390/pcnet_cs.c | 5 ++--- drivers/net/ethernet/8390/smc-ultra.c | 4 +--- drivers/net/ethernet/8390/stnic.c | 5 +---- drivers/net/ethernet/8390/wd.c | 4 +--- drivers/net/ethernet/8390/zorro8390.c | 7 +------ drivers/net/ethernet/i825xx/82596.c | 5 ++--- drivers/net/ethernet/i825xx/lasi_82596.c | 5 ++--- drivers/net/ethernet/i825xx/lib82596.c | 5 ++--- drivers/net/ethernet/i825xx/sun3_82586.c | 1 + drivers/net/ethernet/i825xx/sun3_82586.h | 1 + include/net/bonding.h | 4 +--- 22 files changed, 33 insertions(+), 61 deletions(-)
base-commit: b41caaded077aa8e7617c15e87d0503df8e7739e
Signature · 1 line
An old man doll... just what I always wanted! - Clara
PATCH 1/5 net: bonding: Add SPDX identifier to remaining files
Previous batches of SPDX conversion missed bond_main.c and bonding_priv.h because these files doesn't mention intended GPL version. Add SPDX identifier to these files, assuming GPL 1.0+.
--- drivers/net/bonding/bond_main.c | 3 ++- drivers/net/bonding/bonding_priv.h | 4 +--- include/net/bonding.h | 4 +--- 3 files changed, 4 insertions(+), 7 deletions(-)
drivers/net/bonding/bond_main.c +2 -1
@@ -1,8 +1,9 @@ +// SPDX-License-Identifier: GPL-1.0+ /* * originally based on the dummy device. * * Copyright 1999, Thomas Davis, [email protected]. -* Licensed under the GPL. Based on dummy.c, and eql.c devices. +* Based on dummy.c, and eql.c devices. * * bonding.c: an Ethernet Bonding driver *
drivers/net/bonding/bonding_priv.h +1 -3
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-1.0+ */ /* * Bond several ethernet interfaces into a Cisco, running 'Etherchannel'. *
@@ -7,9 +8,6 @@* BUT, I'm the one who modified it for ethernet, so: * (c) Copyright 1999, Thomas Davis, [email protected] * -* This software may be used and distributed according to the terms -* of the GNU Public License, incorporated herein by reference. -* */ #ifndef _BONDING_PRIV_H
include/net/bonding.h +1 -3
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-1.0+ */ /* * Bond several ethernet interfaces into a Cisco, running 'Etherchannel'. *
@@ -7,9 +8,6 @@* BUT, I'm the one who modified it for ethernet, so: * (c) Copyright 1999, Thomas Davis, [email protected] * -* This software may be used and distributed according to the terms -* of the GNU Public License, incorporated herein by reference. -* */ #ifndef _NET_BONDING_H
Signature · 1 line
An old man doll... just what I always wanted! - Clara
PATCH 2/5 net: ethernet: 8390: Convert unversioned GPL notice to SPDX license identifier
In reply to Bagas SanjayaReplace boilerplate notice for unversioned GPL to SPDX tag for GPL 1.0+. For ne2k-pci.c, only add SPDX tag and keep the boilerplate instead, since the boilerplate notes that it must be preserved.
--- drivers/net/ethernet/8390/8390.h | 2 ++ drivers/net/ethernet/8390/axnet_cs.c | 6 +++--- drivers/net/ethernet/8390/lib8390.c | 5 ++--- drivers/net/ethernet/8390/mac8390.c | 6 ++---- drivers/net/ethernet/8390/ne.c | 4 +--- drivers/net/ethernet/8390/ne2k-pci.c | 1 + drivers/net/ethernet/8390/pcnet_cs.c | 5 ++--- drivers/net/ethernet/8390/smc-ultra.c | 4 +--- drivers/net/ethernet/8390/wd.c | 4 +--- 9 files changed, 15 insertions(+), 22 deletions(-)
drivers/net/ethernet/8390/8390.h +2 -0
@@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-1.0+ */ +/* Generic NS8390 register definitions. */ /* This file is part of Donald Becker's 8390 drivers, and is distributed
drivers/net/ethernet/8390/axnet_cs.c +3 -3
@@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-1.0+ +/*====================================================================== A PCMCIA ethernet driver for Asix AX88190-based cards
@@ -17,9 +19,7 @@Written 1992,1993 by Donald Becker. Copyright 1993 United States Government as represented by the -Director, National Security Agency. This software may be used and -distributed according to the terms of the GNU General Public License, -incorporated herein by reference. +Director, National Security Agency. Donald Becker may be reached at [email protected] ======================================================================*/
drivers/net/ethernet/8390/lib8390.c +2 -3
@@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-1.0+ +/* 8390.c: A general NS8390 ethernet driver core for linux. */ /* Written 1992-94 by Donald Becker.
@@ -5,9 +7,6 @@ Copyright 1993 United States Government as represented by the Director, National Security Agency. - This software may be used and distributed according to the terms - of the GNU General Public License, incorporated herein by reference. - The author may be reached as [email protected], or C/O Scyld Computing Corporation 410 Severn Ave., Suite 210
drivers/net/ethernet/8390/mac8390.c +2 -4
@@ -1,11 +1,9 @@ +// SPDX-License-Identifier: GPL-1.0+ /* mac8390.c: New driver for 8390-based Nubus (or Nubus-alike) Ethernet cards on Linux */ /* Based on the former daynaport.c driver, by Alan Cox. Some code taken from or inspired by skeleton.c by Donald Becker, acenic.c by -Jes Sorensen, and ne2k-pci.c by Donald Becker and Paul Gortmaker. - -This software may be used and distributed according to the terms of -the GNU Public License, incorporated herein by reference. */ +Jes Sorensen, and ne2k-pci.c by Donald Becker and Paul Gortmaker. */ /* 2000-02-28: support added for Dayna and Kinetics cards by [email protected] */
drivers/net/ethernet/8390/ne.c +1 -3
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-1.0+ /* ne.c: A general non-shared-memory NS8390 ethernet driver for linux. */ /* Written 1992-94 by Donald Becker.
@@ -5,9 +6,6 @@ Copyright 1993 United States Government as represented by the Director, National Security Agency. - This software may be used and distributed according to the terms - of the GNU General Public License, incorporated herein by reference. - The author may be reached as [email protected], or C/O Scyld Computing Corporation, 410 Severn Ave., Suite 210, Annapolis MD 21403
drivers/net/ethernet/8390/ne2k-pci.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-1.0+ /* A Linux device driver for PCI NE2000 clones. * * Authors and other copyright holders:
drivers/net/ethernet/8390/pcnet_cs.c +2 -3
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-1.0+ /*====================================================================== A PCMCIA ethernet driver for NS8390-based cards
@@ -17,9 +18,7 @@ Written 1992,1993 by Donald Becker. Copyright 1993 United States Government as represented by the - Director, National Security Agency. This software may be used and - distributed according to the terms of the GNU General Public License, - incorporated herein by reference. + Director, National Security Agency. Donald Becker may be reached at [email protected] Based also on Keith Moore's changes to Don Becker's code, for IBM
drivers/net/ethernet/8390/smc-ultra.c +1 -3
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-1.0+ /* smc-ultra.c: A SMC Ultra ethernet driver for linux. */ /* This is a driver for the SMC Ultra and SMC EtherEZ ISA ethercards.
@@ -7,9 +8,6 @@ Copyright 1993 United States Government as represented by the Director, National Security Agency. - This software may be used and distributed according to the terms - of the GNU General Public License, incorporated herein by reference. - The author may be reached as [email protected], or C/O Scyld Computing Corporation 410 Severn Ave., Suite 210
drivers/net/ethernet/8390/wd.c +1 -3
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-1.0+ /* wd.c: A WD80x3 ethernet driver for linux. */ /* Written 1993-94 by Donald Becker.
@@ -5,9 +6,6 @@ Copyright 1993 United States Government as represented by the Director, National Security Agency. - This software may be used and distributed according to the terms - of the GNU General Public License, incorporated herein by reference. - The author may be reached as [email protected], or C/O Scyld Computing Corporation 410 Severn Ave., Suite 210
Signature · 1 line
An old man doll... just what I always wanted! - Clara
PATCH 3/5 net: ethernet: 8390: Replace GPL 2.0 boilerplate with SPDX identifier
In reply to Bagas SanjayaThe boilerplate refers to COPYING in the top-level directory of kernel tree. Replace it with corresponding SPDX license identifier.
--- drivers/net/ethernet/8390/apne.c | 7 +------ drivers/net/ethernet/8390/hydra.c | 6 ++---- drivers/net/ethernet/8390/mcf8390.c | 4 +--- drivers/net/ethernet/8390/stnic.c | 5 +---- drivers/net/ethernet/8390/zorro8390.c | 7 +------ 5 files changed, 6 insertions(+), 23 deletions(-)
drivers/net/ethernet/8390/apne.c +1 -6
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Amiga Linux/68k 8390 based PCMCIA Ethernet Driver for the Amiga 1200 *
@@ -19,12 +20,6 @@* * ---------------------------------------------------------------------------- * -* This file is subject to the terms and conditions of the GNU General Public -* License. See the file COPYING in the main directory of the Linux -* distribution for more details. -* -* ---------------------------------------------------------------------------- -* */
drivers/net/ethernet/8390/hydra.c +2 -4
@@ -1,10 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only +/* New Hydra driver using generic 8390 core */ /* Based on old hydra driver by Topi Kanerva ([email protected]) */ -/* This file is subject to the terms and conditions of the GNU General */ -/* Public License. See the file COPYING in the main directory of the */ -/* Linux distribution for more details. */ -/* Peter De Schrijver ([email protected]) */ /* Oldenburg 2000 */
drivers/net/ethernet/8390/mcf8390.c +1 -3
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Support for ColdFire CPU based boards using a NS8390 Ethernet device. *
@@ -5,9 +6,6 @@* * (C) Copyright 2012, Greg Ungerer <[email protected]> * -* This file is subject to the terms and conditions of the GNU General Public -* License. See the file COPYING in the main directory of the Linux -* distribution for more details. */ #include <linux/module.h>
drivers/net/ethernet/8390/stnic.c +1 -4
@@ -1,8 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only /* stnic.c : A SH7750 specific part of driver for NS DP83902A ST-NIC. -* -* This file is subject to the terms and conditions of the GNU General Public -* License. See the file "COPYING" in the main directory of this archive -* for more details. * * Copyright (C) 1999 kaz Kojima */
drivers/net/ethernet/8390/zorro8390.c +1 -6
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Amiga Linux/m68k and Linux/PPC Zorro NS8390 Ethernet Driver *
@@ -9,12 +10,6 @@* * --------------------------------------------------------------------------- * -* This file is subject to the terms and conditions of the GNU General Public -* License. See the file COPYING in the main directory of the Linux -* distribution for more details. -* -* --------------------------------------------------------------------------- -* * The Ariadne II and X-Surf are Zorro-II boards containing Realtek RTL8019AS * Ethernet Controllers. */
Signature · 1 line
An old man doll... just what I always wanted! - Clara
PATCH 4/5 net: ethernet: i825xx: Replace unversioned GPL (GPL 1.0) notice with SPDX identifier
In reply to Bagas SanjayaReplace unversioned GPL boilerplate notice with corresponding SPDX license identifier, which is GPL 1.0+.
--- drivers/net/ethernet/i825xx/82596.c | 5 ++--- drivers/net/ethernet/i825xx/lasi_82596.c | 5 ++--- drivers/net/ethernet/i825xx/lib82596.c | 5 ++--- 3 files changed, 6 insertions(+), 9 deletions(-)
drivers/net/ethernet/i825xx/82596.c +2 -3
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-1.0+ /* 82596.c: A generic 82596 ethernet driver for linux. */ /* Based on Apricot.c
@@ -31,9 +32,7 @@ Driver skeleton Written 1993 by Donald Becker. Copyright 1993 United States Government as represented by the Director, - National Security Agency. This software may only be used and distributed - according to the terms of the GNU General Public License as modified by SRC, - incorporated herein by reference. + National Security Agency. The author may be reached as [email protected], or C/O Scyld Computing Corporation, 410 Severn Ave., Suite 210, Annapolis MD 21403
drivers/net/ethernet/i825xx/lasi_82596.c +2 -3
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-1.0+ /* lasi_82596.c -- driver for the intel 82596 ethernet controller, as munged into HPPA boxen .
@@ -59,9 +60,7 @@ Driver skeleton Written 1993 by Donald Becker. Copyright 1993 United States Government as represented by the Director, - National Security Agency. This software may only be used and distributed - according to the terms of the GNU General Public License as modified by SRC, - incorporated herein by reference. + National Security Agency. The author may be reached as [email protected], or C/O Scyld Computing Corporation, 410 Severn Ave., Suite 210, Annapolis MD 21403
drivers/net/ethernet/i825xx/lib82596.c +2 -3
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-1.0+ /* lasi_82596.c -- driver for the intel 82596 ethernet controller, as munged into HPPA boxen .
@@ -59,9 +60,7 @@ Driver skeleton Written 1993 by Donald Becker. Copyright 1993 United States Government as represented by the Director, - National Security Agency. This software may only be used and distributed - according to the terms of the GNU General Public License as modified by SRC, - incorporated herein by reference. + National Security Agency. The author may be reached as [email protected], or C/O Scyld Computing Corporation, 410 Severn Ave., Suite 210, Annapolis MD 21403
Signature · 1 line
An old man doll... just what I always wanted! - Clara
Re: [PATCH net 4/5] net: ethernet: i825xx: Replace unversioned GPL (GPL 1.0) notice with SPDX identifier
Hi Bagas,
Quoted 7 lines · Bagas Sanjaya
Replace unversioned GPL boilerplate notice with corresponding SPDX license identifier, which is GPL 1.0+.
Cc Donald Becker <[email protected]>Cc Richard Hirst <[email protected]>Cc Sam Creasey <[email protected]>Signed-off-by Bagas Sanjaya <[email protected]>
Thanks for your patch, which is now commit 9ac40d080befb4a0 ("net:
ethernet: i825xx: Replace unversioned GPL (GPL 1.0) notice with SPDX identifier") in net-next/main and next-20230517.
Quoted 13 lines
drivers/net/ethernet/i825xx/82596.c | 5 ++--- drivers/net/ethernet/i825xx/lasi_82596.c | 5 ++--- drivers/net/ethernet/i825xx/lib82596.c | 5 ++--- 3 files changed, 6 insertions(+), 9 deletions(-)drivers/net/ethernet/i825xx/82596.c +1
-0@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-1.0+ /* 82596.c: A generic 82596 ethernet driver for linux. */ /* Based on Apricot.c
drivers/net/ethernet/i825xx/82596.c line 35
Quoted 7 lines
drivers/net/ethernet/i825xx/82596.c +1
-3@@ -31,9 +32,7 @@ Driver skeleton Written 1993 by Donald Becker. Copyright 1993 United States Government as represented by the Director, - National Security Agency. This software may only be used and distributed - according to the terms of the GNU General Public License as modified by SRC, - incorporated herein by reference. + National Security Agency.
This file is not licensed under the "unversioned GPL", but under the "GNU General Public License as modified by SRC".
Cfr. https://elixir.bootlin.com/linux/latest/source/drivers/net/LICENSE.SRC
Hence you removed important legal information.
Same for the two other files.
drivers/net/ethernet/i825xx/82596.c line 37
Quoted 3 lines
drivers/net/ethernet/i825xx/82596.c +0
-0The author may be reached as [email protected], or C/O Scyld Computing Corporation, 410 Severn Ave., Suite 210, Annapolis MD 21403
Gr{oetje,eeting}s,
Geert
Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
Re: [PATCH net 4/5] net: ethernet: i825xx: Replace unversioned GPL (GPL 1.0) notice with SPDX identifier
Quoted 41 lines · Geert Uytterhoeven
Hi Bagas,
Quoted 7 lines · Bagas Sanjaya
Replace unversioned GPL boilerplate notice with corresponding SPDX license identifier, which is GPL 1.0+.
Cc Donald Becker <[email protected]>Cc Richard Hirst <[email protected]>Cc Sam Creasey <[email protected]>Signed-off-by Bagas Sanjaya <[email protected]>Thanks for your patch, which is now commit
9ac40d080befb4a0("net:
ethernet: i825xx: Replace unversioned GPL (GPL 1.0) notice with SPDX identifier") in net-next/main and next-20230517.Quoted 13 lines
drivers/net/ethernet/i825xx/82596.c | 5 ++--- drivers/net/ethernet/i825xx/lasi_82596.c | 5 ++--- drivers/net/ethernet/i825xx/lib82596.c | 5 ++--- 3 files changed, 6 insertions(+), 9 deletions(-)drivers/net/ethernet/i825xx/82596.c +1
-0@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-1.0+ /* 82596.c: A generic 82596 ethernet driver for linux. */ /* Based on Apricot.c drivers/net/ethernet/i825xx/82596.c line 35
Quoted 7 lines
drivers/net/ethernet/i825xx/82596.c +1
-3@@ -31,9 +32,7 @@ Driver skeleton Written 1993 by Donald Becker. Copyright 1993 United States Government as represented by the Director, - National Security Agency. This software may only be used and distributed - according to the terms of the GNU General Public License as modified by SRC, - incorporated herein by reference. + National Security Agency.This file is not licensed under the "unversioned GPL", but under the "GNU General Public License as modified by SRC".
Cfr. https://elixir.bootlin.com/linux/latest/source/drivers/net/LICENSE.SRC
Hence you removed important legal information.
Quoted 2 lines
Same for the two other files.
Oops, thanks for pointing it out!
I included Donald Becker in Cc to ask if this conversion is OK, but emails to him (including this patch series) bounced (unreachable domain).
Signature · 1 line
An old man doll... just what I always wanted! - Clara
PATCH 5/5 net: ethernet: i825xx: sun3_8256: Add SPDX license identifier
In reply to Bagas SanjayaThe boilerplate reads that sun3_8256 driver is an extension to Linux kernel core, hence add SPDX license identifier for GPL 2.0.
--- drivers/net/ethernet/i825xx/sun3_82586.c | 1 + drivers/net/ethernet/i825xx/sun3_82586.h | 1 + 2 files changed, 2 insertions(+)
drivers/net/ethernet/i825xx/sun3_82586.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Sun3 i82586 Ethernet driver *
drivers/net/ethernet/i825xx/sun3_82586.h +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Intel i82586 Ethernet definitions *
Signature · 1 line
An old man doll... just what I always wanted! - Clara
This series was applied to netdev/net-next.git (main) by Paolo Abeni <[email protected]>:
Hello:
This series was applied to netdev/net-next.git (main) by Paolo Abeni <[email protected]>:
Quoted 9 lines · On Mon, 15 May 2023 13:07:10 +0700 you wrote:
This series is SPDX conversion for bonding, 8390, and i825xx driver subsystems. It is splitted from v2 of my SPDX conversion series in response to Didi's GPL full name fixes [1] to make it easily digestible.
The conversion in this series is divided by each subsystem and by license type.
[...]
Here is the summary with links:
- [net,1/5] net: bonding: Add SPDX identifier to remaining files
https://git.kernel.org/netdev/net-next/c/613a014191f5 - [net,2/5] net: ethernet: 8390: Convert unversioned GPL notice to SPDX license identifier https://git.kernel.org/netdev/net-next/c/dc3eb2f4ec09 - [net,3/5] net: ethernet: 8390: Replace GPL 2.0 boilerplate with SPDX identifier https://git.kernel.org/netdev/net-next/c/9f07af05d0e4 - [net,4/5] net: ethernet: i825xx: Replace unversioned GPL (GPL 1.0) notice with SPDX identifier https://git.kernel.org/netdev/net-next/c/9ac40d080bef - [net,5/5] net: ethernet: i825xx: sun3_8256: Add SPDX license identifier https://git.kernel.org/netdev/net-next/c/4f693a8f5617
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html