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

net: ethernet: ti: convert to SPDX license identifiers

Replace textual license with SPDX-License-Identifier.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Grygorii Strashko and committed by
David S. Miller
68cf027f 84ee9164

+18 -180
+1 -13
drivers/net/ethernet/ti/cpmac.c
··· 1 + // SPDX-License-Identifier: GPL-2.0+ 1 2 /* 2 3 * Copyright (C) 2006, 2007 Eugene Konev 3 4 * 4 - * This program is free software; you can redistribute it and/or modify 5 - * it under the terms of the GNU General Public License as published by 6 - * the Free Software Foundation; either version 2 of the License, or 7 - * (at your option) any later version. 8 - * 9 - * This program is distributed in the hope that it will be useful, 10 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 - * GNU General Public License for more details. 13 - * 14 - * You should have received a copy of the GNU General Public License 15 - * along with this program; if not, write to the Free Software 16 - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 17 5 */ 18 6 19 7 #include <linux/module.h>
+1 -11
drivers/net/ethernet/ti/cpsw-common.c
··· 1 - /* 2 - * This program is free software; you can redistribute it and/or modify 3 - * it under the terms of the GNU General Public License as published by 4 - * the Free Software Foundation; either version 2 of the License, or 5 - * (at your option) any later version. 6 - * 7 - * This program is distributed in the hope that it will be useful, 8 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 9 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 - * GNU General Public License for more details. 11 - */ 1 + // SPDX-License-Identifier: GPL-2.0+ 12 2 13 3 #include <linux/kernel.h> 14 4 #include <linux/module.h>
+1 -8
drivers/net/ethernet/ti/cpsw-phy-sel.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* Texas Instruments Ethernet Switch Driver 2 3 * 3 4 * Copyright (C) 2013 Texas Instruments 4 5 * 5 6 * Module Author: Mugunthan V N <mugunthanvnm@ti.com> 6 7 * 7 - * This program is free software; you can redistribute it and/or 8 - * modify it under the terms of the GNU General Public License 9 - * version 2 as published by the Free Software Foundation. 10 - * 11 - * This program is distributed "as is" WITHOUT ANY WARRANTY of any 12 - * kind, whether express or implied; without even the implied warranty 13 - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 - * GNU General Public License for more details. 15 8 */ 16 9 17 10 #include <linux/platform_device.h>
+1 -8
drivers/net/ethernet/ti/cpsw.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * Texas Instruments Ethernet Switch Driver 3 4 * 4 5 * Copyright (C) 2012 Texas Instruments 5 6 * 6 - * This program is free software; you can redistribute it and/or 7 - * modify it under the terms of the GNU General Public License as 8 - * published by the Free Software Foundation version 2. 9 - * 10 - * This program is distributed "as is" WITHOUT ANY WARRANTY of any 11 - * kind, whether express or implied; without even the implied warranty 12 - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 - * GNU General Public License for more details. 14 7 */ 15 8 16 9 #include <linux/kernel.h>
+1 -8
drivers/net/ethernet/ti/cpsw.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 */ 1 2 /* Texas Instruments Ethernet Switch Driver 2 3 * 3 4 * Copyright (C) 2013 Texas Instruments 4 5 * 5 - * This program is free software; you can redistribute it and/or 6 - * modify it under the terms of the GNU General Public License 7 - * version 2 as published by the Free Software Foundation. 8 - * 9 - * This program is distributed "as is" WITHOUT ANY WARRANTY of any 10 - * kind, whether express or implied; without even the implied warranty 11 - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 - * GNU General Public License for more details. 13 6 */ 14 7 #ifndef __CPSW_H__ 15 8 #define __CPSW_H__
+1 -8
drivers/net/ethernet/ti/cpsw_ale.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * Texas Instruments N-Port Ethernet Switch Address Lookup Engine 3 4 * 4 5 * Copyright (C) 2012 Texas Instruments 5 6 * 6 - * This program is free software; you can redistribute it and/or 7 - * modify it under the terms of the GNU General Public License as 8 - * published by the Free Software Foundation version 2. 9 - * 10 - * This program is distributed "as is" WITHOUT ANY WARRANTY of any 11 - * kind, whether express or implied; without even the implied warranty 12 - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 - * GNU General Public License for more details. 14 7 */ 15 8 #include <linux/kernel.h> 16 9 #include <linux/module.h>
+1 -8
drivers/net/ethernet/ti/cpsw_ale.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 */ 1 2 /* 2 3 * Texas Instruments N-Port Ethernet Switch Address Lookup Engine APIs 3 4 * 4 5 * Copyright (C) 2012 Texas Instruments 5 6 * 6 - * This program is free software; you can redistribute it and/or 7 - * modify it under the terms of the GNU General Public License as 8 - * published by the Free Software Foundation version 2. 9 - * 10 - * This program is distributed "as is" WITHOUT ANY WARRANTY of any 11 - * kind, whether express or implied; without even the implied warranty 12 - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 - * GNU General Public License for more details. 14 7 */ 15 8 #ifndef __TI_CPSW_ALE_H__ 16 9 #define __TI_CPSW_ALE_H__
+1 -13
drivers/net/ethernet/ti/cpts.c
··· 1 + // SPDX-License-Identifier: GPL-2.0+ 1 2 /* 2 3 * TI Common Platform Time Sync 3 4 * 4 5 * Copyright (C) 2012 Richard Cochran <richardcochran@gmail.com> 5 6 * 6 - * This program is free software; you can redistribute it and/or modify 7 - * it under the terms of the GNU General Public License as published by 8 - * the Free Software Foundation; either version 2 of the License, or 9 - * (at your option) any later version. 10 - * 11 - * This program is distributed in the hope that it will be useful, 12 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 - * GNU General Public License for more details. 15 - * 16 - * You should have received a copy of the GNU General Public License 17 - * along with this program; if not, write to the Free Software 18 - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 19 7 */ 20 8 #include <linux/err.h> 21 9 #include <linux/if.h>
+1 -13
drivers/net/ethernet/ti/cpts.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0+ */ 1 2 /* 2 3 * TI Common Platform Time Sync 3 4 * 4 5 * Copyright (C) 2012 Richard Cochran <richardcochran@gmail.com> 5 6 * 6 - * This program is free software; you can redistribute it and/or modify 7 - * it under the terms of the GNU General Public License as published by 8 - * the Free Software Foundation; either version 2 of the License, or 9 - * (at your option) any later version. 10 - * 11 - * This program is distributed in the hope that it will be useful, 12 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 - * GNU General Public License for more details. 15 - * 16 - * You should have received a copy of the GNU General Public License 17 - * along with this program; if not, write to the Free Software 18 - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 19 7 */ 20 8 #ifndef _TI_CPTS_H_ 21 9 #define _TI_CPTS_H_
+1 -8
drivers/net/ethernet/ti/davinci_cpdma.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * Texas Instruments CPDMA Driver 3 4 * 4 5 * Copyright (C) 2010 Texas Instruments 5 6 * 6 - * This program is free software; you can redistribute it and/or 7 - * modify it under the terms of the GNU General Public License as 8 - * published by the Free Software Foundation version 2. 9 - * 10 - * This program is distributed "as is" WITHOUT ANY WARRANTY of any 11 - * kind, whether express or implied; without even the implied warranty 12 - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 - * GNU General Public License for more details. 14 7 */ 15 8 #include <linux/kernel.h> 16 9 #include <linux/spinlock.h>
+1 -8
drivers/net/ethernet/ti/davinci_cpdma.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 */ 1 2 /* 2 3 * Texas Instruments CPDMA Driver 3 4 * 4 5 * Copyright (C) 2010 Texas Instruments 5 6 * 6 - * This program is free software; you can redistribute it and/or 7 - * modify it under the terms of the GNU General Public License as 8 - * published by the Free Software Foundation version 2. 9 - * 10 - * This program is distributed "as is" WITHOUT ANY WARRANTY of any 11 - * kind, whether express or implied; without even the implied warranty 12 - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 - * GNU General Public License for more details. 14 7 */ 15 8 #ifndef __DAVINCI_CPDMA_H__ 16 9 #define __DAVINCI_CPDMA_H__
+1 -15
drivers/net/ethernet/ti/davinci_emac.c
··· 1 + // SPDX-License-Identifier: GPL-2.0+ 1 2 /* 2 3 * DaVinci Ethernet Medium Access Controller 3 4 * ··· 6 5 * 7 6 * Copyright (C) 2009 Texas Instruments. 8 7 * 9 - * --------------------------------------------------------------------------- 10 - * 11 - * This program is free software; you can redistribute it and/or modify 12 - * it under the terms of the GNU General Public License as published by 13 - * the Free Software Foundation; either version 2 of the License, or 14 - * (at your option) any later version. 15 - * 16 - * This program is distributed in the hope that it will be useful, 17 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 18 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 - * GNU General Public License for more details. 20 - * 21 - * You should have received a copy of the GNU General Public License 22 - * along with this program; if not, write to the Free Software 23 - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 24 8 * --------------------------------------------------------------------------- 25 9 * History: 26 10 * 0-5 A number of folks worked on this driver in bits and pieces but the major
+1 -16
drivers/net/ethernet/ti/davinci_mdio.c
··· 1 + // SPDX-License-Identifier: GPL-2.0+ 1 2 /* 2 3 * DaVinci MDIO Module driver 3 4 * ··· 8 7 * 9 8 * Copyright (C) 2009 Texas Instruments. 10 9 * 11 - * --------------------------------------------------------------------------- 12 - * 13 - * This program is free software; you can redistribute it and/or modify 14 - * it under the terms of the GNU General Public License as published by 15 - * the Free Software Foundation; either version 2 of the License, or 16 - * (at your option) any later version. 17 - * 18 - * This program is distributed in the hope that it will be useful, 19 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 21 - * GNU General Public License for more details. 22 - * 23 - * You should have received a copy of the GNU General Public License 24 - * along with this program; if not, write to the Free Software 25 - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 26 - * --------------------------------------------------------------------------- 27 10 */ 28 11 #include <linux/module.h> 29 12 #include <linux/kernel.h>
+1 -9
drivers/net/ethernet/ti/netcp.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 */ 1 2 /* 2 3 * NetCP driver local header 3 4 * ··· 9 8 * Santosh Shilimkar <santosh.shilimkar@ti.com> 10 9 * Wingman Kwok <w-kwok2@ti.com> 11 10 * Murali Karicheri <m-karicheri2@ti.com> 12 - * 13 - * This program is free software; you can redistribute it and/or 14 - * modify it under the terms of the GNU General Public License as 15 - * published by the Free Software Foundation version 2. 16 - * 17 - * This program is distributed "as is" WITHOUT ANY WARRANTY of any 18 - * kind, whether express or implied; without even the implied warranty 19 - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20 - * GNU General Public License for more details. 21 11 */ 22 12 #ifndef __NETCP_H__ 23 13 #define __NETCP_H__
+1 -9
drivers/net/ethernet/ti/netcp_core.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * Keystone NetCP Core driver 3 4 * ··· 9 8 * Santosh Shilimkar <santosh.shilimkar@ti.com> 10 9 * Murali Karicheri <m-karicheri2@ti.com> 11 10 * Wingman Kwok <w-kwok2@ti.com> 12 - * 13 - * This program is free software; you can redistribute it and/or 14 - * modify it under the terms of the GNU General Public License as 15 - * published by the Free Software Foundation version 2. 16 - * 17 - * This program is distributed "as is" WITHOUT ANY WARRANTY of any 18 - * kind, whether express or implied; without even the implied warranty 19 - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20 - * GNU General Public License for more details. 21 11 */ 22 12 23 13 #include <linux/io.h>
+1 -9
drivers/net/ethernet/ti/netcp_ethss.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * Keystone GBE and XGBE subsystem code 3 4 * ··· 8 7 * Cyril Chemparathy <cyril@ti.com> 9 8 * Santosh Shilimkar <santosh.shilimkar@ti.com> 10 9 * Wingman Kwok <w-kwok2@ti.com> 11 - * 12 - * This program is free software; you can redistribute it and/or 13 - * modify it under the terms of the GNU General Public License as 14 - * published by the Free Software Foundation version 2. 15 - * 16 - * This program is distributed "as is" WITHOUT ANY WARRANTY of any 17 - * kind, whether express or implied; without even the implied warranty 18 - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 - * GNU General Public License for more details. 20 10 */ 21 11 22 12 #include <linux/io.h>
+1 -8
drivers/net/ethernet/ti/netcp_sgmii.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * SGMI module initialisation 3 4 * ··· 7 6 * Sandeep Paulraj <s-paulraj@ti.com> 8 7 * Wingman Kwok <w-kwok2@ti.com> 9 8 * 10 - * This program is free software; you can redistribute it and/or 11 - * modify it under the terms of the GNU General Public License as 12 - * published by the Free Software Foundation version 2. 13 - * 14 - * This program is distributed "as is" WITHOUT ANY WARRANTY of any 15 - * kind, whether express or implied; without even the implied warranty 16 - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 - * GNU General Public License for more details. 18 9 */ 19 10 20 11 #include "netcp.h"
+1 -8
drivers/net/ethernet/ti/netcp_xgbepcsr.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * XGE PCSR module initialisation 3 4 * ··· 6 5 * Authors: Sandeep Nair <sandeep_n@ti.com> 7 6 * WingMan Kwok <w-kwok2@ti.com> 8 7 * 9 - * This program is free software; you can redistribute it and/or 10 - * modify it under the terms of the GNU General Public License as 11 - * published by the Free Software Foundation version 2. 12 - * 13 - * This program is distributed "as is" WITHOUT ANY WARRANTY of any 14 - * kind, whether express or implied; without even the implied warranty 15 - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 - * GNU General Public License for more details. 17 8 */ 18 9 #include "netcp.h" 19 10