Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: phy: Add SDPX tag based on COPYING file

Some of the PHY and MDIO drivers refer to the COPYING file in the main
directory of this archive. This is the main license for Linux, thus
GPLv2 plus syscall extension.

Fixup the MODULE_LICENSE() where needed and add an SDPX header for
GPLv2.

Cc: David Daney <david.daney@cavium.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Andrew Lunn and committed by
David S. Miller
8bbe833a 5f857575

+13 -34
+2 -5
drivers/net/phy/bcm87xx.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 - * This file is subject to the terms and conditions of the GNU General Public 3 - * License. See the file "COPYING" in the main directory of this archive 4 - * for more details. 5 - * 6 3 * Copyright (C) 2011 - 2012 Cavium, Inc. 7 4 */ 8 5 ··· 218 221 219 222 module_phy_driver(bcm87xx_driver); 220 223 221 - MODULE_LICENSE("GPL"); 224 + MODULE_LICENSE("GPL v2");
+2 -5
drivers/net/phy/mdio-cavium.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 - * This file is subject to the terms and conditions of the GNU General Public 3 - * License. See the file "COPYING" in the main directory of this archive 4 - * for more details. 5 - * 6 3 * Copyright (C) 2009-2016 Cavium, Inc. 7 4 */ 8 5 ··· 147 150 148 151 MODULE_DESCRIPTION("Common code for OCTEON and Thunder MDIO bus drivers"); 149 152 MODULE_AUTHOR("David Daney"); 150 - MODULE_LICENSE("GPL"); 153 + MODULE_LICENSE("GPL v2");
+1 -4
drivers/net/phy/mdio-cavium.h
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 - * This file is subject to the terms and conditions of the GNU General Public 3 - * License. See the file "COPYING" in the main directory of this archive 4 - * for more details. 5 - * 6 3 * Copyright (C) 2009-2016 Cavium, Inc. 7 4 */ 8 5
+2 -5
drivers/net/phy/mdio-mux-gpio.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 - * This file is subject to the terms and conditions of the GNU General Public 3 - * License. See the file "COPYING" in the main directory of this archive 4 - * for more details. 5 - * 6 3 * Copyright (C) 2011, 2012 Cavium, Inc. 7 4 */ 8 5 ··· 100 103 MODULE_DESCRIPTION(DRV_DESCRIPTION); 101 104 MODULE_VERSION(DRV_VERSION); 102 105 MODULE_AUTHOR("David Daney"); 103 - MODULE_LICENSE("GPL"); 106 + MODULE_LICENSE("GPL v2");
+2 -5
drivers/net/phy/mdio-mux.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 - * This file is subject to the terms and conditions of the GNU General Public 3 - * License. See the file "COPYING" in the main directory of this archive 4 - * for more details. 5 - * 6 3 * Copyright (C) 2011, 2012 Cavium, Inc. 7 4 */ 8 5 ··· 207 210 208 211 MODULE_DESCRIPTION(DRV_DESCRIPTION); 209 212 MODULE_AUTHOR("David Daney"); 210 - MODULE_LICENSE("GPL"); 213 + MODULE_LICENSE("GPL v2");
+2 -5
drivers/net/phy/mdio-octeon.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 - * This file is subject to the terms and conditions of the GNU General Public 3 - * License. See the file "COPYING" in the main directory of this archive 4 - * for more details. 5 - * 6 3 * Copyright (C) 2009-2015 Cavium, Inc. 7 4 */ 8 5 ··· 119 122 120 123 MODULE_DESCRIPTION("Cavium OCTEON MDIO bus driver"); 121 124 MODULE_AUTHOR("David Daney"); 122 - MODULE_LICENSE("GPL"); 125 + MODULE_LICENSE("GPL v2");
+2 -5
drivers/net/phy/mdio-thunder.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 - * This file is subject to the terms and conditions of the GNU General Public 3 - * License. See the file "COPYING" in the main directory of this archive 4 - * for more details. 5 - * 6 3 * Copyright (C) 2009-2016 Cavium, Inc. 7 4 */ 8 5 ··· 148 151 module_pci_driver(thunder_mdiobus_driver); 149 152 150 153 MODULE_DESCRIPTION("Cavium ThunderX MDIO bus driver"); 151 - MODULE_LICENSE("GPL"); 154 + MODULE_LICENSE("GPL v2");