Commit a2443fd1 authored by Andrew Lunn's avatar Andrew Lunn Committed by David S. Miller

net: phy: Convert some PHY and MDIO driver files to SPDX headers

Where the license text and the MODULE_LICENSE() value agree, convert
to using an SPDX header, removing the license text.
Signed-off-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 95eb7882
// SPDX-License-Identifier: GPL-2.0+
/* /*
* Driver for AMD am79c PHYs * Driver for AMD am79c PHYs
* *
* Author: Heiko Schocher <hs@denx.de> * Author: Heiko Schocher <hs@denx.de>
* *
* Copyright (c) 2011 DENX Software Engineering GmbH * Copyright (c) 2011 DENX Software Engineering GmbH
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/errno.h> #include <linux/errno.h>
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Driver for Aquantia PHY * Driver for Aquantia PHY
* *
* Author: Shaohui Xie <Shaohui.Xie@freescale.com> * Author: Shaohui Xie <Shaohui.Xie@freescale.com>
* *
* Copyright 2015 Freescale Semiconductor, Inc. * Copyright 2015 Freescale Semiconductor, Inc.
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
* kind, whether express or implied.
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
......
// SPDX-License-Identifier: GPL-2.0+
/* /*
* drivers/net/phy/at803x.c * drivers/net/phy/at803x.c
* *
* Driver for Atheros 803x PHY * Driver for Atheros 803x PHY
* *
* Author: Matus Ujhelyi <ujhelyi.m@gmail.com> * Author: Matus Ujhelyi <ujhelyi.m@gmail.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
#include <linux/phy.h> #include <linux/phy.h>
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Copyright (C) 2015 Broadcom Corporation * Copyright (C) 2015 Broadcom Corporation
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation version 2.
*
* This program is distributed "as is" WITHOUT ANY WARRANTY of any
* kind, whether express or implied; without even the implied warranty
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/ */
/* Broadcom Cygnus SoC internal transceivers support. */ /* Broadcom Cygnus SoC internal transceivers support. */
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Copyright (C) 2015-2017 Broadcom * Copyright (C) 2015-2017 Broadcom
* *
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation version 2.
*
* This program is distributed "as is" WITHOUT ANY WARRANTY of any * This program is distributed "as is" WITHOUT ANY WARRANTY of any
* kind, whether express or implied; without even the implied warranty * kind, whether express or implied; without even the implied warranty
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Copyright (C) 2015 Broadcom Corporation * Copyright (C) 2015 Broadcom Corporation
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation version 2.
*
* This program is distributed "as is" WITHOUT ANY WARRANTY of any
* kind, whether express or implied; without even the implied warranty
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/ */
#ifndef _LINUX_BCM_PHY_LIB_H #ifndef _LINUX_BCM_PHY_LIB_H
......
// SPDX-License-Identifier: GPL-2.0+
/* /*
* Driver for Broadcom 63xx SOCs integrated PHYs * Driver for Broadcom 63xx SOCs integrated PHYs
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
*/ */
#include "bcm-phy-lib.h" #include "bcm-phy-lib.h"
#include <linux/module.h> #include <linux/module.h>
......
// SPDX-License-Identifier: GPL-2.0+
/* /*
* Broadcom BCM7xxx internal transceivers support. * Broadcom BCM7xxx internal transceivers support.
* *
* Copyright (C) 2014-2017 Broadcom * Copyright (C) 2014-2017 Broadcom
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
*/ */
#include <linux/module.h> #include <linux/module.h>
......
// SPDX-License-Identifier: GPL-2.0+
/* /*
* drivers/net/phy/broadcom.c * drivers/net/phy/broadcom.c
* *
...@@ -7,11 +8,6 @@ ...@@ -7,11 +8,6 @@
* Copyright (c) 2006 Maciej W. Rozycki * Copyright (c) 2006 Maciej W. Rozycki
* *
* Inspired by code written by Amy Fong. * Inspired by code written by Amy Fong.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
*/ */
#include "bcm-phy-lib.h" #include "bcm-phy-lib.h"
......
// SPDX-License-Identifier: GPL-2.0+
/* /*
* drivers/net/phy/cicada.c * drivers/net/phy/cicada.c
* *
...@@ -6,12 +7,6 @@ ...@@ -6,12 +7,6 @@
* Author: Andy Fleming * Author: Andy Fleming
* *
* Copyright (c) 2004 Freescale Semiconductor, Inc. * Copyright (c) 2004 Freescale Semiconductor, Inc.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/string.h> #include <linux/string.h>
......
// SPDX-License-Identifier: GPL-2.0+
/* /*
* Copyright 2017 NXP * Copyright 2017 NXP
* *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* CORTINA is a registered trademark of Cortina Systems, Inc. * CORTINA is a registered trademark of Cortina Systems, Inc.
* *
*/ */
......
// SPDX-License-Identifier: GPL-2.0+
/* /*
* drivers/net/phy/davicom.c * drivers/net/phy/davicom.c
* *
...@@ -6,12 +7,6 @@ ...@@ -6,12 +7,6 @@
* Author: Andy Fleming * Author: Andy Fleming
* *
* Copyright (c) 2004 Freescale Semiconductor, Inc. * Copyright (c) 2004 Freescale Semiconductor, Inc.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/string.h> #include <linux/string.h>
......
// SPDX-License-Identifier: GPL-2.0+
/* /*
* Driver for the National Semiconductor DP83640 PHYTER * Driver for the National Semiconductor DP83640 PHYTER
* *
* Copyright (C) 2010 OMICRON electronics GmbH * Copyright (C) 2010 OMICRON electronics GmbH
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/ */
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
......
// SPDX-License-Identifier: GPL-2.0+
/* /*
* drivers/net/phy/et1011c.c * drivers/net/phy/et1011c.c
* *
...@@ -6,12 +7,6 @@ ...@@ -6,12 +7,6 @@
* Author: Chaithrika U S * Author: Chaithrika U S
* *
* Copyright (c) 2008 Texas Instruments * Copyright (c) 2008 Texas Instruments
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/string.h> #include <linux/string.h>
......
// SPDX-License-Identifier: GPL-2.0+
/* /*
* Fixed MDIO bus (MDIO bus emulation with fixed PHYs) * Fixed MDIO bus (MDIO bus emulation with fixed PHYs)
* *
...@@ -5,11 +6,6 @@ ...@@ -5,11 +6,6 @@
* Anton Vorontsov <avorontsov@ru.mvista.com> * Anton Vorontsov <avorontsov@ru.mvista.com>
* *
* Copyright (c) 2006-2007 MontaVista Software, Inc. * Copyright (c) 2006-2007 MontaVista Software, Inc.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
......
// SPDX-License-Identifier: GPL-2.0+
/* /*
* Driver for ICPlus PHYs * Driver for ICPlus PHYs
* *
* Copyright (c) 2007 Freescale Semiconductor, Inc. * Copyright (c) 2007 Freescale Semiconductor, Inc.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/string.h> #include <linux/string.h>
......
// SPDX-License-Identifier: GPL-2.0+
/* /*
* Copyright (C) 2012 Daniel Schwierzeck <daniel.schwierzeck@googlemail.com> * Copyright (C) 2012 Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
* Copyright (C) 2016 Hauke Mehrtens <hauke@hauke-m.de> * Copyright (C) 2016 Hauke Mehrtens <hauke@hauke-m.de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/ */
#include <linux/mdio.h> #include <linux/mdio.h>
......
// SPDX-License-Identifier: GPL-2.0+
/* /*
* drivers/net/phy/lxt.c * drivers/net/phy/lxt.c
* *
...@@ -6,12 +7,6 @@ ...@@ -6,12 +7,6 @@
* Author: Andy Fleming * Author: Andy Fleming
* *
* Copyright (c) 2004 Freescale Semiconductor, Inc. * Copyright (c) 2004 Freescale Semiconductor, Inc.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/string.h> #include <linux/string.h>
......
// SPDX-License-Identifier: GPL-2.0+
/* /*
* drivers/net/phy/marvell.c * drivers/net/phy/marvell.c
* *
...@@ -8,12 +9,6 @@ ...@@ -8,12 +9,6 @@
* Copyright (c) 2004 Freescale Semiconductor, Inc. * Copyright (c) 2004 Freescale Semiconductor, Inc.
* *
* Copyright (c) 2013 Michael Stapelberg <michael@stapelberg.de> * Copyright (c) 2013 Michael Stapelberg <michael@stapelberg.de>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/string.h> #include <linux/string.h>
......
// SPDX-License-Identifier: GPL-2.0+
/* /*
* Marvell 10G 88x3310 PHY driver * Marvell 10G 88x3310 PHY driver
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Copyright (C) 2015 Broadcom Corporation * Copyright (C) 2015 Broadcom Corporation
* *
......
// SPDX-License-Identifier: GPL-2.0+
/* /*
* Broadcom UniMAC MDIO bus controller driver * Broadcom UniMAC MDIO bus controller driver
* *
* Copyright (C) 2014-2017 Broadcom * Copyright (C) 2014-2017 Broadcom
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
......
// SPDX-License-Identifier: GPL-2.0+
/* /*
* mdio-boardinfo - Collect pre-declarations for MDIO devices * mdio-boardinfo - Collect pre-declarations for MDIO devices
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* MDIO I2C bridge * MDIO I2C bridge
* *
* Copyright (C) 2015-2016 Russell King * Copyright (C) 2015-2016 Russell King
* *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* Network PHYs can appear on I2C buses when they are part of SFP module. * Network PHYs can appear on I2C buses when they are part of SFP module.
* This driver exposes these PHYs to the networking PHY code, allowing * This driver exposes these PHYs to the networking PHY code, allowing
* our PHY drivers access to these PHYs, and so allowing configuration * our PHY drivers access to these PHYs, and so allowing configuration
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* MDIO I2C bridge * MDIO I2C bridge
* *
* Copyright (C) 2015 Russell King * Copyright (C) 2015 Russell King
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/ */
#ifndef MDIO_I2C_H #ifndef MDIO_I2C_H
#define MDIO_I2C_H #define MDIO_I2C_H
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Copyright 2016 Broadcom * Copyright 2016 Broadcom
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License, version 2, as
* published by the Free Software Foundation (the "GPL").
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License version 2 (GPLv2) for more details.
*
* You should have received a copy of the GNU General Public License
* version 2 (GPLv2) along with this source code.
*/ */
#include <linux/clk.h> #include <linux/clk.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Simple memory-mapped device MDIO MUX driver * Simple memory-mapped device MDIO MUX driver
* *
* Author: Timur Tabi <timur@freescale.com> * Author: Timur Tabi <timur@freescale.com>
* *
* Copyright 2012 Freescale Semiconductor, Inc. * Copyright 2012 Freescale Semiconductor, Inc.
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
* kind, whether express or implied.
*/ */
#include <linux/platform_device.h> #include <linux/platform_device.h>
......
// SPDX-License-Identifier: GPL-2.0+
/* Applied Micro X-Gene SoC MDIO Driver /* Applied Micro X-Gene SoC MDIO Driver
* *
* Copyright (c) 2016, Applied Micro Circuits Corporation * Copyright (c) 2016, Applied Micro Circuits Corporation
* Author: Iyappan Subramanian <isubramanian@apm.com> * Author: Iyappan Subramanian <isubramanian@apm.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <linux/acpi.h> #include <linux/acpi.h>
......
// SPDX-License-Identifier: GPL-2.0+
/* Applied Micro X-Gene SoC MDIO Driver /* Applied Micro X-Gene SoC MDIO Driver
* *
* Copyright (c) 2016, Applied Micro Circuits Corporation * Copyright (c) 2016, Applied Micro Circuits Corporation
* Author: Iyappan Subramanian <isubramanian@apm.com> * Author: Iyappan Subramanian <isubramanian@apm.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef __MDIO_XGENE_H__ #ifndef __MDIO_XGENE_H__
......
// SPDX-License-Identifier: GPL-2.0+
/* MDIO Bus interface /* MDIO Bus interface
* *
* Author: Andy Fleming * Author: Andy Fleming
* *
* Copyright (c) 2004 Freescale Semiconductor, Inc. * Copyright (c) 2004 Freescale Semiconductor, Inc.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
*/ */
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
......
// SPDX-License-Identifier: GPL-2.0+
/* Framework for MDIO devices, other than PHYs. /* Framework for MDIO devices, other than PHYs.
* *
* Copyright (c) 2016 Andrew Lunn <andrew@lunn.ch> * Copyright (c) 2016 Andrew Lunn <andrew@lunn.ch>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
*/ */
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
......
// SPDX-License-Identifier: GPL-2.0+
/* /*
* Amlogic Meson GXL Internal PHY Driver * Amlogic Meson GXL Internal PHY Driver
* *
* Copyright (C) 2015 Amlogic, Inc. All rights reserved. * Copyright (C) 2015 Amlogic, Inc. All rights reserved.
* Copyright (C) 2016 BayLibre, SAS. All rights reserved. * Copyright (C) 2016 BayLibre, SAS. All rights reserved.
* Author: Neil Armstrong <narmstrong@baylibre.com> * Author: Neil Armstrong <narmstrong@baylibre.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/module.h> #include <linux/module.h>
......
// SPDX-License-Identifier: GPL-2.0+
/* /*
* drivers/net/phy/micrel.c * drivers/net/phy/micrel.c
* *
...@@ -8,11 +9,6 @@ ...@@ -8,11 +9,6 @@
* Copyright (c) 2010-2013 Micrel, Inc. * Copyright (c) 2010-2013 Micrel, Inc.
* Copyright (c) 2014 Johan Hovold <johan@kernel.org> * Copyright (c) 2014 Johan Hovold <johan@kernel.org>
* *
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* Support : Micrel Phys: * Support : Micrel Phys:
* Giga phys: ksz9021, ksz9031, ksz9131 * Giga phys: ksz9021, ksz9031, ksz9131
* 100/10 Phys : ksz8001, ksz8721, ksz8737, ksz8041 * 100/10 Phys : ksz8001, ksz8721, ksz8737, ksz8041
......
// SPDX-License-Identifier: GPL-2.0+
/* /*
* Copyright (C) 2015 Microchip Technology * Copyright (C) 2015 Microchip Technology
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/module.h> #include <linux/module.h>
......
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
/* /*
* Driver for Microsemi VSC85xx PHYs * Driver for Microsemi VSC85xx PHYs
* *
......
// SPDX-License-Identifier: GPL-2.0+
/* /*
* drivers/net/phy/national.c * drivers/net/phy/national.c
* *
...@@ -7,12 +8,6 @@ ...@@ -7,12 +8,6 @@
* Maintainer: Giuseppe Cavallaro <peppe.cavallaro@st.com> * Maintainer: Giuseppe Cavallaro <peppe.cavallaro@st.com>
* *
* Copyright (c) 2008 STMicroelectronics Limited * Copyright (c) 2008 STMicroelectronics Limited
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
*/ */
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
......
// SPDX-License-Identifier: GPL-2.0+
/* /*
* Core PHY library, taken from phy.c * Core PHY library, taken from phy.c
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
#include <linux/export.h> #include <linux/export.h>
#include <linux/phy.h> #include <linux/phy.h>
......
// SPDX-License-Identifier: GPL-2.0+
/* Framework for configuring and reading PHY devices /* Framework for configuring and reading PHY devices
* Based on code in sungem_phy.c and gianfar_phy.c * Based on code in sungem_phy.c and gianfar_phy.c
* *
...@@ -5,12 +6,6 @@ ...@@ -5,12 +6,6 @@
* *
* Copyright (c) 2004 Freescale Semiconductor, Inc. * Copyright (c) 2004 Freescale Semiconductor, Inc.
* Copyright (c) 2006, 2007 Maciej W. Rozycki * Copyright (c) 2006, 2007 Maciej W. Rozycki
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
......
// SPDX-License-Identifier: GPL-2.0+
/* Framework for finding and configuring PHYs. /* Framework for finding and configuring PHYs.
* Also contains generic PHY driver * Also contains generic PHY driver
* *
* Author: Andy Fleming * Author: Andy Fleming
* *
* Copyright (c) 2004 Freescale Semiconductor, Inc. * Copyright (c) 2004 Freescale Semiconductor, Inc.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
*/ */
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
......
/* Copyright (C) 2016 National Instruments Corp. // SPDX-License-Identifier: GPL-2.0+
* /* Copyright (C) 2016 National Instruments Corp. */
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <linux/leds.h> #include <linux/leds.h>
#include <linux/phy.h> #include <linux/phy.h>
#include <linux/phy_led_triggers.h> #include <linux/phy_led_triggers.h>
......
// SPDX-License-Identifier: GPL-2.0+
/* /*
* drivers/net/phy/qsemi.c * drivers/net/phy/qsemi.c
* *
...@@ -6,12 +7,6 @@ ...@@ -6,12 +7,6 @@
* Author: Andy Fleming * Author: Andy Fleming
* *
* Copyright (c) 2004 Freescale Semiconductor, Inc. * Copyright (c) 2004 Freescale Semiconductor, Inc.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/string.h> #include <linux/string.h>
......
// SPDX-License-Identifier: GPL-2.0+
/* /*
* drivers/net/phy/realtek.c * drivers/net/phy/realtek.c
* *
...@@ -6,12 +7,6 @@ ...@@ -6,12 +7,6 @@
* Author: Johnson Leung <r58129@freescale.com> * Author: Johnson Leung <r58129@freescale.com>
* *
* Copyright (c) 2004 Freescale Semiconductor, Inc. * Copyright (c) 2004 Freescale Semiconductor, Inc.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
*/ */
#include <linux/bitops.h> #include <linux/bitops.h>
#include <linux/phy.h> #include <linux/phy.h>
......
// SPDX-License-Identifier: GPL-2.0
#include <linux/ctype.h> #include <linux/ctype.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/gpio/consumer.h> #include <linux/gpio/consumer.h>
......
// SPDX-License-Identifier: GPL-2.0+
/* /*
* drivers/net/phy/smsc.c * drivers/net/phy/smsc.c
* *
...@@ -7,11 +8,6 @@ ...@@ -7,11 +8,6 @@
* *
* Copyright (c) 2006 Herbert Valerio Riedel <hvr@gnu.org> * Copyright (c) 2006 Herbert Valerio Riedel <hvr@gnu.org>
* *
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* Support added for SMSC LAN8187 and LAN8700 by steve.glendinning@shawell.net * Support added for SMSC LAN8187 and LAN8700 by steve.glendinning@shawell.net
* *
*/ */
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* SPI driver for Micrel/Kendin KS8995M and KSZ8864RMN ethernet switches * SPI driver for Micrel/Kendin KS8995M and KSZ8864RMN ethernet switches
* *
...@@ -5,10 +6,6 @@ ...@@ -5,10 +6,6 @@
* *
* This file was based on: drivers/spi/at25.c * This file was based on: drivers/spi/at25.c
* Copyright (C) 2006 David Brownell * Copyright (C) 2006 David Brownell
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation.
*/ */
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
......
// SPDX-License-Identifier: GPL-2.0+
/* /*
* drivers/net/phy/ste10Xp.c * drivers/net/phy/ste10Xp.c
* *
...@@ -6,12 +7,6 @@ ...@@ -6,12 +7,6 @@
* Author: Giuseppe Cavallaro <peppe.cavallaro@st.com> * Author: Giuseppe Cavallaro <peppe.cavallaro@st.com>
* *
* Copyright (c) 2008 STMicroelectronics Limited * Copyright (c) 2008 STMicroelectronics Limited
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
*/ */
#include <linux/module.h> #include <linux/module.h>
......
// SPDX-License-Identifier: GPL-2.0+
/* /*
* Software PHY emulation * Software PHY emulation
* *
...@@ -7,11 +8,6 @@ ...@@ -7,11 +8,6 @@
* Anton Vorontsov <avorontsov@ru.mvista.com> * Anton Vorontsov <avorontsov@ru.mvista.com>
* *
* Copyright (c) 2006-2007 MontaVista Software, Inc. * Copyright (c) 2006-2007 MontaVista Software, Inc.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/ */
#include <linux/export.h> #include <linux/export.h>
#include <linux/mii.h> #include <linux/mii.h>
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Driver for Teranetics PHY * Driver for Teranetics PHY
* *
* Author: Shaohui Xie <Shaohui.Xie@freescale.com> * Author: Shaohui Xie <Shaohui.Xie@freescale.com>
* *
* Copyright 2015 Freescale Semiconductor, Inc. * Copyright 2015 Freescale Semiconductor, Inc.
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
* kind, whether express or implied.
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
......
// SPDX-License-Identifier: GPL-2.0+
/* /*
* Driver for the Renesas PHY uPD60620. * Driver for the Renesas PHY uPD60620.
* *
* Copyright (C) 2015 Softing Industrial Automation GmbH * Copyright (C) 2015 Softing Industrial Automation GmbH
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
......
// SPDX-License-Identifier: GPL-2.0+
/* /*
* Driver for Vitesse PHYs * Driver for Vitesse PHYs
* *
* Author: Kriston Carson * Author: Kriston Carson
*
* Copyright (c) 2005, 2009, 2011 Freescale Semiconductor, Inc.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
......
// SPDX-License-Identifier: GPL-2.0+
/* Xilinx GMII2RGMII Converter driver /* Xilinx GMII2RGMII Converter driver
* *
* Copyright (C) 2016 Xilinx, Inc. * Copyright (C) 2016 Xilinx, Inc.
...@@ -8,16 +9,6 @@ ...@@ -8,16 +9,6 @@
* *
* Description: * Description:
* This driver is developed for Xilinx GMII2RGMII Converter * This driver is developed for Xilinx GMII2RGMII Converter
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/ */
#include <linux/module.h> #include <linux/module.h>
#include <linux/kernel.h> #include <linux/kernel.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment