drivers: net: phy: convert drivers to spdx
Subsystems (2)
PATCH 1/1 drivers: net: phy: convert drivers to spdx
Signed-off-by Oleksij Rempel <[email protected]>
--- drivers/net/phy/ar8327.c | 6 +----- drivers/net/phy/at803x.c | 6 +----- drivers/net/phy/davicom.c | 7 +------ drivers/net/phy/lxt.c | 6 +----- drivers/net/phy/mdio-bitbang.c | 5 +---- drivers/net/phy/mdio-gpio.c | 5 +---- drivers/net/phy/mdio-mux-gpio.c | 14 +------------- drivers/net/phy/mdio-mux.c | 11 +---------- drivers/net/phy/mdio-mvebu.c | 12 +----------- drivers/net/phy/mdio_bus.c | 7 +------ drivers/net/phy/micrel.c | 6 +----- drivers/net/phy/national.c | 6 +----- drivers/net/phy/phy.c | 7 +------ drivers/net/phy/smsc.c | 6 +----- 14 files changed, 14 insertions(+), 90 deletions(-)
drivers/net/phy/ar8327.c +1 -5
@@ -1,10 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2017 Oleksij Rempel <[email protected]> -* -* 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 <common.h>
drivers/net/phy/at803x.c +1 -5
@@ -1,14 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * drivers/net/phy/at803x.c * * Driver for Atheros 803x PHY * * Author: Matus Ujhelyi <[email protected]> -* -* 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 <common.h>
drivers/net/phy/davicom.c +1 -6
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * drivers/net/phy/davicom.c *
@@ -6,12 +7,6 @@* Author: Andy Fleming * * 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 <common.h>
drivers/net/phy/lxt.c +1 -5
@@ -1,14 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * drivers/net/phy/lxt.c * * Driver for Intel LXT PHYs * * base on Andy Fleming's linux lxt.c driver -* -* 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 <common.h>
drivers/net/phy/mdio-bitbang.c +1 -4
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Bitbanged MDIO support. *
@@ -11,10 +12,6 @@* * 2005 (c) MontaVista Software, Inc. * Vitaly Bordug <[email protected]> -* -* 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 <common.h>
drivers/net/phy/mdio-gpio.c +1 -4
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * GPIO based MDIO bitbang driver. * Supports OpenFirmware.
@@ -18,10 +19,6 @@* * 2005 (c) MontaVista Software, Inc. * Vitaly Bordug <[email protected]> -* -* 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. */ #define DEBUG
drivers/net/phy/mdio-mux-gpio.c +1 -13
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2017 Zodiac Inflight Innovation * Author: Andrey Smirnov <[email protected]>
@@ -5,19 +6,6 @@* Based on analogous code from Linux kernel * * Copyright (C) 2011, 2012 Cavium, Inc. -* -* 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. -* -* 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. -* 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. -* */ #include <common.h> #include <driver.h>
drivers/net/phy/mdio-mux.c +1 -10
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2017 Zodiac Inflight Innovation * Author: Andrey Smirnov <[email protected]>
@@ -5,16 +6,6 @@* Based on analogous code from Linux kernel * * Copyright (C) 2011, 2012 Cavium, Inc. -* -* 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. -* -* 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 <common.h> #include <linux/mdio-mux.h>
drivers/net/phy/mdio-mvebu.c +1 -11
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Marvell MVEBU SoC MDIO interface driver *
@@ -8,17 +9,6 @@* based on mvmdio driver from Linux * Copyright (C) 2012 Marvell * Thomas Petazzoni <[email protected]> -* -* Since the MDIO interface of Marvell network interfaces is shared -* between all network interfaces, having a single driver allows to -* handle concurrent accesses properly (you may have four Ethernet -* ports, but they in fact share the same SMI interface to access -* the MDIO bus). This driver is currently used by the mvneta and -* mv643xx_eth drivers. -* -* 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 <clock.h>
drivers/net/phy/mdio_bus.c +1 -6
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * drivers/net/phy/mdio_bus.c *
@@ -6,12 +7,6 @@* Author: Andy Fleming * * 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
drivers/net/phy/micrel.c +1 -5
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * drivers/net/phy/micrel.c *
@@ -7,11 +8,6 @@* * Copyright (c) 2010 Micrel, 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. -* * Support : ksz9021 1000/100/10 phy from Micrel * ks8001, ks8737, ks8721, ks8041, ks8051 100/10 phy */
drivers/net/phy/national.c +1 -5
@@ -1,14 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * drivers/net/phy/national.c * * Driver for National Semiconductor PHYs * * based on Stuart Menefy's linux national.c driver -* -* 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 <common.h>
drivers/net/phy/phy.c +1 -6
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * drivers/net/phy/phy.c *
@@ -9,12 +10,6 @@* Author: Andy Fleming * * 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 <common.h>
drivers/net/phy/smsc.c +1 -5
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * drivers/net/phy/smsc.c *
@@ -7,11 +8,6 @@* * Copyright (c) 2006 Herbert Valerio Riedel <[email protected]> * -* 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 [email protected] * */
Signature · 7 lines
2.17.1 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Quoted 201 lines · Oleksij Rempel
Signed-off-by Oleksij Rempel <[email protected]>--- drivers/net/phy/ar8327.c | 6 +----- drivers/net/phy/at803x.c | 6 +----- drivers/net/phy/davicom.c | 7 +------ drivers/net/phy/lxt.c | 6 +----- drivers/net/phy/mdio-bitbang.c | 5 +---- drivers/net/phy/mdio-gpio.c | 5 +---- drivers/net/phy/mdio-mux-gpio.c | 14 +------------- drivers/net/phy/mdio-mux.c | 11 +---------- drivers/net/phy/mdio-mvebu.c | 12 +----------- drivers/net/phy/mdio_bus.c | 7 +------ drivers/net/phy/micrel.c | 6 +----- drivers/net/phy/national.c | 6 +----- drivers/net/phy/phy.c | 7 +------ drivers/net/phy/smsc.c | 6 +----- 14 files changed, 14 insertions(+), 90 deletions(-)drivers/net/phy/ar8327.c +1
-5@@ -1,10 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2017 Oleksij Rempel <[email protected]> -* -* 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 <common.h> drivers/net/phy/at803x.c +1
-5@@ -1,14 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * drivers/net/phy/at803x.c * * Driver for Atheros 803x PHY * * Author: Matus Ujhelyi <[email protected]> -* -* 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 <common.h> drivers/net/phy/davicom.c +1
-6@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * drivers/net/phy/davicom.c * @@ -6,12 +7,6 @@* Author: Andy Fleming * * 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 <common.h> drivers/net/phy/lxt.c +1
-5@@ -1,14 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * drivers/net/phy/lxt.c * * Driver for Intel LXT PHYs * * base on Andy Fleming's linux lxt.c driver -* -* 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 <common.h> drivers/net/phy/mdio-bitbang.c +1
-4@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Bitbanged MDIO support. * @@ -11,10 +12,6 @@* * 2005 (c) MontaVista Software, Inc. * Vitaly Bordug <[email protected]> -* -* 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 <common.h> drivers/net/phy/mdio-gpio.c +1
-4@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * GPIO based MDIO bitbang driver. * Supports OpenFirmware. @@ -18,10 +19,6 @@* * 2005 (c) MontaVista Software, Inc. * Vitaly Bordug <[email protected]> -* -* 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. */ #define DEBUG drivers/net/phy/mdio-mux-gpio.c +1
-13@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2017 Zodiac Inflight Innovation * Author: Andrey Smirnov <[email protected]> @@ -5,19 +6,6 @@* Based on analogous code from Linux kernel * * Copyright (C) 2011, 2012 Cavium, Inc. -* -* 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. -* -* 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. -* 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. -* */ #include <common.h> #include <driver.h> drivers/net/phy/mdio-mux.c +1
-10@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2017 Zodiac Inflight Innovation * Author: Andrey Smirnov <[email protected]> @@ -5,16 +6,6 @@* Based on analogous code from Linux kernel * * Copyright (C) 2011, 2012 Cavium, Inc. -* -* 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. -* -* 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 <common.h> #include <linux/mdio-mux.h> drivers/net/phy/mdio-mvebu.c +1
-0@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Marvell MVEBU SoC MDIO interface driver *
drivers/net/phy/mdio-mvebu.c line 17
Quoted 10 lines
drivers/net/phy/mdio-mvebu.c +0
-7@@ -8,17 +9,6 @@* based on mvmdio driver from Linux * Copyright (C) 2012 Marvell * Thomas Petazzoni <[email protected]> -* -* Since the MDIO interface of Marvell network interfaces is shared -* between all network interfaces, having a single driver allows to -* handle concurrent accesses properly (you may have four Ethernet -* ports, but they in fact share the same SMI interface to access -* the MDIO bus). This driver is currently used by the mvneta and -* mv643xx_eth drivers.
I think this paragraph can stay.
Quoted 104 lines
drivers/net/phy/mdio-mvebu.c +0
-4-* -* 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 <clock.h> drivers/net/phy/mdio_bus.c +1
-6@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * drivers/net/phy/mdio_bus.c * @@ -6,12 +7,6 @@* Author: Andy Fleming * * 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 ": " fmtdrivers/net/phy/micrel.c +1
-5@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * drivers/net/phy/micrel.c * @@ -7,11 +8,6 @@* * Copyright (c) 2010 Micrel, 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. -* * Support : ksz9021 1000/100/10 phy from Micrel * ks8001, ks8737, ks8721, ks8041, ks8051 100/10 phy */ drivers/net/phy/national.c +1
-5@@ -1,14 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * drivers/net/phy/national.c * * Driver for National Semiconductor PHYs * * based on Stuart Menefy's linux national.c driver -* -* 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 <common.h> drivers/net/phy/phy.c +1
-6@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * drivers/net/phy/phy.c * @@ -9,12 +10,6 @@* Author: Andy Fleming * * 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 <common.h> drivers/net/phy/smsc.c +1
-0@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * drivers/net/phy/smsc.c * @@ -7,11 +8,6 @@*
drivers/net/phy/smsc.c line 13
Quoted 10 lines
drivers/net/phy/smsc.c +0
-5* Copyright (c) 2006 Herbert Valerio Riedel <[email protected]> * -* 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 [email protected] * */
The rest looks consistent to me.
Reviewed-by Roland Hieber <[email protected]>
- Roland
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Am 05.12.18 um 14:09 schrieb Roland Hieber:
Quoted 206 lines · Oleksij Rempel
Quoted 205 lines
Signed-off-by Oleksij Rempel <[email protected]>--- drivers/net/phy/ar8327.c | 6 +----- drivers/net/phy/at803x.c | 6 +----- drivers/net/phy/davicom.c | 7 +------ drivers/net/phy/lxt.c | 6 +----- drivers/net/phy/mdio-bitbang.c | 5 +---- drivers/net/phy/mdio-gpio.c | 5 +---- drivers/net/phy/mdio-mux-gpio.c | 14 +------------- drivers/net/phy/mdio-mux.c | 11 +---------- drivers/net/phy/mdio-mvebu.c | 12 +----------- drivers/net/phy/mdio_bus.c | 7 +------ drivers/net/phy/micrel.c | 6 +----- drivers/net/phy/national.c | 6 +----- drivers/net/phy/phy.c | 7 +------ drivers/net/phy/smsc.c | 6 +----- 14 files changed, 14 insertions(+), 90 deletions(-)drivers/net/phy/ar8327.c +1
-5@@ -1,10 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2017 Oleksij Rempel <[email protected]> -* -* 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 <common.h> drivers/net/phy/at803x.c +1
-5@@ -1,14 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * drivers/net/phy/at803x.c * * Driver for Atheros 803x PHY * * Author: Matus Ujhelyi <[email protected]> -* -* 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 <common.h> drivers/net/phy/davicom.c +1
-6@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * drivers/net/phy/davicom.c * @@ -6,12 +7,6 @@* Author: Andy Fleming * * 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 <common.h> drivers/net/phy/lxt.c +1
-5@@ -1,14 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * drivers/net/phy/lxt.c * * Driver for Intel LXT PHYs * * base on Andy Fleming's linux lxt.c driver -* -* 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 <common.h> drivers/net/phy/mdio-bitbang.c +1
-4@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Bitbanged MDIO support. * @@ -11,10 +12,6 @@* * 2005 (c) MontaVista Software, Inc. * Vitaly Bordug <[email protected]> -* -* 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 <common.h> drivers/net/phy/mdio-gpio.c +1
-4@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * GPIO based MDIO bitbang driver. * Supports OpenFirmware. @@ -18,10 +19,6 @@* * 2005 (c) MontaVista Software, Inc. * Vitaly Bordug <[email protected]> -* -* 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. */ #define DEBUG drivers/net/phy/mdio-mux-gpio.c +1
-13@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2017 Zodiac Inflight Innovation * Author: Andrey Smirnov <[email protected]> @@ -5,19 +6,6 @@* Based on analogous code from Linux kernel * * Copyright (C) 2011, 2012 Cavium, Inc. -* -* 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. -* -* 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. -* 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. -* */ #include <common.h> #include <driver.h> drivers/net/phy/mdio-mux.c +1
-10@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2017 Zodiac Inflight Innovation * Author: Andrey Smirnov <[email protected]> @@ -5,16 +6,6 @@* Based on analogous code from Linux kernel * * Copyright (C) 2011, 2012 Cavium, Inc. -* -* 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. -* -* 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 <common.h> #include <linux/mdio-mux.h> drivers/net/phy/mdio-mvebu.c +1
-1@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Marvell MVEBU SoC MDIO interface driver * @@ -8,17 +9,6 @@* based on mvmdio driver from Linux * Copyright (C) 2012 Marvell * Thomas Petazzoni <[email protected]> -*
Quoted 8 lines
drivers/net/phy/mdio-mvebu.c line 17
Quoted 6 lines
drivers/net/phy/mdio-mvebu.c +0
-6-* Since the MDIO interface of Marvell network interfaces is shared -* between all network interfaces, having a single driver allows to -* handle concurrent accesses properly (you may have four Ethernet -* ports, but they in fact share the same SMI interface to access -* the MDIO bus). This driver is currently used by the mvneta and -* mv643xx_eth drivers. I think this paragraph can stay.
Uff... thx!
Quoted 11 lines
drivers/net/phy/mdio-mvebu.c line 14
Quoted 4 lines
drivers/net/phy/mdio-mvebu.c +0
-0* Support added for SMSC LAN8187 and LAN8700 by [email protected] * */ The rest looks consistent to me.
Reviewed-by Roland Hieber <[email protected]>- Roland
Signature · 2 lines
Regards, Oleksij
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox