diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2019-05-31 18:48:45 -0400 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-05-31 18:48:45 -0400 |
| commit | 24e8a2ca1f74574ad2ed1ac7af0260dd90fd911e (patch) | |
| tree | c863dd43c84579d853f3a2ae0ee6ead46c967703 /drivers/net | |
| parent | 66f61c92889ff3ca365161fb29dd36d6354682ba (diff) | |
| parent | d724c9e54939a597592de3659541da11fc7aa112 (diff) | |
Merge tag 'kvm-ppc-fixes-5.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc into kvm-master
PPC KVM fixes for 5.2
- Several bug fixes for the new XIVE-native code.
- Replace kvm->lock by other mutexes in several places where we hold a
vcpu mutex, to avoid lock order inversions.
- Fix a lockdep warning on guest entry for radix-mode guests.
- Fix a bug causing user-visible corruption of SPRG3 on the host.
Diffstat (limited to 'drivers/net')
627 files changed, 848 insertions, 2930 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index bc42f131f47c..48e209e55843 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Network device configuration | 3 | # Network device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/Makefile b/drivers/net/Makefile index 21cde7e78621..0d3ba056cda3 100644 --- a/drivers/net/Makefile +++ b/drivers/net/Makefile | |||
| @@ -40,7 +40,7 @@ obj-$(CONFIG_ARCNET) += arcnet/ | |||
| 40 | obj-$(CONFIG_DEV_APPLETALK) += appletalk/ | 40 | obj-$(CONFIG_DEV_APPLETALK) += appletalk/ |
| 41 | obj-$(CONFIG_CAIF) += caif/ | 41 | obj-$(CONFIG_CAIF) += caif/ |
| 42 | obj-$(CONFIG_CAN) += can/ | 42 | obj-$(CONFIG_CAN) += can/ |
| 43 | obj-$(CONFIG_NET_DSA) += dsa/ | 43 | obj-y += dsa/ |
| 44 | obj-$(CONFIG_ETHERNET) += ethernet/ | 44 | obj-$(CONFIG_ETHERNET) += ethernet/ |
| 45 | obj-$(CONFIG_FDDI) += fddi/ | 45 | obj-$(CONFIG_FDDI) += fddi/ |
| 46 | obj-$(CONFIG_HIPPI) += hippi/ | 46 | obj-$(CONFIG_HIPPI) += hippi/ |
diff --git a/drivers/net/appletalk/Kconfig b/drivers/net/appletalk/Kconfig index dc6b78e5342f..af509b05ac5c 100644 --- a/drivers/net/appletalk/Kconfig +++ b/drivers/net/appletalk/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Appletalk driver configuration | 3 | # Appletalk driver configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/appletalk/Makefile b/drivers/net/appletalk/Makefile index 6cfc705f7c5c..903da3303f41 100644 --- a/drivers/net/appletalk/Makefile +++ b/drivers/net/appletalk/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for drivers/net/appletalk | 3 | # Makefile for drivers/net/appletalk |
| 3 | # | 4 | # |
diff --git a/drivers/net/arcnet/Kconfig b/drivers/net/arcnet/Kconfig index 39bd16f3f86d..faeb4419b205 100644 --- a/drivers/net/arcnet/Kconfig +++ b/drivers/net/arcnet/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Arcnet configuration | 3 | # Arcnet configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/bonding/Makefile b/drivers/net/bonding/Makefile index 6f4e80853ed4..30e8ae3da2da 100644 --- a/drivers/net/bonding/Makefile +++ b/drivers/net/bonding/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Ethernet Bonding driver | 3 | # Makefile for the Ethernet Bonding driver |
| 3 | # | 4 | # |
diff --git a/drivers/net/bonding/bond_3ad.c b/drivers/net/bonding/bond_3ad.c index 9274dcc6e9b0..dfd6f315d2cc 100644 --- a/drivers/net/bonding/bond_3ad.c +++ b/drivers/net/bonding/bond_3ad.c | |||
| @@ -1,23 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright(c) 1999 - 2004 Intel Corporation. All rights reserved. | 3 | * Copyright(c) 1999 - 2004 Intel Corporation. All rights reserved. |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify it | ||
| 5 | * under the terms of the GNU General Public License as published by the Free | ||
| 6 | * Software Foundation; either version 2 of the License, or (at your option) | ||
| 7 | * any later version. | ||
| 8 | * | ||
| 9 | * This program is distributed in the hope that it will be useful, but WITHOUT | ||
| 10 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
| 11 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
| 12 | * more details. | ||
| 13 | * | ||
| 14 | * You should have received a copy of the GNU General Public License along with | ||
| 15 | * this program; if not, write to the Free Software Foundation, Inc., 59 | ||
| 16 | * Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 17 | * | ||
| 18 | * The full GNU General Public License is included in this distribution in the | ||
| 19 | * file called LICENSE. | ||
| 20 | * | ||
| 21 | */ | 4 | */ |
| 22 | 5 | ||
| 23 | #include <linux/skbuff.h> | 6 | #include <linux/skbuff.h> |
diff --git a/drivers/net/bonding/bond_alb.c b/drivers/net/bonding/bond_alb.c index 9431127bbc60..790e41c6fdd0 100644 --- a/drivers/net/bonding/bond_alb.c +++ b/drivers/net/bonding/bond_alb.c | |||
| @@ -1,22 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright(c) 1999 - 2004 Intel Corporation. All rights reserved. | 3 | * Copyright(c) 1999 - 2004 Intel Corporation. All rights reserved. |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify it | ||
| 5 | * under the terms of the GNU General Public License as published by the | ||
| 6 | * 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, but | ||
| 10 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | ||
| 11 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | ||
| 12 | * for more details. | ||
| 13 | * | ||
| 14 | * You should have received a copy of the GNU General Public License along | ||
| 15 | * with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 16 | * | ||
| 17 | * The full GNU General Public License is included in this distribution in the | ||
| 18 | * file called LICENSE. | ||
| 19 | * | ||
| 20 | */ | 4 | */ |
| 21 | 5 | ||
| 22 | #include <linux/skbuff.h> | 6 | #include <linux/skbuff.h> |
diff --git a/drivers/net/bonding/bond_sysfs.c b/drivers/net/bonding/bond_sysfs.c index 35847250da5a..94214eaf53c5 100644 --- a/drivers/net/bonding/bond_sysfs.c +++ b/drivers/net/bonding/bond_sysfs.c | |||
| @@ -1,22 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright(c) 2004-2005 Intel Corporation. All rights reserved. | 3 | * Copyright(c) 2004-2005 Intel Corporation. All rights reserved. |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify it | ||
| 5 | * under the terms of the GNU General Public License as published by the | ||
| 6 | * 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, but | ||
| 10 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | ||
| 11 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | ||
| 12 | * for more details. | ||
| 13 | * | ||
| 14 | * You should have received a copy of the GNU General Public License along | ||
| 15 | * with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 16 | * | ||
| 17 | * The full GNU General Public License is included in this distribution in the | ||
| 18 | * file called LICENSE. | ||
| 19 | * | ||
| 20 | */ | 4 | */ |
| 21 | 5 | ||
| 22 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 6 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/drivers/net/caif/Kconfig b/drivers/net/caif/Kconfig index f81df91a9ce1..2b9a2f117113 100644 --- a/drivers/net/caif/Kconfig +++ b/drivers/net/caif/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # CAIF physical drivers | 3 | # CAIF physical drivers |
| 3 | # | 4 | # |
diff --git a/drivers/net/can/Kconfig b/drivers/net/can/Kconfig index e0f0ad7a550a..ab585900a057 100644 --- a/drivers/net/can/Kconfig +++ b/drivers/net/can/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | menu "CAN Device Drivers" | 2 | menu "CAN Device Drivers" |
| 2 | 3 | ||
| 3 | config CAN_VCAN | 4 | config CAN_VCAN |
diff --git a/drivers/net/can/c_can/Kconfig b/drivers/net/can/c_can/Kconfig index 61ffc12d8fd8..b0f206d36f55 100644 --- a/drivers/net/can/c_can/Kconfig +++ b/drivers/net/can/c_can/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | menuconfig CAN_C_CAN | 2 | menuconfig CAN_C_CAN |
| 2 | tristate "Bosch C_CAN/D_CAN devices" | 3 | tristate "Bosch C_CAN/D_CAN devices" |
| 3 | depends on HAS_IOMEM | 4 | depends on HAS_IOMEM |
diff --git a/drivers/net/can/c_can/Makefile b/drivers/net/can/c_can/Makefile index 9fdc678b5b37..e6a94c948531 100644 --- a/drivers/net/can/c_can/Makefile +++ b/drivers/net/can/c_can/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Bosch C_CAN controller drivers. | 3 | # Makefile for the Bosch C_CAN controller drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/can/cc770/Kconfig b/drivers/net/can/cc770/Kconfig index 6a9a5ba79220..13a4593a52df 100644 --- a/drivers/net/can/cc770/Kconfig +++ b/drivers/net/can/cc770/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | menuconfig CAN_CC770 | 2 | menuconfig CAN_CC770 |
| 2 | tristate "Bosch CC770 and Intel AN82527 devices" | 3 | tristate "Bosch CC770 and Intel AN82527 devices" |
| 3 | depends on HAS_IOMEM | 4 | depends on HAS_IOMEM |
diff --git a/drivers/net/can/cc770/Makefile b/drivers/net/can/cc770/Makefile index 8657f879ae19..65e8549f2e45 100644 --- a/drivers/net/can/cc770/Makefile +++ b/drivers/net/can/cc770/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Bosch CC770 CAN controller drivers. | 3 | # Makefile for the Bosch CC770 CAN controller drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/can/ifi_canfd/Kconfig b/drivers/net/can/ifi_canfd/Kconfig index 9e8934ff63a7..ce0197641a59 100644 --- a/drivers/net/can/ifi_canfd/Kconfig +++ b/drivers/net/can/ifi_canfd/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config CAN_IFI_CANFD | 2 | config CAN_IFI_CANFD |
| 2 | depends on HAS_IOMEM | 3 | depends on HAS_IOMEM |
| 3 | tristate "IFI CAN_FD IP" | 4 | tristate "IFI CAN_FD IP" |
diff --git a/drivers/net/can/ifi_canfd/Makefile b/drivers/net/can/ifi_canfd/Makefile index b229960cdf39..0cd724f10d1e 100644 --- a/drivers/net/can/ifi_canfd/Makefile +++ b/drivers/net/can/ifi_canfd/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the IFI CANFD controller driver. | 3 | # Makefile for the IFI CANFD controller driver. |
| 3 | # | 4 | # |
diff --git a/drivers/net/can/m_can/Kconfig b/drivers/net/can/m_can/Kconfig index 04f20dd39007..ec4b2e117f66 100644 --- a/drivers/net/can/m_can/Kconfig +++ b/drivers/net/can/m_can/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config CAN_M_CAN | 2 | config CAN_M_CAN |
| 2 | depends on HAS_IOMEM | 3 | depends on HAS_IOMEM |
| 3 | tristate "Bosch M_CAN devices" | 4 | tristate "Bosch M_CAN devices" |
diff --git a/drivers/net/can/m_can/Makefile b/drivers/net/can/m_can/Makefile index 8bbd7f24f5be..599ae69cb4a1 100644 --- a/drivers/net/can/m_can/Makefile +++ b/drivers/net/can/m_can/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Bosch M_CAN controller driver. | 3 | # Makefile for the Bosch M_CAN controller driver. |
| 3 | # | 4 | # |
diff --git a/drivers/net/can/mscan/Kconfig b/drivers/net/can/mscan/Kconfig index 81c711719490..3a57a51be22e 100644 --- a/drivers/net/can/mscan/Kconfig +++ b/drivers/net/can/mscan/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config CAN_MSCAN | 2 | config CAN_MSCAN |
| 2 | depends on PPC | 3 | depends on PPC |
| 3 | tristate "Support for Freescale MSCAN based chips" | 4 | tristate "Support for Freescale MSCAN based chips" |
diff --git a/drivers/net/can/mscan/Makefile b/drivers/net/can/mscan/Makefile index 58903b45f5fb..6c114bed439f 100644 --- a/drivers/net/can/mscan/Makefile +++ b/drivers/net/can/mscan/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | 2 | ||
| 2 | obj-$(CONFIG_CAN_MPC5XXX) += mscan-mpc5xxx.o | 3 | obj-$(CONFIG_CAN_MPC5XXX) += mscan-mpc5xxx.o |
| 3 | mscan-mpc5xxx-objs := mscan.o mpc5xxx_can.o | 4 | mscan-mpc5xxx-objs := mscan.o mpc5xxx_can.o |
diff --git a/drivers/net/can/peak_canfd/Kconfig b/drivers/net/can/peak_canfd/Kconfig index 84b30978a19f..c29ab2150794 100644 --- a/drivers/net/can/peak_canfd/Kconfig +++ b/drivers/net/can/peak_canfd/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config CAN_PEAK_PCIEFD | 2 | config CAN_PEAK_PCIEFD |
| 2 | depends on PCI | 3 | depends on PCI |
| 3 | tristate "PEAK-System PCAN-PCIe FD cards" | 4 | tristate "PEAK-System PCAN-PCIe FD cards" |
diff --git a/drivers/net/can/peak_canfd/Makefile b/drivers/net/can/peak_canfd/Makefile index 3dc7a6a0ba59..14719b35e0b9 100644 --- a/drivers/net/can/peak_canfd/Makefile +++ b/drivers/net/can/peak_canfd/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the PEAK-System CAN-FD IP module drivers | 3 | # Makefile for the PEAK-System CAN-FD IP module drivers |
| 3 | # | 4 | # |
diff --git a/drivers/net/can/sja1000/Kconfig b/drivers/net/can/sja1000/Kconfig index f6dc89927ece..6b72da2f18a6 100644 --- a/drivers/net/can/sja1000/Kconfig +++ b/drivers/net/can/sja1000/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | menuconfig CAN_SJA1000 | 2 | menuconfig CAN_SJA1000 |
| 2 | tristate "Philips/NXP SJA1000 devices" | 3 | tristate "Philips/NXP SJA1000 devices" |
| 3 | depends on HAS_IOMEM | 4 | depends on HAS_IOMEM |
diff --git a/drivers/net/can/sja1000/tscan1.c b/drivers/net/can/sja1000/tscan1.c index 79572457a2d6..6ea802c66124 100644 --- a/drivers/net/can/sja1000/tscan1.c +++ b/drivers/net/can/sja1000/tscan1.c | |||
| @@ -1,20 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * tscan1.c: driver for Technologic Systems TS-CAN1 PC104 boards | 3 | * tscan1.c: driver for Technologic Systems TS-CAN1 PC104 boards |
| 3 | * | 4 | * |
| 4 | * Copyright 2010 Andre B. Oliveira | 5 | * Copyright 2010 Andre B. Oliveira |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public License | ||
| 8 | * as published by the Free Software Foundation; either version 2 | ||
| 9 | * of the License, or (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, see <http://www.gnu.org/licenses/>. | ||
| 18 | */ | 6 | */ |
| 19 | 7 | ||
| 20 | /* | 8 | /* |
diff --git a/drivers/net/can/softing/Kconfig b/drivers/net/can/softing/Kconfig index 96b6fe158b5b..0f1708f99308 100644 --- a/drivers/net/can/softing/Kconfig +++ b/drivers/net/can/softing/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config CAN_SOFTING | 2 | config CAN_SOFTING |
| 2 | tristate "Softing Gmbh CAN generic support" | 3 | tristate "Softing Gmbh CAN generic support" |
| 3 | depends on HAS_IOMEM | 4 | depends on HAS_IOMEM |
diff --git a/drivers/net/can/softing/Makefile b/drivers/net/can/softing/Makefile index a23da492dad5..c51154000377 100644 --- a/drivers/net/can/softing/Makefile +++ b/drivers/net/can/softing/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | 2 | ||
| 2 | softing-y := softing_main.o softing_fw.o | 3 | softing-y := softing_main.o softing_fw.o |
| 3 | obj-$(CONFIG_CAN_SOFTING) += softing.o | 4 | obj-$(CONFIG_CAN_SOFTING) += softing.o |
diff --git a/drivers/net/can/spi/Kconfig b/drivers/net/can/spi/Kconfig index 8f2e0dd7b756..2e7e535e9237 100644 --- a/drivers/net/can/spi/Kconfig +++ b/drivers/net/can/spi/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | menu "CAN SPI interfaces" | 2 | menu "CAN SPI interfaces" |
| 2 | depends on SPI | 3 | depends on SPI |
| 3 | 4 | ||
diff --git a/drivers/net/can/spi/Makefile b/drivers/net/can/spi/Makefile index f59fa3731073..f115b2c46623 100644 --- a/drivers/net/can/spi/Makefile +++ b/drivers/net/can/spi/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Linux Controller Area Network SPI drivers. | 3 | # Makefile for the Linux Controller Area Network SPI drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/can/usb/Kconfig b/drivers/net/can/usb/Kconfig index 750d04d9e2ae..ac3522b77303 100644 --- a/drivers/net/can/usb/Kconfig +++ b/drivers/net/can/usb/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | menu "CAN USB interfaces" | 2 | menu "CAN USB interfaces" |
| 2 | depends on USB | 3 | depends on USB |
| 3 | 4 | ||
diff --git a/drivers/net/can/usb/kvaser_usb/Makefile b/drivers/net/can/usb/kvaser_usb/Makefile index 9f41ddab6a5a..cf260044f0b9 100644 --- a/drivers/net/can/usb/kvaser_usb/Makefile +++ b/drivers/net/can/usb/kvaser_usb/Makefile | |||
| @@ -1,2 +1,3 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_CAN_KVASER_USB) += kvaser_usb.o | 2 | obj-$(CONFIG_CAN_KVASER_USB) += kvaser_usb.o |
| 2 | kvaser_usb-y = kvaser_usb_core.o kvaser_usb_leaf.o kvaser_usb_hydra.o | 3 | kvaser_usb-y = kvaser_usb_core.o kvaser_usb_leaf.o kvaser_usb_hydra.o |
diff --git a/drivers/net/can/usb/peak_usb/Makefile b/drivers/net/can/usb/peak_usb/Makefile index 1839e9ca62e7..80789f91e300 100644 --- a/drivers/net/can/usb/peak_usb/Makefile +++ b/drivers/net/can/usb/peak_usb/Makefile | |||
| @@ -1,2 +1,3 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_CAN_PEAK_USB) += peak_usb.o | 2 | obj-$(CONFIG_CAN_PEAK_USB) += peak_usb.o |
| 2 | peak_usb-y = pcan_usb_core.o pcan_usb.o pcan_usb_pro.o pcan_usb_fd.o | 3 | peak_usb-y = pcan_usb_core.o pcan_usb.o pcan_usb_pro.o pcan_usb_fd.o |
diff --git a/drivers/net/dsa/Kconfig b/drivers/net/dsa/Kconfig index c6c5ecdbcaef..b91e78e3598f 100644 --- a/drivers/net/dsa/Kconfig +++ b/drivers/net/dsa/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | menu "Distributed Switch Architecture drivers" | 2 | menu "Distributed Switch Architecture drivers" |
| 2 | depends on HAVE_NET_DSA | 3 | depends on HAVE_NET_DSA |
| 3 | 4 | ||
diff --git a/drivers/net/dsa/b53/Kconfig b/drivers/net/dsa/b53/Kconfig index d32469283f97..f9891a81c808 100644 --- a/drivers/net/dsa/b53/Kconfig +++ b/drivers/net/dsa/b53/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | menuconfig B53 | 2 | menuconfig B53 |
| 2 | tristate "Broadcom BCM53xx managed switch support" | 3 | tristate "Broadcom BCM53xx managed switch support" |
| 3 | depends on NET_DSA | 4 | depends on NET_DSA |
diff --git a/drivers/net/dsa/dsa_loop_bdinfo.c b/drivers/net/dsa/dsa_loop_bdinfo.c index fb8d5dc71013..237066d30704 100644 --- a/drivers/net/dsa/dsa_loop_bdinfo.c +++ b/drivers/net/dsa/dsa_loop_bdinfo.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | #include <linux/kernel.h> | 2 | #include <linux/kernel.h> |
| 2 | #include <linux/init.h> | 3 | #include <linux/init.h> |
| 3 | #include <linux/phy.h> | 4 | #include <linux/phy.h> |
diff --git a/drivers/net/dsa/microchip/Kconfig b/drivers/net/dsa/microchip/Kconfig index bea29fde9f3d..2c3a6751bdaf 100644 --- a/drivers/net/dsa/microchip/Kconfig +++ b/drivers/net/dsa/microchip/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config NET_DSA_MICROCHIP_KSZ_COMMON | 2 | config NET_DSA_MICROCHIP_KSZ_COMMON |
| 2 | tristate | 3 | tristate |
| 3 | 4 | ||
diff --git a/drivers/net/dsa/microchip/Makefile b/drivers/net/dsa/microchip/Makefile index 3142c18b8f57..68451b02f775 100644 --- a/drivers/net/dsa/microchip/Makefile +++ b/drivers/net/dsa/microchip/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_NET_DSA_MICROCHIP_KSZ_COMMON) += ksz_common.o | 2 | obj-$(CONFIG_NET_DSA_MICROCHIP_KSZ_COMMON) += ksz_common.o |
| 2 | obj-$(CONFIG_NET_DSA_MICROCHIP_KSZ9477) += ksz9477.o | 3 | obj-$(CONFIG_NET_DSA_MICROCHIP_KSZ9477) += ksz9477.o |
| 3 | obj-$(CONFIG_NET_DSA_MICROCHIP_KSZ9477_SPI) += ksz9477_spi.o | 4 | obj-$(CONFIG_NET_DSA_MICROCHIP_KSZ9477_SPI) += ksz9477_spi.o |
diff --git a/drivers/net/dsa/mv88e6xxx/Kconfig b/drivers/net/dsa/mv88e6xxx/Kconfig index ae9e7f7cb31c..6435020d690d 100644 --- a/drivers/net/dsa/mv88e6xxx/Kconfig +++ b/drivers/net/dsa/mv88e6xxx/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config NET_DSA_MV88E6XXX | 2 | config NET_DSA_MV88E6XXX |
| 2 | tristate "Marvell 88E6xxx Ethernet switch fabric support" | 3 | tristate "Marvell 88E6xxx Ethernet switch fabric support" |
| 3 | depends on NET_DSA | 4 | depends on NET_DSA |
diff --git a/drivers/net/dsa/sja1105/Kconfig b/drivers/net/dsa/sja1105/Kconfig index 757751a89819..1144fc5f61a8 100644 --- a/drivers/net/dsa/sja1105/Kconfig +++ b/drivers/net/dsa/sja1105/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config NET_DSA_SJA1105 | 2 | config NET_DSA_SJA1105 |
| 2 | tristate "NXP SJA1105 Ethernet switch family support" | 3 | tristate "NXP SJA1105 Ethernet switch family support" |
| 3 | depends on NET_DSA && SPI | 4 | depends on NET_DSA && SPI |
diff --git a/drivers/net/dsa/sja1105/Makefile b/drivers/net/dsa/sja1105/Makefile index 1c2b55fec959..941848de8b46 100644 --- a/drivers/net/dsa/sja1105/Makefile +++ b/drivers/net/dsa/sja1105/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_NET_DSA_SJA1105) += sja1105.o | 2 | obj-$(CONFIG_NET_DSA_SJA1105) += sja1105.o |
| 2 | 3 | ||
| 3 | sja1105-objs := \ | 4 | sja1105-objs := \ |
diff --git a/drivers/net/dummy.c b/drivers/net/dummy.c index 3568129fb7da..54e4d8b07f0e 100644 --- a/drivers/net/dummy.c +++ b/drivers/net/dummy.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* dummy.c: a dummy net driver | 2 | /* dummy.c: a dummy net driver |
| 2 | 3 | ||
| 3 | The purpose of this driver is to provide a device to point a | 4 | The purpose of this driver is to provide a device to point a |
diff --git a/drivers/net/ethernet/3com/Kconfig b/drivers/net/ethernet/3com/Kconfig index 0ac44ef1f7a9..3a6fc99c6f32 100644 --- a/drivers/net/ethernet/3com/Kconfig +++ b/drivers/net/ethernet/3com/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # 3Com Ethernet device configuration | 3 | # 3Com Ethernet device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/8390/8390.c b/drivers/net/ethernet/8390/8390.c index a43544af257b..78f3e532c600 100644 --- a/drivers/net/ethernet/8390/8390.c +++ b/drivers/net/ethernet/8390/8390.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* 8390 core for usual drivers */ | 2 | /* 8390 core for usual drivers */ |
| 2 | 3 | ||
| 3 | static const char version[] = | 4 | static const char version[] = |
diff --git a/drivers/net/ethernet/8390/8390p.c b/drivers/net/ethernet/8390/8390p.c index 46d2257c4430..6cf36992a2c6 100644 --- a/drivers/net/ethernet/8390/8390p.c +++ b/drivers/net/ethernet/8390/8390p.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* 8390 core for ISA devices needing bus delays */ | 2 | /* 8390 core for ISA devices needing bus delays */ |
| 2 | 3 | ||
| 3 | static const char version[] = | 4 | static const char version[] = |
diff --git a/drivers/net/ethernet/8390/Kconfig b/drivers/net/ethernet/8390/Kconfig index f2f0264c58ba..bb09319feedf 100644 --- a/drivers/net/ethernet/8390/Kconfig +++ b/drivers/net/ethernet/8390/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # 8390 device configuration | 3 | # 8390 device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig index 885e00d17807..fe115b7caba0 100644 --- a/drivers/net/ethernet/Kconfig +++ b/drivers/net/ethernet/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Ethernet LAN device configuration | 3 | # Ethernet LAN device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/adaptec/Kconfig b/drivers/net/ethernet/adaptec/Kconfig index 822cffb4174c..86e02da4f993 100644 --- a/drivers/net/ethernet/adaptec/Kconfig +++ b/drivers/net/ethernet/adaptec/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Adaptec network device configuration | 3 | # Adaptec network device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/adaptec/Makefile b/drivers/net/ethernet/adaptec/Makefile index 6c07b758ac0a..d84138c8a9ea 100644 --- a/drivers/net/ethernet/adaptec/Makefile +++ b/drivers/net/ethernet/adaptec/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Adaptec network device drivers. | 3 | # Makefile for the Adaptec network device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/aeroflex/Kconfig b/drivers/net/ethernet/aeroflex/Kconfig index 4f4a8d78fd54..2fa0a317266b 100644 --- a/drivers/net/ethernet/aeroflex/Kconfig +++ b/drivers/net/ethernet/aeroflex/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Aeroflex Gaisler network device configuration | 3 | # Aeroflex Gaisler network device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/aeroflex/Makefile b/drivers/net/ethernet/aeroflex/Makefile index 6e62a679282f..1b18ef0a5389 100644 --- a/drivers/net/ethernet/aeroflex/Makefile +++ b/drivers/net/ethernet/aeroflex/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Aeroflex Gaisler network device drivers. | 3 | # Makefile for the Aeroflex Gaisler network device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/agere/Kconfig b/drivers/net/ethernet/agere/Kconfig index b6fe9200355a..084c7190ce2f 100644 --- a/drivers/net/ethernet/agere/Kconfig +++ b/drivers/net/ethernet/agere/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Agere device configuration | 3 | # Agere device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/agere/Makefile b/drivers/net/ethernet/agere/Makefile index 027ff9453fe1..8dbdf666b994 100644 --- a/drivers/net/ethernet/agere/Makefile +++ b/drivers/net/ethernet/agere/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Agere ET-131x ethernet driver | 3 | # Makefile for the Agere ET-131x ethernet driver |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/alacritech/Kconfig b/drivers/net/ethernet/alacritech/Kconfig index 09496e18cdc5..212f92c8e6a9 100644 --- a/drivers/net/ethernet/alacritech/Kconfig +++ b/drivers/net/ethernet/alacritech/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config NET_VENDOR_ALACRITECH | 2 | config NET_VENDOR_ALACRITECH |
| 2 | bool "Alacritech devices" | 3 | bool "Alacritech devices" |
| 3 | default y | 4 | default y |
diff --git a/drivers/net/ethernet/alacritech/Makefile b/drivers/net/ethernet/alacritech/Makefile index 8790e9ed8496..4378aadf895b 100644 --- a/drivers/net/ethernet/alacritech/Makefile +++ b/drivers/net/ethernet/alacritech/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Alacritech Slicoss driver | 3 | # Makefile for the Alacritech Slicoss driver |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/allwinner/Kconfig b/drivers/net/ethernet/allwinner/Kconfig index 47da7e7a5b6a..a5e2bcbf2722 100644 --- a/drivers/net/ethernet/allwinner/Kconfig +++ b/drivers/net/ethernet/allwinner/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Allwinner device configuration | 3 | # Allwinner device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/allwinner/Makefile b/drivers/net/ethernet/allwinner/Makefile index 03129f796514..ddd5a5079e8a 100644 --- a/drivers/net/ethernet/allwinner/Makefile +++ b/drivers/net/ethernet/allwinner/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Allwinner device drivers. | 3 | # Makefile for the Allwinner device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/alteon/Kconfig b/drivers/net/ethernet/alteon/Kconfig index e06ccab354b5..c3f7067d2d10 100644 --- a/drivers/net/ethernet/alteon/Kconfig +++ b/drivers/net/ethernet/alteon/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Alteon network device configuration | 3 | # Alteon network device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/alteon/Makefile b/drivers/net/ethernet/alteon/Makefile index a2ca173f2a50..be5225559b6d 100644 --- a/drivers/net/ethernet/alteon/Makefile +++ b/drivers/net/ethernet/alteon/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Alteon network device drivers. | 3 | # Makefile for the Alteon network device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/altera/Kconfig b/drivers/net/ethernet/altera/Kconfig index fdddba51473e..2690c398d2b2 100644 --- a/drivers/net/ethernet/altera/Kconfig +++ b/drivers/net/ethernet/altera/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config ALTERA_TSE | 2 | config ALTERA_TSE |
| 2 | tristate "Altera Triple-Speed Ethernet MAC support" | 3 | tristate "Altera Triple-Speed Ethernet MAC support" |
| 3 | depends on HAS_DMA | 4 | depends on HAS_DMA |
diff --git a/drivers/net/ethernet/altera/Makefile b/drivers/net/ethernet/altera/Makefile index d4a187e45369..a52db80aee9f 100644 --- a/drivers/net/ethernet/altera/Makefile +++ b/drivers/net/ethernet/altera/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Altera device drivers. | 3 | # Makefile for the Altera device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/amazon/Kconfig b/drivers/net/ethernet/amazon/Kconfig index 9e87d7b8360f..69ca99d8ac26 100644 --- a/drivers/net/ethernet/amazon/Kconfig +++ b/drivers/net/ethernet/amazon/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Amazon network device configuration | 3 | # Amazon network device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/amazon/Makefile b/drivers/net/ethernet/amazon/Makefile index 8e0b73f60d51..f614f23ec549 100644 --- a/drivers/net/ethernet/amazon/Makefile +++ b/drivers/net/ethernet/amazon/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Amazon network device drivers. | 3 | # Makefile for the Amazon network device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/amazon/ena/Makefile b/drivers/net/ethernet/amazon/ena/Makefile index eaeeae06c5d9..f1f752a8f7bb 100644 --- a/drivers/net/ethernet/amazon/ena/Makefile +++ b/drivers/net/ethernet/amazon/ena/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Elastic Network Adapter (ENA) device drivers. | 3 | # Makefile for the Elastic Network Adapter (ENA) device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/amd/7990.c b/drivers/net/ethernet/amd/7990.c index dc57f2759f44..ab30761003da 100644 --- a/drivers/net/ethernet/amd/7990.c +++ b/drivers/net/ethernet/amd/7990.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * 7990.c -- LANCE ethernet IC generic routines. | 3 | * 7990.c -- LANCE ethernet IC generic routines. |
| 3 | * This is an attempt to separate out the bits of various ethernet | 4 | * This is an attempt to separate out the bits of various ethernet |
diff --git a/drivers/net/ethernet/amd/Kconfig b/drivers/net/ethernet/amd/Kconfig index 9e5cf5583c87..de4950d2022e 100644 --- a/drivers/net/ethernet/amd/Kconfig +++ b/drivers/net/ethernet/amd/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # AMD network device configuration | 3 | # AMD network device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/amd/amd8111e.c b/drivers/net/ethernet/amd/amd8111e.c index 145fe71fd155..573e88fc8ede 100644 --- a/drivers/net/ethernet/amd/amd8111e.c +++ b/drivers/net/ethernet/amd/amd8111e.c | |||
| @@ -1,8 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | 2 | ||
| 2 | /* Advanced Micro Devices Inc. AMD8111E Linux Network Driver | 3 | /* Advanced Micro Devices Inc. AMD8111E Linux Network Driver |
| 3 | * Copyright (C) 2004 Advanced Micro Devices | 4 | * Copyright (C) 2004 Advanced Micro Devices |
| 4 | * | 5 | * |
| 5 | * | ||
| 6 | * Copyright 2001,2002 Jeff Garzik <jgarzik@mandrakesoft.com> [ 8139cp.c,tg3.c ] | 6 | * Copyright 2001,2002 Jeff Garzik <jgarzik@mandrakesoft.com> [ 8139cp.c,tg3.c ] |
| 7 | * Copyright (C) 2001, 2002 David S. Miller (davem@redhat.com)[ tg3.c] | 7 | * Copyright (C) 2001, 2002 David S. Miller (davem@redhat.com)[ tg3.c] |
| 8 | * Copyright 1996-1999 Thomas Bogendoerfer [ pcnet32.c ] | 8 | * Copyright 1996-1999 Thomas Bogendoerfer [ pcnet32.c ] |
| @@ -12,19 +12,6 @@ | |||
| 12 | * Carsten Langgaard, carstenl@mips.com [ pcnet32.c ] | 12 | * Carsten Langgaard, carstenl@mips.com [ pcnet32.c ] |
| 13 | * Copyright (C) 2000 MIPS Technologies, Inc. All rights reserved. | 13 | * Copyright (C) 2000 MIPS Technologies, Inc. All rights reserved. |
| 14 | * | 14 | * |
| 15 | * | ||
| 16 | * This program is free software; you can redistribute it and/or modify | ||
| 17 | * it under the terms of the GNU General Public License as published by | ||
| 18 | * the Free Software Foundation; either version 2 of the License, or | ||
| 19 | * (at your option) any later version. | ||
| 20 | * | ||
| 21 | * This program is distributed in the hope that it will be useful, | ||
| 22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 24 | * GNU General Public License for more details. | ||
| 25 | * | ||
| 26 | * You should have received a copy of the GNU General Public License | ||
| 27 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 28 | 15 | ||
| 29 | Module Name: | 16 | Module Name: |
| 30 | 17 | ||
diff --git a/drivers/net/ethernet/amd/amd8111e.h b/drivers/net/ethernet/amd/amd8111e.h index 2a57b46fd6a6..493f154eccf4 100644 --- a/drivers/net/ethernet/amd/amd8111e.h +++ b/drivers/net/ethernet/amd/amd8111e.h | |||
| @@ -1,19 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * Advanced Micro Devices Inc. AMD8111E Linux Network Driver | 3 | * Advanced Micro Devices Inc. AMD8111E Linux Network Driver |
| 3 | * Copyright (C) 2003 Advanced Micro Devices | 4 | * Copyright (C) 2003 Advanced Micro Devices |
| 4 | * | 5 | * |
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License as published by | ||
| 7 | * the Free Software Foundation; either version 2 of the License, or | ||
| 8 | * (at your option) any later version. | ||
| 9 | * | ||
| 10 | * This program is distributed in the hope that it will be useful, | ||
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | * GNU General Public License for more details. | ||
| 14 | * | ||
| 15 | * You should have received a copy of the GNU General Public License | ||
| 16 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 17 | 6 | ||
| 18 | Module Name: | 7 | Module Name: |
| 19 | 8 | ||
diff --git a/drivers/net/ethernet/amd/declance.c b/drivers/net/ethernet/amd/declance.c index 9f23703dd509..dac4a2fcad6a 100644 --- a/drivers/net/ethernet/amd/declance.c +++ b/drivers/net/ethernet/amd/declance.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Lance ethernet driver for the MIPS processor based | 3 | * Lance ethernet driver for the MIPS processor based |
| 3 | * DECstation family | 4 | * DECstation family |
diff --git a/drivers/net/ethernet/amd/hplance.c b/drivers/net/ethernet/amd/hplance.c index c3dbf1c8a269..1381a474063f 100644 --- a/drivers/net/ethernet/amd/hplance.c +++ b/drivers/net/ethernet/amd/hplance.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* hplance.c : the Linux/hp300/lance ethernet driver | 2 | /* hplance.c : the Linux/hp300/lance ethernet driver |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 05/1998 Peter Maydell <pmaydell@chiark.greenend.org.uk> | 4 | * Copyright (C) 05/1998 Peter Maydell <pmaydell@chiark.greenend.org.uk> |
diff --git a/drivers/net/ethernet/amd/mvme147.c b/drivers/net/ethernet/amd/mvme147.c index 0a920448522f..72abd3f82249 100644 --- a/drivers/net/ethernet/amd/mvme147.c +++ b/drivers/net/ethernet/amd/mvme147.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* mvme147.c : the Linux/mvme147/lance ethernet driver | 2 | /* mvme147.c : the Linux/mvme147/lance ethernet driver |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 05/1998 Peter Maydell <pmaydell@chiark.greenend.org.uk> | 4 | * Copyright (C) 05/1998 Peter Maydell <pmaydell@chiark.greenend.org.uk> |
diff --git a/drivers/net/ethernet/amd/sunlance.c b/drivers/net/ethernet/amd/sunlance.c index bd6589de93d9..ebcbf8ca4829 100644 --- a/drivers/net/ethernet/amd/sunlance.c +++ b/drivers/net/ethernet/amd/sunlance.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* $Id: sunlance.c,v 1.112 2002/01/15 06:48:55 davem Exp $ | 2 | /* $Id: sunlance.c,v 1.112 2002/01/15 06:48:55 davem Exp $ |
| 2 | * lance.c: Linux/Sparc/Lance driver | 3 | * lance.c: Linux/Sparc/Lance driver |
| 3 | * | 4 | * |
diff --git a/drivers/net/ethernet/apm/Kconfig b/drivers/net/ethernet/apm/Kconfig index 59efe5b145dd..a893ef0e9c49 100644 --- a/drivers/net/ethernet/apm/Kconfig +++ b/drivers/net/ethernet/apm/Kconfig | |||
| @@ -1,2 +1,3 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | source "drivers/net/ethernet/apm/xgene/Kconfig" | 2 | source "drivers/net/ethernet/apm/xgene/Kconfig" |
| 2 | source "drivers/net/ethernet/apm/xgene-v2/Kconfig" | 3 | source "drivers/net/ethernet/apm/xgene-v2/Kconfig" |
diff --git a/drivers/net/ethernet/apm/Makefile b/drivers/net/ethernet/apm/Makefile index 946b2a4c882d..cc8af97241fb 100644 --- a/drivers/net/ethernet/apm/Makefile +++ b/drivers/net/ethernet/apm/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for APM X-GENE Ethernet driver. | 3 | # Makefile for APM X-GENE Ethernet driver. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/apm/xgene-v2/Kconfig b/drivers/net/ethernet/apm/xgene-v2/Kconfig index eedd3f3dd22e..2274af912fb3 100644 --- a/drivers/net/ethernet/apm/xgene-v2/Kconfig +++ b/drivers/net/ethernet/apm/xgene-v2/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config NET_XGENE_V2 | 2 | config NET_XGENE_V2 |
| 2 | tristate "APM X-Gene SoC Ethernet-v2 Driver" | 3 | tristate "APM X-Gene SoC Ethernet-v2 Driver" |
| 3 | depends on ARCH_XGENE || COMPILE_TEST | 4 | depends on ARCH_XGENE || COMPILE_TEST |
diff --git a/drivers/net/ethernet/apm/xgene-v2/Makefile b/drivers/net/ethernet/apm/xgene-v2/Makefile index f16a2b3dde8b..fdde3b668acd 100644 --- a/drivers/net/ethernet/apm/xgene-v2/Makefile +++ b/drivers/net/ethernet/apm/xgene-v2/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for APM X-Gene Ethernet v2 driver | 3 | # Makefile for APM X-Gene Ethernet v2 driver |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/apm/xgene-v2/enet.c b/drivers/net/ethernet/apm/xgene-v2/enet.c index 5998da014923..a8c6b379df82 100644 --- a/drivers/net/ethernet/apm/xgene-v2/enet.c +++ b/drivers/net/ethernet/apm/xgene-v2/enet.c | |||
| @@ -1,22 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Applied Micro X-Gene SoC Ethernet v2 Driver | 3 | * Applied Micro X-Gene SoC Ethernet v2 Driver |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2017, Applied Micro Circuits Corporation | 5 | * Copyright (c) 2017, Applied Micro Circuits Corporation |
| 5 | * Author(s): Iyappan Subramanian <isubramanian@apm.com> | 6 | * Author(s): Iyappan Subramanian <isubramanian@apm.com> |
| 6 | * Keyur Chudgar <kchudgar@apm.com> | 7 | * Keyur Chudgar <kchudgar@apm.com> |
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify it | ||
| 9 | * under the terms of the GNU General Public License as published by the | ||
| 10 | * Free Software Foundation; either version 2 of the License, or (at your | ||
| 11 | * option) any later version. | ||
| 12 | * | ||
| 13 | * This program is distributed in the hope that it will be useful, | ||
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public License | ||
| 19 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 20 | */ | 8 | */ |
| 21 | 9 | ||
| 22 | #include "main.h" | 10 | #include "main.h" |
diff --git a/drivers/net/ethernet/apm/xgene-v2/enet.h b/drivers/net/ethernet/apm/xgene-v2/enet.h index 3fd36dc66a23..15cbd0ca1e9a 100644 --- a/drivers/net/ethernet/apm/xgene-v2/enet.h +++ b/drivers/net/ethernet/apm/xgene-v2/enet.h | |||
| @@ -1,22 +1,10 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * Applied Micro X-Gene SoC Ethernet v2 Driver | 3 | * Applied Micro X-Gene SoC Ethernet v2 Driver |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2017, Applied Micro Circuits Corporation | 5 | * Copyright (c) 2017, Applied Micro Circuits Corporation |
| 5 | * Author(s): Iyappan Subramanian <isubramanian@apm.com> | 6 | * Author(s): Iyappan Subramanian <isubramanian@apm.com> |
| 6 | * Keyur Chudgar <kchudgar@apm.com> | 7 | * Keyur Chudgar <kchudgar@apm.com> |
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify it | ||
| 9 | * under the terms of the GNU General Public License as published by the | ||
| 10 | * Free Software Foundation; either version 2 of the License, or (at your | ||
| 11 | * option) any later version. | ||
| 12 | * | ||
| 13 | * This program is distributed in the hope that it will be useful, | ||
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public License | ||
| 19 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 20 | */ | 8 | */ |
| 21 | 9 | ||
| 22 | #ifndef __XGENE_ENET_V2_ENET_H__ | 10 | #ifndef __XGENE_ENET_V2_ENET_H__ |
diff --git a/drivers/net/ethernet/apm/xgene-v2/ethtool.c b/drivers/net/ethernet/apm/xgene-v2/ethtool.c index d31ad8270d93..a58250c1b57a 100644 --- a/drivers/net/ethernet/apm/xgene-v2/ethtool.c +++ b/drivers/net/ethernet/apm/xgene-v2/ethtool.c | |||
| @@ -1,22 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Applied Micro X-Gene SoC Ethernet v2 Driver | 3 | * Applied Micro X-Gene SoC Ethernet v2 Driver |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2017, Applied Micro Circuits Corporation | 5 | * Copyright (c) 2017, Applied Micro Circuits Corporation |
| 5 | * Author(s): Iyappan Subramanian <isubramanian@apm.com> | 6 | * Author(s): Iyappan Subramanian <isubramanian@apm.com> |
| 6 | * Keyur Chudgar <kchudgar@apm.com> | 7 | * Keyur Chudgar <kchudgar@apm.com> |
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify it | ||
| 9 | * under the terms of the GNU General Public License as published by the | ||
| 10 | * Free Software Foundation; either version 2 of the License, or (at your | ||
| 11 | * option) any later version. | ||
| 12 | * | ||
| 13 | * This program is distributed in the hope that it will be useful, | ||
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public License | ||
| 19 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 20 | */ | 8 | */ |
| 21 | 9 | ||
| 22 | #include "main.h" | 10 | #include "main.h" |
diff --git a/drivers/net/ethernet/apm/xgene-v2/ethtool.h b/drivers/net/ethernet/apm/xgene-v2/ethtool.h index 54b48d5561b8..8263b4aca6fe 100644 --- a/drivers/net/ethernet/apm/xgene-v2/ethtool.h +++ b/drivers/net/ethernet/apm/xgene-v2/ethtool.h | |||
| @@ -1,21 +1,9 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * Applied Micro X-Gene SoC Ethernet v2 Driver | 3 | * Applied Micro X-Gene SoC Ethernet v2 Driver |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2017, Applied Micro Circuits Corporation | 5 | * Copyright (c) 2017, Applied Micro Circuits Corporation |
| 5 | * Author(s): Iyappan Subramanian <isubramanian@apm.com> | 6 | * Author(s): Iyappan Subramanian <isubramanian@apm.com> |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify it | ||
| 8 | * under the terms of the GNU General Public License as published by the | ||
| 9 | * Free Software Foundation; either version 2 of the License, or (at your | ||
| 10 | * option) any later version. | ||
| 11 | * | ||
| 12 | * This program is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 19 | */ | 7 | */ |
| 20 | 8 | ||
| 21 | #ifndef __XGENE_ENET_V2_ETHTOOL_H__ | 9 | #ifndef __XGENE_ENET_V2_ETHTOOL_H__ |
diff --git a/drivers/net/ethernet/apm/xgene-v2/mac.c b/drivers/net/ethernet/apm/xgene-v2/mac.c index ee431e397e57..2da979e4fad1 100644 --- a/drivers/net/ethernet/apm/xgene-v2/mac.c +++ b/drivers/net/ethernet/apm/xgene-v2/mac.c | |||
| @@ -1,22 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Applied Micro X-Gene SoC Ethernet v2 Driver | 3 | * Applied Micro X-Gene SoC Ethernet v2 Driver |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2017, Applied Micro Circuits Corporation | 5 | * Copyright (c) 2017, Applied Micro Circuits Corporation |
| 5 | * Author(s): Iyappan Subramanian <isubramanian@apm.com> | 6 | * Author(s): Iyappan Subramanian <isubramanian@apm.com> |
| 6 | * Keyur Chudgar <kchudgar@apm.com> | 7 | * Keyur Chudgar <kchudgar@apm.com> |
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify it | ||
| 9 | * under the terms of the GNU General Public License as published by the | ||
| 10 | * Free Software Foundation; either version 2 of the License, or (at your | ||
| 11 | * option) any later version. | ||
| 12 | * | ||
| 13 | * This program is distributed in the hope that it will be useful, | ||
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public License | ||
| 19 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 20 | */ | 8 | */ |
| 21 | 9 | ||
| 22 | #include "main.h" | 10 | #include "main.h" |
diff --git a/drivers/net/ethernet/apm/xgene-v2/mac.h b/drivers/net/ethernet/apm/xgene-v2/mac.h index 3c83fa617356..7392f606687b 100644 --- a/drivers/net/ethernet/apm/xgene-v2/mac.h +++ b/drivers/net/ethernet/apm/xgene-v2/mac.h | |||
| @@ -1,22 +1,10 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * Applied Micro X-Gene SoC Ethernet v2 Driver | 3 | * Applied Micro X-Gene SoC Ethernet v2 Driver |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2017, Applied Micro Circuits Corporation | 5 | * Copyright (c) 2017, Applied Micro Circuits Corporation |
| 5 | * Author(s): Iyappan Subramanian <isubramanian@apm.com> | 6 | * Author(s): Iyappan Subramanian <isubramanian@apm.com> |
| 6 | * Keyur Chudgar <kchudgar@apm.com> | 7 | * Keyur Chudgar <kchudgar@apm.com> |
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify it | ||
| 9 | * under the terms of the GNU General Public License as published by the | ||
| 10 | * Free Software Foundation; either version 2 of the License, or (at your | ||
| 11 | * option) any later version. | ||
| 12 | * | ||
| 13 | * This program is distributed in the hope that it will be useful, | ||
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public License | ||
| 19 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 20 | */ | 8 | */ |
| 21 | 9 | ||
| 22 | #ifndef __XGENE_ENET_V2_MAC_H__ | 10 | #ifndef __XGENE_ENET_V2_MAC_H__ |
diff --git a/drivers/net/ethernet/apm/xgene-v2/main.c b/drivers/net/ethernet/apm/xgene-v2/main.c index 87b142a312e0..79048cc46703 100644 --- a/drivers/net/ethernet/apm/xgene-v2/main.c +++ b/drivers/net/ethernet/apm/xgene-v2/main.c | |||
| @@ -1,22 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Applied Micro X-Gene SoC Ethernet v2 Driver | 3 | * Applied Micro X-Gene SoC Ethernet v2 Driver |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2017, Applied Micro Circuits Corporation | 5 | * Copyright (c) 2017, Applied Micro Circuits Corporation |
| 5 | * Author(s): Iyappan Subramanian <isubramanian@apm.com> | 6 | * Author(s): Iyappan Subramanian <isubramanian@apm.com> |
| 6 | * Keyur Chudgar <kchudgar@apm.com> | 7 | * Keyur Chudgar <kchudgar@apm.com> |
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify it | ||
| 9 | * under the terms of the GNU General Public License as published by the | ||
| 10 | * Free Software Foundation; either version 2 of the License, or (at your | ||
| 11 | * option) any later version. | ||
| 12 | * | ||
| 13 | * This program is distributed in the hope that it will be useful, | ||
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public License | ||
| 19 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 20 | */ | 8 | */ |
| 21 | 9 | ||
| 22 | #include "main.h" | 10 | #include "main.h" |
diff --git a/drivers/net/ethernet/apm/xgene-v2/main.h b/drivers/net/ethernet/apm/xgene-v2/main.h index 969b258cb7de..d41439d2709d 100644 --- a/drivers/net/ethernet/apm/xgene-v2/main.h +++ b/drivers/net/ethernet/apm/xgene-v2/main.h | |||
| @@ -1,22 +1,10 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * Applied Micro X-Gene SoC Ethernet v2 Driver | 3 | * Applied Micro X-Gene SoC Ethernet v2 Driver |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2017, Applied Micro Circuits Corporation | 5 | * Copyright (c) 2017, Applied Micro Circuits Corporation |
| 5 | * Author(s): Iyappan Subramanian <isubramanian@apm.com> | 6 | * Author(s): Iyappan Subramanian <isubramanian@apm.com> |
| 6 | * Keyur Chudgar <kchudgar@apm.com> | 7 | * Keyur Chudgar <kchudgar@apm.com> |
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify it | ||
| 9 | * under the terms of the GNU General Public License as published by the | ||
| 10 | * Free Software Foundation; either version 2 of the License, or (at your | ||
| 11 | * option) any later version. | ||
| 12 | * | ||
| 13 | * This program is distributed in the hope that it will be useful, | ||
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public License | ||
| 19 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 20 | */ | 8 | */ |
| 21 | 9 | ||
| 22 | #ifndef __XGENE_ENET_V2_MAIN_H__ | 10 | #ifndef __XGENE_ENET_V2_MAIN_H__ |
diff --git a/drivers/net/ethernet/apm/xgene-v2/mdio.c b/drivers/net/ethernet/apm/xgene-v2/mdio.c index 53529cd85162..eba06831aec2 100644 --- a/drivers/net/ethernet/apm/xgene-v2/mdio.c +++ b/drivers/net/ethernet/apm/xgene-v2/mdio.c | |||
| @@ -1,22 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Applied Micro X-Gene SoC Ethernet v2 Driver | 3 | * Applied Micro X-Gene SoC Ethernet v2 Driver |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2017, Applied Micro Circuits Corporation | 5 | * Copyright (c) 2017, Applied Micro Circuits Corporation |
| 5 | * Author(s): Iyappan Subramanian <isubramanian@apm.com> | 6 | * Author(s): Iyappan Subramanian <isubramanian@apm.com> |
| 6 | * Keyur Chudgar <kchudgar@apm.com> | 7 | * Keyur Chudgar <kchudgar@apm.com> |
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify it | ||
| 9 | * under the terms of the GNU General Public License as published by the | ||
| 10 | * Free Software Foundation; either version 2 of the License, or (at your | ||
| 11 | * option) any later version. | ||
| 12 | * | ||
| 13 | * This program is distributed in the hope that it will be useful, | ||
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public License | ||
| 19 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 20 | */ | 8 | */ |
| 21 | 9 | ||
| 22 | #include "main.h" | 10 | #include "main.h" |
diff --git a/drivers/net/ethernet/apm/xgene-v2/ring.c b/drivers/net/ethernet/apm/xgene-v2/ring.c index 38810828f8f0..fbea4bc438a9 100644 --- a/drivers/net/ethernet/apm/xgene-v2/ring.c +++ b/drivers/net/ethernet/apm/xgene-v2/ring.c | |||
| @@ -1,22 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Applied Micro X-Gene SoC Ethernet v2 Driver | 3 | * Applied Micro X-Gene SoC Ethernet v2 Driver |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2017, Applied Micro Circuits Corporation | 5 | * Copyright (c) 2017, Applied Micro Circuits Corporation |
| 5 | * Author(s): Iyappan Subramanian <isubramanian@apm.com> | 6 | * Author(s): Iyappan Subramanian <isubramanian@apm.com> |
| 6 | * Keyur Chudgar <kchudgar@apm.com> | 7 | * Keyur Chudgar <kchudgar@apm.com> |
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify it | ||
| 9 | * under the terms of the GNU General Public License as published by the | ||
| 10 | * Free Software Foundation; either version 2 of the License, or (at your | ||
| 11 | * option) any later version. | ||
| 12 | * | ||
| 13 | * This program is distributed in the hope that it will be useful, | ||
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public License | ||
| 19 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 20 | */ | 8 | */ |
| 21 | 9 | ||
| 22 | #include "main.h" | 10 | #include "main.h" |
diff --git a/drivers/net/ethernet/apm/xgene-v2/ring.h b/drivers/net/ethernet/apm/xgene-v2/ring.h index abc8c9a84954..2fd25553d5d3 100644 --- a/drivers/net/ethernet/apm/xgene-v2/ring.h +++ b/drivers/net/ethernet/apm/xgene-v2/ring.h | |||
| @@ -1,22 +1,10 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * Applied Micro X-Gene SoC Ethernet v2 Driver | 3 | * Applied Micro X-Gene SoC Ethernet v2 Driver |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2017, Applied Micro Circuits Corporation | 5 | * Copyright (c) 2017, Applied Micro Circuits Corporation |
| 5 | * Author(s): Iyappan Subramanian <isubramanian@apm.com> | 6 | * Author(s): Iyappan Subramanian <isubramanian@apm.com> |
| 6 | * Keyur Chudgar <kchudgar@apm.com> | 7 | * Keyur Chudgar <kchudgar@apm.com> |
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify it | ||
| 9 | * under the terms of the GNU General Public License as published by the | ||
| 10 | * Free Software Foundation; either version 2 of the License, or (at your | ||
| 11 | * option) any later version. | ||
| 12 | * | ||
| 13 | * This program is distributed in the hope that it will be useful, | ||
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public License | ||
| 19 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 20 | */ | 8 | */ |
| 21 | 9 | ||
| 22 | #ifndef __XGENE_ENET_V2_RING_H__ | 10 | #ifndef __XGENE_ENET_V2_RING_H__ |
diff --git a/drivers/net/ethernet/apm/xgene/Kconfig b/drivers/net/ethernet/apm/xgene/Kconfig index e4e33c900b57..7bdfe78427df 100644 --- a/drivers/net/ethernet/apm/xgene/Kconfig +++ b/drivers/net/ethernet/apm/xgene/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config NET_XGENE | 2 | config NET_XGENE |
| 2 | tristate "APM X-Gene SoC Ethernet Driver" | 3 | tristate "APM X-Gene SoC Ethernet Driver" |
| 3 | depends on ARCH_XGENE || COMPILE_TEST | 4 | depends on ARCH_XGENE || COMPILE_TEST |
diff --git a/drivers/net/ethernet/apm/xgene/Makefile b/drivers/net/ethernet/apm/xgene/Makefile index f46321f68315..6d1314757d3c 100644 --- a/drivers/net/ethernet/apm/xgene/Makefile +++ b/drivers/net/ethernet/apm/xgene/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for APM X-Gene Ethernet Driver. | 3 | # Makefile for APM X-Gene Ethernet Driver. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/apm/xgene/xgene_enet_cle.c b/drivers/net/ethernet/apm/xgene/xgene_enet_cle.c index e1a51d8892fc..de5464322311 100644 --- a/drivers/net/ethernet/apm/xgene/xgene_enet_cle.c +++ b/drivers/net/ethernet/apm/xgene/xgene_enet_cle.c | |||
| @@ -1,22 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* Applied Micro X-Gene SoC Ethernet Classifier structures | 2 | /* Applied Micro X-Gene SoC Ethernet Classifier structures |
| 2 | * | 3 | * |
| 3 | * Copyright (c) 2016, Applied Micro Circuits Corporation | 4 | * Copyright (c) 2016, Applied Micro Circuits Corporation |
| 4 | * Authors: Khuong Dinh <kdinh@apm.com> | 5 | * Authors: Khuong Dinh <kdinh@apm.com> |
| 5 | * Tanmay Inamdar <tinamdar@apm.com> | 6 | * Tanmay Inamdar <tinamdar@apm.com> |
| 6 | * Iyappan Subramanian <isubramanian@apm.com> | 7 | * Iyappan Subramanian <isubramanian@apm.com> |
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify it | ||
| 9 | * under the terms of the GNU General Public License as published by the | ||
| 10 | * Free Software Foundation; either version 2 of the License, or (at your | ||
| 11 | * option) any later version. | ||
| 12 | * | ||
| 13 | * This program is distributed in the hope that it will be useful, | ||
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public License | ||
| 19 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 20 | */ | 8 | */ |
| 21 | 9 | ||
| 22 | #include "xgene_enet_main.h" | 10 | #include "xgene_enet_main.h" |
diff --git a/drivers/net/ethernet/apm/xgene/xgene_enet_cle.h b/drivers/net/ethernet/apm/xgene/xgene_enet_cle.h index 18fe8d56082c..bc05cbcf4403 100644 --- a/drivers/net/ethernet/apm/xgene/xgene_enet_cle.h +++ b/drivers/net/ethernet/apm/xgene/xgene_enet_cle.h | |||
| @@ -1,22 +1,10 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* Applied Micro X-Gene SoC Ethernet Classifier structures | 2 | /* Applied Micro X-Gene SoC Ethernet Classifier structures |
| 2 | * | 3 | * |
| 3 | * Copyright (c) 2016, Applied Micro Circuits Corporation | 4 | * Copyright (c) 2016, Applied Micro Circuits Corporation |
| 4 | * Authors: Khuong Dinh <kdinh@apm.com> | 5 | * Authors: Khuong Dinh <kdinh@apm.com> |
| 5 | * Tanmay Inamdar <tinamdar@apm.com> | 6 | * Tanmay Inamdar <tinamdar@apm.com> |
| 6 | * Iyappan Subramanian <isubramanian@apm.com> | 7 | * Iyappan Subramanian <isubramanian@apm.com> |
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify it | ||
| 9 | * under the terms of the GNU General Public License as published by the | ||
| 10 | * Free Software Foundation; either version 2 of the License, or (at your | ||
| 11 | * option) any later version. | ||
| 12 | * | ||
| 13 | * This program is distributed in the hope that it will be useful, | ||
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public License | ||
| 19 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 20 | */ | 8 | */ |
| 21 | 9 | ||
| 22 | #ifndef __XGENE_ENET_CLE_H__ | 10 | #ifndef __XGENE_ENET_CLE_H__ |
diff --git a/drivers/net/ethernet/apm/xgene/xgene_enet_ethtool.c b/drivers/net/ethernet/apm/xgene/xgene_enet_ethtool.c index 78dd09b5beeb..246dec27140d 100644 --- a/drivers/net/ethernet/apm/xgene/xgene_enet_ethtool.c +++ b/drivers/net/ethernet/apm/xgene/xgene_enet_ethtool.c | |||
| @@ -1,20 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* Applied Micro X-Gene SoC Ethernet Driver | 2 | /* Applied Micro X-Gene SoC Ethernet Driver |
| 2 | * | 3 | * |
| 3 | * Copyright (c) 2014, Applied Micro Circuits Corporation | 4 | * Copyright (c) 2014, Applied Micro Circuits Corporation |
| 4 | * Authors: Iyappan Subramanian <isubramanian@apm.com> | 5 | * Authors: Iyappan Subramanian <isubramanian@apm.com> |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify it | ||
| 7 | * under the terms of the GNU General Public License as published by the | ||
| 8 | * Free Software Foundation; either version 2 of the License, or (at your | ||
| 9 | * 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, see <http://www.gnu.org/licenses/>. | ||
| 18 | */ | 6 | */ |
| 19 | 7 | ||
| 20 | #include <linux/ethtool.h> | 8 | #include <linux/ethtool.h> |
diff --git a/drivers/net/ethernet/apm/xgene/xgene_enet_hw.c b/drivers/net/ethernet/apm/xgene/xgene_enet_hw.c index e3560311711a..61a465097cb8 100644 --- a/drivers/net/ethernet/apm/xgene/xgene_enet_hw.c +++ b/drivers/net/ethernet/apm/xgene/xgene_enet_hw.c | |||
| @@ -1,22 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* Applied Micro X-Gene SoC Ethernet Driver | 2 | /* Applied Micro X-Gene SoC Ethernet Driver |
| 2 | * | 3 | * |
| 3 | * Copyright (c) 2014, Applied Micro Circuits Corporation | 4 | * Copyright (c) 2014, Applied Micro Circuits Corporation |
| 4 | * Authors: Iyappan Subramanian <isubramanian@apm.com> | 5 | * Authors: Iyappan Subramanian <isubramanian@apm.com> |
| 5 | * Ravi Patel <rapatel@apm.com> | 6 | * Ravi Patel <rapatel@apm.com> |
| 6 | * Keyur Chudgar <kchudgar@apm.com> | 7 | * Keyur Chudgar <kchudgar@apm.com> |
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify it | ||
| 9 | * under the terms of the GNU General Public License as published by the | ||
| 10 | * Free Software Foundation; either version 2 of the License, or (at your | ||
| 11 | * option) any later version. | ||
| 12 | * | ||
| 13 | * This program is distributed in the hope that it will be useful, | ||
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public License | ||
| 19 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 20 | */ | 8 | */ |
| 21 | 9 | ||
| 22 | #include "xgene_enet_main.h" | 10 | #include "xgene_enet_main.h" |
diff --git a/drivers/net/ethernet/apm/xgene/xgene_enet_hw.h b/drivers/net/ethernet/apm/xgene/xgene_enet_hw.h index 5d3e18d3c94c..2f534f9d4416 100644 --- a/drivers/net/ethernet/apm/xgene/xgene_enet_hw.h +++ b/drivers/net/ethernet/apm/xgene/xgene_enet_hw.h | |||
| @@ -1,22 +1,10 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* Applied Micro X-Gene SoC Ethernet Driver | 2 | /* Applied Micro X-Gene SoC Ethernet Driver |
| 2 | * | 3 | * |
| 3 | * Copyright (c) 2014, Applied Micro Circuits Corporation | 4 | * Copyright (c) 2014, Applied Micro Circuits Corporation |
| 4 | * Authors: Iyappan Subramanian <isubramanian@apm.com> | 5 | * Authors: Iyappan Subramanian <isubramanian@apm.com> |
| 5 | * Ravi Patel <rapatel@apm.com> | 6 | * Ravi Patel <rapatel@apm.com> |
| 6 | * Keyur Chudgar <kchudgar@apm.com> | 7 | * Keyur Chudgar <kchudgar@apm.com> |
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify it | ||
| 9 | * under the terms of the GNU General Public License as published by the | ||
| 10 | * Free Software Foundation; either version 2 of the License, or (at your | ||
| 11 | * option) any later version. | ||
| 12 | * | ||
| 13 | * This program is distributed in the hope that it will be useful, | ||
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public License | ||
| 19 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 20 | */ | 8 | */ |
| 21 | 9 | ||
| 22 | #ifndef __XGENE_ENET_HW_H__ | 10 | #ifndef __XGENE_ENET_HW_H__ |
diff --git a/drivers/net/ethernet/apm/xgene/xgene_enet_main.c b/drivers/net/ethernet/apm/xgene/xgene_enet_main.c index 50dd6bf176d0..10b1c053e70a 100644 --- a/drivers/net/ethernet/apm/xgene/xgene_enet_main.c +++ b/drivers/net/ethernet/apm/xgene/xgene_enet_main.c | |||
| @@ -1,22 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* Applied Micro X-Gene SoC Ethernet Driver | 2 | /* Applied Micro X-Gene SoC Ethernet Driver |
| 2 | * | 3 | * |
| 3 | * Copyright (c) 2014, Applied Micro Circuits Corporation | 4 | * Copyright (c) 2014, Applied Micro Circuits Corporation |
| 4 | * Authors: Iyappan Subramanian <isubramanian@apm.com> | 5 | * Authors: Iyappan Subramanian <isubramanian@apm.com> |
| 5 | * Ravi Patel <rapatel@apm.com> | 6 | * Ravi Patel <rapatel@apm.com> |
| 6 | * Keyur Chudgar <kchudgar@apm.com> | 7 | * Keyur Chudgar <kchudgar@apm.com> |
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify it | ||
| 9 | * under the terms of the GNU General Public License as published by the | ||
| 10 | * Free Software Foundation; either version 2 of the License, or (at your | ||
| 11 | * option) any later version. | ||
| 12 | * | ||
| 13 | * This program is distributed in the hope that it will be useful, | ||
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public License | ||
| 19 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 20 | */ | 8 | */ |
| 21 | 9 | ||
| 22 | #include <linux/gpio.h> | 10 | #include <linux/gpio.h> |
diff --git a/drivers/net/ethernet/apm/xgene/xgene_enet_main.h b/drivers/net/ethernet/apm/xgene/xgene_enet_main.h index 985768596900..18f4923b1723 100644 --- a/drivers/net/ethernet/apm/xgene/xgene_enet_main.h +++ b/drivers/net/ethernet/apm/xgene/xgene_enet_main.h | |||
| @@ -1,22 +1,10 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* Applied Micro X-Gene SoC Ethernet Driver | 2 | /* Applied Micro X-Gene SoC Ethernet Driver |
| 2 | * | 3 | * |
| 3 | * Copyright (c) 2014, Applied Micro Circuits Corporation | 4 | * Copyright (c) 2014, Applied Micro Circuits Corporation |
| 4 | * Authors: Iyappan Subramanian <isubramanian@apm.com> | 5 | * Authors: Iyappan Subramanian <isubramanian@apm.com> |
| 5 | * Ravi Patel <rapatel@apm.com> | 6 | * Ravi Patel <rapatel@apm.com> |
| 6 | * Keyur Chudgar <kchudgar@apm.com> | 7 | * Keyur Chudgar <kchudgar@apm.com> |
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify it | ||
| 9 | * under the terms of the GNU General Public License as published by the | ||
| 10 | * Free Software Foundation; either version 2 of the License, or (at your | ||
| 11 | * option) any later version. | ||
| 12 | * | ||
| 13 | * This program is distributed in the hope that it will be useful, | ||
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public License | ||
| 19 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 20 | */ | 8 | */ |
| 21 | 9 | ||
| 22 | #ifndef __XGENE_ENET_MAIN_H__ | 10 | #ifndef __XGENE_ENET_MAIN_H__ |
diff --git a/drivers/net/ethernet/apm/xgene/xgene_enet_ring2.c b/drivers/net/ethernet/apm/xgene/xgene_enet_ring2.c index 4ff40559f970..02892efdc4dc 100644 --- a/drivers/net/ethernet/apm/xgene/xgene_enet_ring2.c +++ b/drivers/net/ethernet/apm/xgene/xgene_enet_ring2.c | |||
| @@ -1,20 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* Applied Micro X-Gene SoC Ethernet Driver | 2 | /* Applied Micro X-Gene SoC Ethernet Driver |
| 2 | * | 3 | * |
| 3 | * Copyright (c) 2015, Applied Micro Circuits Corporation | 4 | * Copyright (c) 2015, Applied Micro Circuits Corporation |
| 4 | * Author: Iyappan Subramanian <isubramanian@apm.com> | 5 | * Author: Iyappan Subramanian <isubramanian@apm.com> |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify it | ||
| 7 | * under the terms of the GNU General Public License as published by the | ||
| 8 | * Free Software Foundation; either version 2 of the License, or (at your | ||
| 9 | * 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, see <http://www.gnu.org/licenses/>. | ||
| 18 | */ | 6 | */ |
| 19 | 7 | ||
| 20 | #include "xgene_enet_main.h" | 8 | #include "xgene_enet_main.h" |
diff --git a/drivers/net/ethernet/apm/xgene/xgene_enet_ring2.h b/drivers/net/ethernet/apm/xgene/xgene_enet_ring2.h index 8b235db23c42..4e2edeea54ab 100644 --- a/drivers/net/ethernet/apm/xgene/xgene_enet_ring2.h +++ b/drivers/net/ethernet/apm/xgene/xgene_enet_ring2.h | |||
| @@ -1,20 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* Applied Micro X-Gene SoC Ethernet Driver | 2 | /* Applied Micro X-Gene SoC Ethernet Driver |
| 2 | * | 3 | * |
| 3 | * Copyright (c) 2015, Applied Micro Circuits Corporation | 4 | * Copyright (c) 2015, Applied Micro Circuits Corporation |
| 4 | * Author: Iyappan Subramanian <isubramanian@apm.com> | 5 | * Author: Iyappan Subramanian <isubramanian@apm.com> |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify it | ||
| 7 | * under the terms of the GNU General Public License as published by the | ||
| 8 | * Free Software Foundation; either version 2 of the License, or (at your | ||
| 9 | * 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, see <http://www.gnu.org/licenses/>. | ||
| 18 | */ | 6 | */ |
| 19 | 7 | ||
| 20 | #ifndef __XGENE_ENET_RING2_H__ | 8 | #ifndef __XGENE_ENET_RING2_H__ |
diff --git a/drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.c b/drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.c index b1a83fdbefb8..6453fc2ebb1f 100644 --- a/drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.c +++ b/drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.c | |||
| @@ -1,21 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* Applied Micro X-Gene SoC Ethernet Driver | 2 | /* Applied Micro X-Gene SoC Ethernet Driver |
| 2 | * | 3 | * |
| 3 | * Copyright (c) 2014, Applied Micro Circuits Corporation | 4 | * Copyright (c) 2014, Applied Micro Circuits Corporation |
| 4 | * Authors: Iyappan Subramanian <isubramanian@apm.com> | 5 | * Authors: Iyappan Subramanian <isubramanian@apm.com> |
| 5 | * Keyur Chudgar <kchudgar@apm.com> | 6 | * Keyur Chudgar <kchudgar@apm.com> |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify it | ||
| 8 | * under the terms of the GNU General Public License as published by the | ||
| 9 | * Free Software Foundation; either version 2 of the License, or (at your | ||
| 10 | * option) any later version. | ||
| 11 | * | ||
| 12 | * This program is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 19 | */ | 7 | */ |
| 20 | 8 | ||
| 21 | #include "xgene_enet_main.h" | 9 | #include "xgene_enet_main.h" |
diff --git a/drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.h b/drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.h index 3d0ba374491b..3bba0ce34bb4 100644 --- a/drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.h +++ b/drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.h | |||
| @@ -1,21 +1,9 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* Applied Micro X-Gene SoC Ethernet Driver | 2 | /* Applied Micro X-Gene SoC Ethernet Driver |
| 2 | * | 3 | * |
| 3 | * Copyright (c) 2014, Applied Micro Circuits Corporation | 4 | * Copyright (c) 2014, Applied Micro Circuits Corporation |
| 4 | * Authors: Iyappan Subramanian <isubramanian@apm.com> | 5 | * Authors: Iyappan Subramanian <isubramanian@apm.com> |
| 5 | * Keyur Chudgar <kchudgar@apm.com> | 6 | * Keyur Chudgar <kchudgar@apm.com> |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify it | ||
| 8 | * under the terms of the GNU General Public License as published by the | ||
| 9 | * Free Software Foundation; either version 2 of the License, or (at your | ||
| 10 | * option) any later version. | ||
| 11 | * | ||
| 12 | * This program is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 19 | */ | 7 | */ |
| 20 | 8 | ||
| 21 | #ifndef __XGENE_ENET_SGMAC_H__ | 9 | #ifndef __XGENE_ENET_SGMAC_H__ |
diff --git a/drivers/net/ethernet/apm/xgene/xgene_enet_xgmac.c b/drivers/net/ethernet/apm/xgene/xgene_enet_xgmac.c index b7d75d067c7a..133eb91c542e 100644 --- a/drivers/net/ethernet/apm/xgene/xgene_enet_xgmac.c +++ b/drivers/net/ethernet/apm/xgene/xgene_enet_xgmac.c | |||
| @@ -1,21 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* Applied Micro X-Gene SoC Ethernet Driver | 2 | /* Applied Micro X-Gene SoC Ethernet Driver |
| 2 | * | 3 | * |
| 3 | * Copyright (c) 2014, Applied Micro Circuits Corporation | 4 | * Copyright (c) 2014, Applied Micro Circuits Corporation |
| 4 | * Authors: Iyappan Subramanian <isubramanian@apm.com> | 5 | * Authors: Iyappan Subramanian <isubramanian@apm.com> |
| 5 | * Keyur Chudgar <kchudgar@apm.com> | 6 | * Keyur Chudgar <kchudgar@apm.com> |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify it | ||
| 8 | * under the terms of the GNU General Public License as published by the | ||
| 9 | * Free Software Foundation; either version 2 of the License, or (at your | ||
| 10 | * option) any later version. | ||
| 11 | * | ||
| 12 | * This program is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 19 | */ | 7 | */ |
| 20 | 8 | ||
| 21 | #include <linux/of_gpio.h> | 9 | #include <linux/of_gpio.h> |
diff --git a/drivers/net/ethernet/apm/xgene/xgene_enet_xgmac.h b/drivers/net/ethernet/apm/xgene/xgene_enet_xgmac.h index a3b45517df45..98622dcf6c53 100644 --- a/drivers/net/ethernet/apm/xgene/xgene_enet_xgmac.h +++ b/drivers/net/ethernet/apm/xgene/xgene_enet_xgmac.h | |||
| @@ -1,21 +1,9 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* Applied Micro X-Gene SoC Ethernet Driver | 2 | /* Applied Micro X-Gene SoC Ethernet Driver |
| 2 | * | 3 | * |
| 3 | * Copyright (c) 2014, Applied Micro Circuits Corporation | 4 | * Copyright (c) 2014, Applied Micro Circuits Corporation |
| 4 | * Authors: Iyappan Subramanian <isubramanian@apm.com> | 5 | * Authors: Iyappan Subramanian <isubramanian@apm.com> |
| 5 | * Keyur Chudgar <kchudgar@apm.com> | 6 | * Keyur Chudgar <kchudgar@apm.com> |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify it | ||
| 8 | * under the terms of the GNU General Public License as published by the | ||
| 9 | * Free Software Foundation; either version 2 of the License, or (at your | ||
| 10 | * option) any later version. | ||
| 11 | * | ||
| 12 | * This program is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 19 | */ | 7 | */ |
| 20 | 8 | ||
| 21 | #ifndef __XGENE_ENET_XGMAC_H__ | 9 | #ifndef __XGENE_ENET_XGMAC_H__ |
diff --git a/drivers/net/ethernet/apple/Kconfig b/drivers/net/ethernet/apple/Kconfig index 31071297896c..fde7ae33e302 100644 --- a/drivers/net/ethernet/apple/Kconfig +++ b/drivers/net/ethernet/apple/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Apple device configuration | 3 | # Apple device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/apple/Makefile b/drivers/net/ethernet/apple/Makefile index 86eaa17af0f4..322457027546 100644 --- a/drivers/net/ethernet/apple/Makefile +++ b/drivers/net/ethernet/apple/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Apple network device drivers. | 3 | # Makefile for the Apple network device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/apple/bmac.c b/drivers/net/ethernet/apple/bmac.c index 4d3855ceb500..c40daad515d5 100644 --- a/drivers/net/ethernet/apple/bmac.c +++ b/drivers/net/ethernet/apple/bmac.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Network device driver for the BMAC ethernet controller on | 3 | * Network device driver for the BMAC ethernet controller on |
| 3 | * Apple Powermacs. Assumes it's under a DBDMA controller. | 4 | * Apple Powermacs. Assumes it's under a DBDMA controller. |
diff --git a/drivers/net/ethernet/apple/mace.c b/drivers/net/ethernet/apple/mace.c index 4d9819d2894d..b8ba2abf5b3a 100644 --- a/drivers/net/ethernet/apple/mace.c +++ b/drivers/net/ethernet/apple/mace.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Network device driver for the MACE ethernet controller on | 3 | * Network device driver for the MACE ethernet controller on |
| 3 | * Apple Powermacs. Assumes it's under a DBDMA controller. | 4 | * Apple Powermacs. Assumes it's under a DBDMA controller. |
diff --git a/drivers/net/ethernet/aquantia/Kconfig b/drivers/net/ethernet/aquantia/Kconfig index 12472c5bb34d..350a48e4f124 100644 --- a/drivers/net/ethernet/aquantia/Kconfig +++ b/drivers/net/ethernet/aquantia/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # aQuantia device configuration | 3 | # aQuantia device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/aquantia/Makefile b/drivers/net/ethernet/aquantia/Makefile index 4f4897b689b2..c4e7d01ea650 100644 --- a/drivers/net/ethernet/aquantia/Makefile +++ b/drivers/net/ethernet/aquantia/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the aQuantia device drivers. | 3 | # Makefile for the aQuantia device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/arc/Kconfig b/drivers/net/ethernet/arc/Kconfig index 5d0ab8e74b68..45c663d8b9aa 100644 --- a/drivers/net/ethernet/arc/Kconfig +++ b/drivers/net/ethernet/arc/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # ARC EMAC network device configuration | 3 | # ARC EMAC network device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/arc/Makefile b/drivers/net/ethernet/arc/Makefile index 79108af553fb..d63ada577c8e 100644 --- a/drivers/net/ethernet/arc/Makefile +++ b/drivers/net/ethernet/arc/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the ARC network device drivers. | 3 | # Makefile for the ARC network device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/atheros/Kconfig b/drivers/net/ethernet/atheros/Kconfig index e05b25675333..953ff1f9ac70 100644 --- a/drivers/net/ethernet/atheros/Kconfig +++ b/drivers/net/ethernet/atheros/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Atheros device configuration | 3 | # Atheros device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/atheros/alx/Makefile b/drivers/net/ethernet/atheros/alx/Makefile index ed4a605874a3..fec7885a599b 100644 --- a/drivers/net/ethernet/atheros/alx/Makefile +++ b/drivers/net/ethernet/atheros/alx/Makefile | |||
| @@ -1,2 +1,3 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_ALX) += alx.o | 2 | obj-$(CONFIG_ALX) += alx.o |
| 2 | alx-objs := main.o ethtool.o hw.o | 3 | alx-objs := main.o ethtool.o hw.o |
diff --git a/drivers/net/ethernet/atheros/atl1c/Makefile b/drivers/net/ethernet/atheros/atl1c/Makefile index c37d966952ee..02d025029554 100644 --- a/drivers/net/ethernet/atheros/atl1c/Makefile +++ b/drivers/net/ethernet/atheros/atl1c/Makefile | |||
| @@ -1,2 +1,3 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_ATL1C) += atl1c.o | 2 | obj-$(CONFIG_ATL1C) += atl1c.o |
| 2 | atl1c-objs := atl1c_main.o atl1c_hw.o atl1c_ethtool.o | 3 | atl1c-objs := atl1c_main.o atl1c_hw.o atl1c_ethtool.o |
diff --git a/drivers/net/ethernet/atheros/atl1e/Makefile b/drivers/net/ethernet/atheros/atl1e/Makefile index bc11be824e76..8506694054a7 100644 --- a/drivers/net/ethernet/atheros/atl1e/Makefile +++ b/drivers/net/ethernet/atheros/atl1e/Makefile | |||
| @@ -1,2 +1,3 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_ATL1E) += atl1e.o | 2 | obj-$(CONFIG_ATL1E) += atl1e.o |
| 2 | atl1e-objs += atl1e_main.o atl1e_hw.o atl1e_ethtool.o atl1e_param.o | 3 | atl1e-objs += atl1e_main.o atl1e_hw.o atl1e_ethtool.o atl1e_param.o |
diff --git a/drivers/net/ethernet/atheros/atlx/Makefile b/drivers/net/ethernet/atheros/atlx/Makefile index e4f6022ca552..df030e421ff3 100644 --- a/drivers/net/ethernet/atheros/atlx/Makefile +++ b/drivers/net/ethernet/atheros/atlx/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_ATL1) += atl1.o | 2 | obj-$(CONFIG_ATL1) += atl1.o |
| 2 | obj-$(CONFIG_ATL2) += atl2.o | 3 | obj-$(CONFIG_ATL2) += atl2.o |
| 3 | 4 | ||
diff --git a/drivers/net/ethernet/atheros/atlx/atl1.c b/drivers/net/ethernet/atheros/atlx/atl1.c index f35c9a75be50..7c767ce9aafa 100644 --- a/drivers/net/ethernet/atheros/atlx/atl1.c +++ b/drivers/net/ethernet/atheros/atlx/atl1.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright(c) 2005 - 2006 Attansic Corporation. All rights reserved. | 3 | * Copyright(c) 2005 - 2006 Attansic Corporation. All rights reserved. |
| 3 | * Copyright(c) 2006 - 2007 Chris Snook <csnook@redhat.com> | 4 | * Copyright(c) 2006 - 2007 Chris Snook <csnook@redhat.com> |
| @@ -6,23 +7,6 @@ | |||
| 6 | * Derived from Intel e1000 driver | 7 | * Derived from Intel e1000 driver |
| 7 | * Copyright(c) 1999 - 2005 Intel Corporation. All rights reserved. | 8 | * Copyright(c) 1999 - 2005 Intel Corporation. All rights reserved. |
| 8 | * | 9 | * |
| 9 | * This program is free software; you can redistribute it and/or modify it | ||
| 10 | * under the terms of the GNU General Public License as published by the Free | ||
| 11 | * Software Foundation; either version 2 of the License, or (at your option) | ||
| 12 | * any later version. | ||
| 13 | * | ||
| 14 | * This program is distributed in the hope that it will be useful, but WITHOUT | ||
| 15 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
| 16 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
| 17 | * more details. | ||
| 18 | * | ||
| 19 | * You should have received a copy of the GNU General Public License along with | ||
| 20 | * this program; if not, write to the Free Software Foundation, Inc., 59 | ||
| 21 | * Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 22 | * | ||
| 23 | * The full GNU General Public License is included in this distribution in the | ||
| 24 | * file called COPYING. | ||
| 25 | * | ||
| 26 | * Contact Information: | 10 | * Contact Information: |
| 27 | * Xiong Huang <xiong.huang@atheros.com> | 11 | * Xiong Huang <xiong.huang@atheros.com> |
| 28 | * Jie Yang <jie.yang@atheros.com> | 12 | * Jie Yang <jie.yang@atheros.com> |
diff --git a/drivers/net/ethernet/aurora/Kconfig b/drivers/net/ethernet/aurora/Kconfig index 392f564d8fd4..9ee30ea90bfa 100644 --- a/drivers/net/ethernet/aurora/Kconfig +++ b/drivers/net/ethernet/aurora/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config NET_VENDOR_AURORA | 2 | config NET_VENDOR_AURORA |
| 2 | bool "Aurora VLSI devices" | 3 | bool "Aurora VLSI devices" |
| 3 | default y | 4 | default y |
diff --git a/drivers/net/ethernet/aurora/Makefile b/drivers/net/ethernet/aurora/Makefile index 6cb528a2fc26..f3d599867619 100644 --- a/drivers/net/ethernet/aurora/Makefile +++ b/drivers/net/ethernet/aurora/Makefile | |||
| @@ -1 +1,2 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_AURORA_NB8800) += nb8800.o | 2 | obj-$(CONFIG_AURORA_NB8800) += nb8800.o |
diff --git a/drivers/net/ethernet/broadcom/Kconfig b/drivers/net/ethernet/broadcom/Kconfig index 461b2c0b2ed6..b123509d385f 100644 --- a/drivers/net/ethernet/broadcom/Kconfig +++ b/drivers/net/ethernet/broadcom/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Broadcom device configuration | 3 | # Broadcom device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/broadcom/bcm63xx_enet.c b/drivers/net/ethernet/broadcom/bcm63xx_enet.c index 09cd188826b1..85e610210477 100644 --- a/drivers/net/ethernet/broadcom/bcm63xx_enet.c +++ b/drivers/net/ethernet/broadcom/bcm63xx_enet.c | |||
| @@ -1,21 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Driver for BCM963xx builtin Ethernet mac | 3 | * Driver for BCM963xx builtin Ethernet mac |
| 3 | * | 4 | * |
| 4 | * Copyright (C) 2008 Maxime Bizon <mbizon@freebox.fr> | 5 | * Copyright (C) 2008 Maxime Bizon <mbizon@freebox.fr> |
| 5 | * | ||
| 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., 675 Mass Ave, Cambridge, MA 02139, USA. | ||
| 19 | */ | 6 | */ |
| 20 | #include <linux/init.h> | 7 | #include <linux/init.h> |
| 21 | #include <linux/interrupt.h> | 8 | #include <linux/interrupt.h> |
diff --git a/drivers/net/ethernet/broadcom/bnx2x/Makefile b/drivers/net/ethernet/broadcom/bnx2x/Makefile index 116762daae09..9fdfaa269af9 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/Makefile +++ b/drivers/net/ethernet/broadcom/bnx2x/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for Broadcom 10-Gigabit ethernet driver | 3 | # Makefile for Broadcom 10-Gigabit ethernet driver |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/broadcom/bnxt/Makefile b/drivers/net/ethernet/broadcom/bnxt/Makefile index 5a779b19d149..cb97ec56fdec 100644 --- a/drivers/net/ethernet/broadcom/bnxt/Makefile +++ b/drivers/net/ethernet/broadcom/bnxt/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_BNXT) += bnxt_en.o | 2 | obj-$(CONFIG_BNXT) += bnxt_en.o |
| 2 | 3 | ||
| 3 | bnxt_en-y := bnxt.o bnxt_sriov.o bnxt_ethtool.o bnxt_dcb.o bnxt_ulp.o bnxt_xdp.o bnxt_vfr.o bnxt_devlink.o bnxt_dim.o | 4 | bnxt_en-y := bnxt.o bnxt_sriov.o bnxt_ethtool.o bnxt_dcb.o bnxt_ulp.o bnxt_xdp.o bnxt_vfr.o bnxt_devlink.o bnxt_dim.o |
diff --git a/drivers/net/ethernet/broadcom/genet/Makefile b/drivers/net/ethernet/broadcom/genet/Makefile index 9b6885efa9e7..edfc26a46948 100644 --- a/drivers/net/ethernet/broadcom/genet/Makefile +++ b/drivers/net/ethernet/broadcom/genet/Makefile | |||
| @@ -1,2 +1,3 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_BCMGENET) += genet.o | 2 | obj-$(CONFIG_BCMGENET) += genet.o |
| 2 | genet-objs := bcmgenet.o bcmmii.o bcmgenet_wol.o | 3 | genet-objs := bcmgenet.o bcmmii.o bcmgenet_wol.o |
diff --git a/drivers/net/ethernet/broadcom/sb1250-mac.c b/drivers/net/ethernet/broadcom/sb1250-mac.c index 134ae2862efa..1604ad32e920 100644 --- a/drivers/net/ethernet/broadcom/sb1250-mac.c +++ b/drivers/net/ethernet/broadcom/sb1250-mac.c | |||
| @@ -1,21 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) 2001,2002,2003,2004 Broadcom Corporation | 3 | * Copyright (C) 2001,2002,2003,2004 Broadcom Corporation |
| 3 | * Copyright (c) 2006, 2007 Maciej W. Rozycki | 4 | * Copyright (c) 2006, 2007 Maciej W. Rozycki |
| 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 | * as published by the Free Software Foundation; either version 2 | ||
| 8 | * of the License, or (at your option) any later version. | ||
| 9 | * | ||
| 10 | * This program is distributed in the hope that it will be useful, | ||
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | * GNU General Public License for more details. | ||
| 14 | * | ||
| 15 | * You should have received a copy of the GNU General Public License | ||
| 16 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 17 | * | ||
| 18 | * | ||
| 19 | * This driver is designed for the Broadcom SiByte SOC built-in | 6 | * This driver is designed for the Broadcom SiByte SOC built-in |
| 20 | * Ethernet controllers. Written by Mitch Lichtenberg at Broadcom Corp. | 7 | * Ethernet controllers. Written by Mitch Lichtenberg at Broadcom Corp. |
| 21 | * | 8 | * |
diff --git a/drivers/net/ethernet/brocade/Kconfig b/drivers/net/ethernet/brocade/Kconfig index c4bbe54e2cad..d4564c7a279c 100644 --- a/drivers/net/ethernet/brocade/Kconfig +++ b/drivers/net/ethernet/brocade/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # QLogic BR-series device configuration | 3 | # QLogic BR-series device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/brocade/Makefile b/drivers/net/ethernet/brocade/Makefile index fec10f9b4558..88b2f402675f 100644 --- a/drivers/net/ethernet/brocade/Makefile +++ b/drivers/net/ethernet/brocade/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the QLogic BR-series device drivers. | 3 | # Makefile for the QLogic BR-series device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/brocade/bna/Kconfig b/drivers/net/ethernet/brocade/bna/Kconfig index fe01279a8843..b124a628f86a 100644 --- a/drivers/net/ethernet/brocade/bna/Kconfig +++ b/drivers/net/ethernet/brocade/bna/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # QLogic BR-series network device configuration | 3 | # QLogic BR-series network device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/brocade/bna/Makefile b/drivers/net/ethernet/brocade/bna/Makefile index 8584abcf5366..d804b30c33eb 100644 --- a/drivers/net/ethernet/brocade/bna/Makefile +++ b/drivers/net/ethernet/brocade/bna/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Copyright (c) 2005-2014 Brocade Communications Systems, Inc. | 3 | # Copyright (c) 2005-2014 Brocade Communications Systems, Inc. |
| 3 | # Copyright (c) 2014-2015 QLogic Corporation. | 4 | # Copyright (c) 2014-2015 QLogic Corporation. |
diff --git a/drivers/net/ethernet/cadence/Kconfig b/drivers/net/ethernet/cadence/Kconfig index b9984015ca8c..1766697c9c5a 100644 --- a/drivers/net/ethernet/cadence/Kconfig +++ b/drivers/net/ethernet/cadence/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Atmel device configuration | 3 | # Atmel device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/cadence/macb_main.c b/drivers/net/ethernet/cadence/macb_main.c index c049410bc888..bebd9b1aeb64 100644 --- a/drivers/net/ethernet/cadence/macb_main.c +++ b/drivers/net/ethernet/cadence/macb_main.c | |||
| @@ -3343,7 +3343,7 @@ static int macb_clk_init(struct platform_device *pdev, struct clk **pclk, | |||
| 3343 | if (!err) | 3343 | if (!err) |
| 3344 | err = -ENODEV; | 3344 | err = -ENODEV; |
| 3345 | 3345 | ||
| 3346 | dev_err(&pdev->dev, "failed to get macb_clk (%u)\n", err); | 3346 | dev_err(&pdev->dev, "failed to get macb_clk (%d)\n", err); |
| 3347 | return err; | 3347 | return err; |
| 3348 | } | 3348 | } |
| 3349 | 3349 | ||
| @@ -3352,7 +3352,7 @@ static int macb_clk_init(struct platform_device *pdev, struct clk **pclk, | |||
| 3352 | if (!err) | 3352 | if (!err) |
| 3353 | err = -ENODEV; | 3353 | err = -ENODEV; |
| 3354 | 3354 | ||
| 3355 | dev_err(&pdev->dev, "failed to get hclk (%u)\n", err); | 3355 | dev_err(&pdev->dev, "failed to get hclk (%d)\n", err); |
| 3356 | return err; | 3356 | return err; |
| 3357 | } | 3357 | } |
| 3358 | 3358 | ||
| @@ -3370,31 +3370,31 @@ static int macb_clk_init(struct platform_device *pdev, struct clk **pclk, | |||
| 3370 | 3370 | ||
| 3371 | err = clk_prepare_enable(*pclk); | 3371 | err = clk_prepare_enable(*pclk); |
| 3372 | if (err) { | 3372 | if (err) { |
| 3373 | dev_err(&pdev->dev, "failed to enable pclk (%u)\n", err); | 3373 | dev_err(&pdev->dev, "failed to enable pclk (%d)\n", err); |
| 3374 | return err; | 3374 | return err; |
| 3375 | } | 3375 | } |
| 3376 | 3376 | ||
| 3377 | err = clk_prepare_enable(*hclk); | 3377 | err = clk_prepare_enable(*hclk); |
| 3378 | if (err) { | 3378 | if (err) { |
| 3379 | dev_err(&pdev->dev, "failed to enable hclk (%u)\n", err); | 3379 | dev_err(&pdev->dev, "failed to enable hclk (%d)\n", err); |
| 3380 | goto err_disable_pclk; | 3380 | goto err_disable_pclk; |
| 3381 | } | 3381 | } |
| 3382 | 3382 | ||
| 3383 | err = clk_prepare_enable(*tx_clk); | 3383 | err = clk_prepare_enable(*tx_clk); |
| 3384 | if (err) { | 3384 | if (err) { |
| 3385 | dev_err(&pdev->dev, "failed to enable tx_clk (%u)\n", err); | 3385 | dev_err(&pdev->dev, "failed to enable tx_clk (%d)\n", err); |
| 3386 | goto err_disable_hclk; | 3386 | goto err_disable_hclk; |
| 3387 | } | 3387 | } |
| 3388 | 3388 | ||
| 3389 | err = clk_prepare_enable(*rx_clk); | 3389 | err = clk_prepare_enable(*rx_clk); |
| 3390 | if (err) { | 3390 | if (err) { |
| 3391 | dev_err(&pdev->dev, "failed to enable rx_clk (%u)\n", err); | 3391 | dev_err(&pdev->dev, "failed to enable rx_clk (%d)\n", err); |
| 3392 | goto err_disable_txclk; | 3392 | goto err_disable_txclk; |
| 3393 | } | 3393 | } |
| 3394 | 3394 | ||
| 3395 | err = clk_prepare_enable(*tsu_clk); | 3395 | err = clk_prepare_enable(*tsu_clk); |
| 3396 | if (err) { | 3396 | if (err) { |
| 3397 | dev_err(&pdev->dev, "failed to enable tsu_clk (%u)\n", err); | 3397 | dev_err(&pdev->dev, "failed to enable tsu_clk (%d)\n", err); |
| 3398 | goto err_disable_rxclk; | 3398 | goto err_disable_rxclk; |
| 3399 | } | 3399 | } |
| 3400 | 3400 | ||
| @@ -3868,7 +3868,7 @@ static int at91ether_clk_init(struct platform_device *pdev, struct clk **pclk, | |||
| 3868 | 3868 | ||
| 3869 | err = clk_prepare_enable(*pclk); | 3869 | err = clk_prepare_enable(*pclk); |
| 3870 | if (err) { | 3870 | if (err) { |
| 3871 | dev_err(&pdev->dev, "failed to enable pclk (%u)\n", err); | 3871 | dev_err(&pdev->dev, "failed to enable pclk (%d)\n", err); |
| 3872 | return err; | 3872 | return err; |
| 3873 | } | 3873 | } |
| 3874 | 3874 | ||
diff --git a/drivers/net/ethernet/calxeda/Kconfig b/drivers/net/ethernet/calxeda/Kconfig index 9fdd496b90ff..ce42157f13f6 100644 --- a/drivers/net/ethernet/calxeda/Kconfig +++ b/drivers/net/ethernet/calxeda/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config NET_CALXEDA_XGMAC | 2 | config NET_CALXEDA_XGMAC |
| 2 | tristate "Calxeda 1G/10G XGMAC Ethernet driver" | 3 | tristate "Calxeda 1G/10G XGMAC Ethernet driver" |
| 3 | depends on HAS_IOMEM | 4 | depends on HAS_IOMEM |
diff --git a/drivers/net/ethernet/calxeda/Makefile b/drivers/net/ethernet/calxeda/Makefile index f0ef08067f97..641e5b6b5ac7 100644 --- a/drivers/net/ethernet/calxeda/Makefile +++ b/drivers/net/ethernet/calxeda/Makefile | |||
| @@ -1 +1,2 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_NET_CALXEDA_XGMAC) += xgmac.o | 2 | obj-$(CONFIG_NET_CALXEDA_XGMAC) += xgmac.o |
diff --git a/drivers/net/ethernet/cavium/Kconfig b/drivers/net/ethernet/cavium/Kconfig index 7612ab6b286d..6a700d34019e 100644 --- a/drivers/net/ethernet/cavium/Kconfig +++ b/drivers/net/ethernet/cavium/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Cavium ethernet device configuration | 3 | # Cavium ethernet device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/cavium/Makefile b/drivers/net/ethernet/cavium/Makefile index 946bba84e81d..5d32808210fb 100644 --- a/drivers/net/ethernet/cavium/Makefile +++ b/drivers/net/ethernet/cavium/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Cavium ethernet device drivers. | 3 | # Makefile for the Cavium ethernet device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/cavium/common/Makefile b/drivers/net/ethernet/cavium/common/Makefile index dd8561b8060b..e3f87bd65928 100644 --- a/drivers/net/ethernet/cavium/common/Makefile +++ b/drivers/net/ethernet/cavium/common/Makefile | |||
| @@ -1 +1,2 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_CAVIUM_PTP) += cavium_ptp.o | 2 | obj-$(CONFIG_CAVIUM_PTP) += cavium_ptp.o |
diff --git a/drivers/net/ethernet/cavium/octeon/Makefile b/drivers/net/ethernet/cavium/octeon/Makefile index efa41c1d91c5..4f5098f6bc14 100644 --- a/drivers/net/ethernet/cavium/octeon/Makefile +++ b/drivers/net/ethernet/cavium/octeon/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Cavium network device drivers. | 3 | # Makefile for the Cavium network device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/chelsio/Kconfig b/drivers/net/ethernet/chelsio/Kconfig index e8001e974411..9909bfda167e 100644 --- a/drivers/net/ethernet/chelsio/Kconfig +++ b/drivers/net/ethernet/chelsio/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Chelsio device configuration | 3 | # Chelsio device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/chelsio/cxgb/Makefile b/drivers/net/ethernet/chelsio/cxgb/Makefile index 57a4b262fd3f..8008282a276f 100644 --- a/drivers/net/ethernet/chelsio/cxgb/Makefile +++ b/drivers/net/ethernet/chelsio/cxgb/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Chelsio T1 driver | 3 | # Chelsio T1 driver |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/chelsio/cxgb3/Makefile b/drivers/net/ethernet/chelsio/cxgb3/Makefile index 29aff78c7820..f65f0d93be42 100644 --- a/drivers/net/ethernet/chelsio/cxgb3/Makefile +++ b/drivers/net/ethernet/chelsio/cxgb3/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Chelsio T3 driver | 3 | # Chelsio T3 driver |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/chelsio/cxgb4vf/Makefile b/drivers/net/ethernet/chelsio/cxgb4vf/Makefile index d72ee26cb4c7..f527ab13a008 100644 --- a/drivers/net/ethernet/chelsio/cxgb4vf/Makefile +++ b/drivers/net/ethernet/chelsio/cxgb4vf/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Chelsio T4 SR-IOV Virtual Function Driver | 3 | # Chelsio T4 SR-IOV Virtual Function Driver |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/chelsio/libcxgb/Makefile b/drivers/net/ethernet/chelsio/libcxgb/Makefile index 441913b5221e..aa79264e72ba 100644 --- a/drivers/net/ethernet/chelsio/libcxgb/Makefile +++ b/drivers/net/ethernet/chelsio/libcxgb/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | ccflags-y := -I $(srctree)/$(src)/../cxgb4 | 2 | ccflags-y := -I $(srctree)/$(src)/../cxgb4 |
| 2 | 3 | ||
| 3 | obj-$(CONFIG_CHELSIO_LIB) += libcxgb.o | 4 | obj-$(CONFIG_CHELSIO_LIB) += libcxgb.o |
diff --git a/drivers/net/ethernet/cirrus/Kconfig b/drivers/net/ethernet/cirrus/Kconfig index 6238e6951336..48f3198381bc 100644 --- a/drivers/net/ethernet/cirrus/Kconfig +++ b/drivers/net/ethernet/cirrus/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Cirrus network device configuration | 3 | # Cirrus network device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/cirrus/Makefile b/drivers/net/ethernet/cirrus/Makefile index ca245e2b5d98..84865e593788 100644 --- a/drivers/net/ethernet/cirrus/Makefile +++ b/drivers/net/ethernet/cirrus/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Cirrus network device drivers. | 3 | # Makefile for the Cirrus network device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/cisco/Kconfig b/drivers/net/ethernet/cisco/Kconfig index 15b713a89620..ee5b7b3868c7 100644 --- a/drivers/net/ethernet/cisco/Kconfig +++ b/drivers/net/ethernet/cisco/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Cisco device configuration | 3 | # Cisco device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/cisco/Makefile b/drivers/net/ethernet/cisco/Makefile index 6c7437bc4a92..074635beec82 100644 --- a/drivers/net/ethernet/cisco/Makefile +++ b/drivers/net/ethernet/cisco/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Cisco device drivers. | 3 | # Makefile for the Cisco device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/cisco/enic/Kconfig b/drivers/net/ethernet/cisco/enic/Kconfig index b63f8d8a4261..edaae706a102 100644 --- a/drivers/net/ethernet/cisco/enic/Kconfig +++ b/drivers/net/ethernet/cisco/enic/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Cisco device configuration | 3 | # Cisco device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/cisco/enic/Makefile b/drivers/net/ethernet/cisco/enic/Makefile index aadcaf7876ce..c3b6febfdbe4 100644 --- a/drivers/net/ethernet/cisco/enic/Makefile +++ b/drivers/net/ethernet/cisco/enic/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_ENIC) := enic.o | 2 | obj-$(CONFIG_ENIC) := enic.o |
| 2 | 3 | ||
| 3 | enic-y := enic_main.o vnic_cq.o vnic_intr.o vnic_wq.o \ | 4 | enic-y := enic_main.o vnic_cq.o vnic_intr.o vnic_wq.o \ |
diff --git a/drivers/net/ethernet/davicom/Kconfig b/drivers/net/ethernet/davicom/Kconfig index 680a6d983f37..a321a7144fb0 100644 --- a/drivers/net/ethernet/davicom/Kconfig +++ b/drivers/net/ethernet/davicom/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Davicom device configuration | 3 | # Davicom device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/davicom/Makefile b/drivers/net/ethernet/davicom/Makefile index 74b31f0ebe18..173c87d21076 100644 --- a/drivers/net/ethernet/davicom/Makefile +++ b/drivers/net/ethernet/davicom/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Davicom device drivers. | 3 | # Makefile for the Davicom device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/dec/Kconfig b/drivers/net/ethernet/dec/Kconfig index 740bbad5ed38..df1eeb04d5ea 100644 --- a/drivers/net/ethernet/dec/Kconfig +++ b/drivers/net/ethernet/dec/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Digital Equipment Inc network device configuration | 3 | # Digital Equipment Inc network device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/dec/Makefile b/drivers/net/ethernet/dec/Makefile index 32993fccbbfd..e8aa12c8492a 100644 --- a/drivers/net/ethernet/dec/Makefile +++ b/drivers/net/ethernet/dec/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Digital Equipment Inc. network device drivers. | 3 | # Makefile for the Digital Equipment Inc. network device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/dec/tulip/Kconfig b/drivers/net/ethernet/dec/tulip/Kconfig index 264e9b413e94..8ce6888ea722 100644 --- a/drivers/net/ethernet/dec/tulip/Kconfig +++ b/drivers/net/ethernet/dec/tulip/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Tulip family network device configuration | 3 | # Tulip family network device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/dlink/Kconfig b/drivers/net/ethernet/dlink/Kconfig index ebdc83247bb6..1362658a3030 100644 --- a/drivers/net/ethernet/dlink/Kconfig +++ b/drivers/net/ethernet/dlink/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # D-Link device configuration | 3 | # D-Link device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/dlink/Makefile b/drivers/net/ethernet/dlink/Makefile index 40085f67157b..3ff503c747db 100644 --- a/drivers/net/ethernet/dlink/Makefile +++ b/drivers/net/ethernet/dlink/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the D-Link network device drivers. | 3 | # Makefile for the D-Link network device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/emulex/Kconfig b/drivers/net/ethernet/emulex/Kconfig index fdbb27ceb02f..22c143f2d787 100644 --- a/drivers/net/ethernet/emulex/Kconfig +++ b/drivers/net/ethernet/emulex/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Emulex driver configuration | 3 | # Emulex driver configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/emulex/Makefile b/drivers/net/ethernet/emulex/Makefile index ea8ec574d45a..1a7c5aed6f65 100644 --- a/drivers/net/ethernet/emulex/Makefile +++ b/drivers/net/ethernet/emulex/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Emulex device drivers. | 3 | # Makefile for the Emulex device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/emulex/benet/Kconfig b/drivers/net/ethernet/emulex/benet/Kconfig index 8cf794edd3c3..e8c7eb842dbe 100644 --- a/drivers/net/ethernet/emulex/benet/Kconfig +++ b/drivers/net/ethernet/emulex/benet/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config BE2NET | 2 | config BE2NET |
| 2 | tristate "ServerEngines' 10Gbps NIC - BladeEngine" | 3 | tristate "ServerEngines' 10Gbps NIC - BladeEngine" |
| 3 | depends on PCI | 4 | depends on PCI |
diff --git a/drivers/net/ethernet/emulex/benet/Makefile b/drivers/net/ethernet/emulex/benet/Makefile index 1a91b276940d..1a238ec7fe1a 100644 --- a/drivers/net/ethernet/emulex/benet/Makefile +++ b/drivers/net/ethernet/emulex/benet/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile to build the network driver for ServerEngine's BladeEngine. | 3 | # Makefile to build the network driver for ServerEngine's BladeEngine. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/ezchip/Kconfig b/drivers/net/ethernet/ezchip/Kconfig index b423ad380b6a..6db75fd2f9af 100644 --- a/drivers/net/ethernet/ezchip/Kconfig +++ b/drivers/net/ethernet/ezchip/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # EZchip network device configuration | 3 | # EZchip network device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/ezchip/Makefile b/drivers/net/ethernet/ezchip/Makefile index e490176a8137..444570f35d45 100644 --- a/drivers/net/ethernet/ezchip/Makefile +++ b/drivers/net/ethernet/ezchip/Makefile | |||
| @@ -1 +1,2 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_EZCHIP_NPS_MANAGEMENT_ENET) += nps_enet.o | 2 | obj-$(CONFIG_EZCHIP_NPS_MANAGEMENT_ENET) += nps_enet.o |
diff --git a/drivers/net/ethernet/faraday/Kconfig b/drivers/net/ethernet/faraday/Kconfig index 0fb8df656677..a9b105803fb7 100644 --- a/drivers/net/ethernet/faraday/Kconfig +++ b/drivers/net/ethernet/faraday/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Faraday device configuration | 3 | # Faraday device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/faraday/Makefile b/drivers/net/ethernet/faraday/Makefile index 408b53980d53..f16f58467868 100644 --- a/drivers/net/ethernet/faraday/Makefile +++ b/drivers/net/ethernet/faraday/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Faraday device drivers. | 3 | # Makefile for the Faraday device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/faraday/ftgmac100.c b/drivers/net/ethernet/faraday/ftgmac100.c index b17b79e612a3..055f77c70fa3 100644 --- a/drivers/net/ethernet/faraday/ftgmac100.c +++ b/drivers/net/ethernet/faraday/ftgmac100.c | |||
| @@ -1,22 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Faraday FTGMAC100 Gigabit Ethernet | 3 | * Faraday FTGMAC100 Gigabit Ethernet |
| 3 | * | 4 | * |
| 4 | * (C) Copyright 2009-2011 Faraday Technology | 5 | * (C) Copyright 2009-2011 Faraday Technology |
| 5 | * Po-Yu Chuang <ratbert@faraday-tech.com> | 6 | * Po-Yu Chuang <ratbert@faraday-tech.com> |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License as published by | ||
| 9 | * the Free Software Foundation; either version 2 of the License, or | ||
| 10 | * (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program; if not, write to the Free Software | ||
| 19 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | ||
| 20 | */ | 7 | */ |
| 21 | 8 | ||
| 22 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 9 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/drivers/net/ethernet/faraday/ftgmac100.h b/drivers/net/ethernet/faraday/ftgmac100.h index 0653d8176e6a..e5876a3fda91 100644 --- a/drivers/net/ethernet/faraday/ftgmac100.h +++ b/drivers/net/ethernet/faraday/ftgmac100.h | |||
| @@ -1,22 +1,9 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * Faraday FTGMAC100 Gigabit Ethernet | 3 | * Faraday FTGMAC100 Gigabit Ethernet |
| 3 | * | 4 | * |
| 4 | * (C) Copyright 2009-2011 Faraday Technology | 5 | * (C) Copyright 2009-2011 Faraday Technology |
| 5 | * Po-Yu Chuang <ratbert@faraday-tech.com> | 6 | * Po-Yu Chuang <ratbert@faraday-tech.com> |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License as published by | ||
| 9 | * the Free Software Foundation; either version 2 of the License, or | ||
| 10 | * (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program; if not, write to the Free Software | ||
| 19 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | ||
| 20 | */ | 7 | */ |
| 21 | 8 | ||
| 22 | #ifndef __FTGMAC100_H | 9 | #ifndef __FTGMAC100_H |
diff --git a/drivers/net/ethernet/faraday/ftmac100.c b/drivers/net/ethernet/faraday/ftmac100.c index 2a0e820526dc..6c247cbbd23e 100644 --- a/drivers/net/ethernet/faraday/ftmac100.c +++ b/drivers/net/ethernet/faraday/ftmac100.c | |||
| @@ -1,22 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Faraday FTMAC100 10/100 Ethernet | 3 | * Faraday FTMAC100 10/100 Ethernet |
| 3 | * | 4 | * |
| 4 | * (C) Copyright 2009-2011 Faraday Technology | 5 | * (C) Copyright 2009-2011 Faraday Technology |
| 5 | * Po-Yu Chuang <ratbert@faraday-tech.com> | 6 | * Po-Yu Chuang <ratbert@faraday-tech.com> |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License as published by | ||
| 9 | * the Free Software Foundation; either version 2 of the License, or | ||
| 10 | * (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program; if not, write to the Free Software | ||
| 19 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | ||
| 20 | */ | 7 | */ |
| 21 | 8 | ||
| 22 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 9 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/drivers/net/ethernet/faraday/ftmac100.h b/drivers/net/ethernet/faraday/ftmac100.h index 46a0c47b1ee1..fe986f1673fc 100644 --- a/drivers/net/ethernet/faraday/ftmac100.h +++ b/drivers/net/ethernet/faraday/ftmac100.h | |||
| @@ -1,22 +1,9 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * Faraday FTMAC100 10/100 Ethernet | 3 | * Faraday FTMAC100 10/100 Ethernet |
| 3 | * | 4 | * |
| 4 | * (C) Copyright 2009-2011 Faraday Technology | 5 | * (C) Copyright 2009-2011 Faraday Technology |
| 5 | * Po-Yu Chuang <ratbert@faraday-tech.com> | 6 | * Po-Yu Chuang <ratbert@faraday-tech.com> |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License as published by | ||
| 9 | * the Free Software Foundation; either version 2 of the License, or | ||
| 10 | * (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program; if not, write to the Free Software | ||
| 19 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | ||
| 20 | */ | 7 | */ |
| 21 | 8 | ||
| 22 | #ifndef __FTMAC100_H | 9 | #ifndef __FTMAC100_H |
diff --git a/drivers/net/ethernet/freescale/Kconfig b/drivers/net/ethernet/freescale/Kconfig index 71793e03c3c8..6a7e8993119f 100644 --- a/drivers/net/ethernet/freescale/Kconfig +++ b/drivers/net/ethernet/freescale/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Freescale device configuration | 3 | # Freescale device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/freescale/dpaa/Kconfig b/drivers/net/ethernet/freescale/dpaa/Kconfig index a654736237a9..3b325733a4f8 100644 --- a/drivers/net/ethernet/freescale/dpaa/Kconfig +++ b/drivers/net/ethernet/freescale/dpaa/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | menuconfig FSL_DPAA_ETH | 2 | menuconfig FSL_DPAA_ETH |
| 2 | tristate "DPAA Ethernet" | 3 | tristate "DPAA Ethernet" |
| 3 | depends on FSL_DPAA && FSL_FMAN | 4 | depends on FSL_DPAA && FSL_FMAN |
diff --git a/drivers/net/ethernet/freescale/dpaa2/Kconfig b/drivers/net/ethernet/freescale/dpaa2/Kconfig index f6d244c663fd..8bd384720f80 100644 --- a/drivers/net/ethernet/freescale/dpaa2/Kconfig +++ b/drivers/net/ethernet/freescale/dpaa2/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config FSL_DPAA2_ETH | 2 | config FSL_DPAA2_ETH |
| 2 | tristate "Freescale DPAA2 Ethernet" | 3 | tristate "Freescale DPAA2 Ethernet" |
| 3 | depends on FSL_MC_BUS && FSL_MC_DPIO | 4 | depends on FSL_MC_BUS && FSL_MC_DPIO |
diff --git a/drivers/net/ethernet/freescale/enetc/enetc.c b/drivers/net/ethernet/freescale/enetc/enetc.c index 5bb9eb35d76d..491475d87736 100644 --- a/drivers/net/ethernet/freescale/enetc/enetc.c +++ b/drivers/net/ethernet/freescale/enetc/enetc.c | |||
| @@ -313,7 +313,9 @@ static bool enetc_clean_tx_ring(struct enetc_bdr *tx_ring, int napi_budget) | |||
| 313 | while (bds_to_clean && tx_frm_cnt < ENETC_DEFAULT_TX_WORK) { | 313 | while (bds_to_clean && tx_frm_cnt < ENETC_DEFAULT_TX_WORK) { |
| 314 | bool is_eof = !!tx_swbd->skb; | 314 | bool is_eof = !!tx_swbd->skb; |
| 315 | 315 | ||
| 316 | enetc_unmap_tx_buff(tx_ring, tx_swbd); | 316 | if (likely(tx_swbd->dma)) |
| 317 | enetc_unmap_tx_buff(tx_ring, tx_swbd); | ||
| 318 | |||
| 317 | if (is_eof) { | 319 | if (is_eof) { |
| 318 | napi_consume_skb(tx_swbd->skb, napi_budget); | 320 | napi_consume_skb(tx_swbd->skb, napi_budget); |
| 319 | tx_swbd->skb = NULL; | 321 | tx_swbd->skb = NULL; |
diff --git a/drivers/net/ethernet/freescale/enetc/enetc_ethtool.c b/drivers/net/ethernet/freescale/enetc/enetc_ethtool.c index 1ecad9ffabae..b9519b6ad727 100644 --- a/drivers/net/ethernet/freescale/enetc/enetc_ethtool.c +++ b/drivers/net/ethernet/freescale/enetc/enetc_ethtool.c | |||
| @@ -570,6 +570,7 @@ static const struct ethtool_ops enetc_pf_ethtool_ops = { | |||
| 570 | .get_ringparam = enetc_get_ringparam, | 570 | .get_ringparam = enetc_get_ringparam, |
| 571 | .get_link_ksettings = phy_ethtool_get_link_ksettings, | 571 | .get_link_ksettings = phy_ethtool_get_link_ksettings, |
| 572 | .set_link_ksettings = phy_ethtool_set_link_ksettings, | 572 | .set_link_ksettings = phy_ethtool_set_link_ksettings, |
| 573 | .get_link = ethtool_op_get_link, | ||
| 573 | }; | 574 | }; |
| 574 | 575 | ||
| 575 | static const struct ethtool_ops enetc_vf_ethtool_ops = { | 576 | static const struct ethtool_ops enetc_vf_ethtool_ops = { |
| @@ -584,6 +585,7 @@ static const struct ethtool_ops enetc_vf_ethtool_ops = { | |||
| 584 | .get_rxfh = enetc_get_rxfh, | 585 | .get_rxfh = enetc_get_rxfh, |
| 585 | .set_rxfh = enetc_set_rxfh, | 586 | .set_rxfh = enetc_set_rxfh, |
| 586 | .get_ringparam = enetc_get_ringparam, | 587 | .get_ringparam = enetc_get_ringparam, |
| 588 | .get_link = ethtool_op_get_link, | ||
| 587 | }; | 589 | }; |
| 588 | 590 | ||
| 589 | void enetc_set_ethtool_ops(struct net_device *ndev) | 591 | void enetc_set_ethtool_ops(struct net_device *ndev) |
diff --git a/drivers/net/ethernet/freescale/enetc/enetc_pf.c b/drivers/net/ethernet/freescale/enetc/enetc_pf.c index 15876a6e7598..78287c517095 100644 --- a/drivers/net/ethernet/freescale/enetc/enetc_pf.c +++ b/drivers/net/ethernet/freescale/enetc/enetc_pf.c | |||
| @@ -721,7 +721,7 @@ static void enetc_pf_netdev_setup(struct enetc_si *si, struct net_device *ndev, | |||
| 721 | ndev->watchdog_timeo = 5 * HZ; | 721 | ndev->watchdog_timeo = 5 * HZ; |
| 722 | ndev->max_mtu = ENETC_MAX_MTU; | 722 | ndev->max_mtu = ENETC_MAX_MTU; |
| 723 | 723 | ||
| 724 | ndev->hw_features = NETIF_F_RXCSUM | NETIF_F_HW_CSUM | | 724 | ndev->hw_features = NETIF_F_SG | NETIF_F_RXCSUM | NETIF_F_HW_CSUM | |
| 725 | NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX | | 725 | NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX | |
| 726 | NETIF_F_LOOPBACK; | 726 | NETIF_F_LOOPBACK; |
| 727 | ndev->features = NETIF_F_HIGHDMA | NETIF_F_SG | | 727 | ndev->features = NETIF_F_HIGHDMA | NETIF_F_SG | |
diff --git a/drivers/net/ethernet/freescale/enetc/enetc_vf.c b/drivers/net/ethernet/freescale/enetc/enetc_vf.c index 64bebee9f52a..72c3ea887bcf 100644 --- a/drivers/net/ethernet/freescale/enetc/enetc_vf.c +++ b/drivers/net/ethernet/freescale/enetc/enetc_vf.c | |||
| @@ -130,7 +130,7 @@ static void enetc_vf_netdev_setup(struct enetc_si *si, struct net_device *ndev, | |||
| 130 | ndev->watchdog_timeo = 5 * HZ; | 130 | ndev->watchdog_timeo = 5 * HZ; |
| 131 | ndev->max_mtu = ENETC_MAX_MTU; | 131 | ndev->max_mtu = ENETC_MAX_MTU; |
| 132 | 132 | ||
| 133 | ndev->hw_features = NETIF_F_RXCSUM | NETIF_F_HW_CSUM | | 133 | ndev->hw_features = NETIF_F_SG | NETIF_F_RXCSUM | NETIF_F_HW_CSUM | |
| 134 | NETIF_F_HW_VLAN_CTAG_TX | | 134 | NETIF_F_HW_VLAN_CTAG_TX | |
| 135 | NETIF_F_HW_VLAN_CTAG_RX; | 135 | NETIF_F_HW_VLAN_CTAG_RX; |
| 136 | ndev->features = NETIF_F_HIGHDMA | NETIF_F_SG | | 136 | ndev->features = NETIF_F_HIGHDMA | NETIF_F_SG | |
diff --git a/drivers/net/ethernet/freescale/fman/Kconfig b/drivers/net/ethernet/freescale/fman/Kconfig index dc0850b3b517..0139cb9042ec 100644 --- a/drivers/net/ethernet/freescale/fman/Kconfig +++ b/drivers/net/ethernet/freescale/fman/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config FSL_FMAN | 2 | config FSL_FMAN |
| 2 | tristate "FMan support" | 3 | tristate "FMan support" |
| 3 | depends on FSL_SOC || ARCH_LAYERSCAPE || COMPILE_TEST | 4 | depends on FSL_SOC || ARCH_LAYERSCAPE || COMPILE_TEST |
diff --git a/drivers/net/ethernet/freescale/fs_enet/Kconfig b/drivers/net/ethernet/freescale/fs_enet/Kconfig index be92229f2c2a..245d9a68a71f 100644 --- a/drivers/net/ethernet/freescale/fs_enet/Kconfig +++ b/drivers/net/ethernet/freescale/fs_enet/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config FS_ENET | 2 | config FS_ENET |
| 2 | tristate "Freescale Ethernet Driver" | 3 | tristate "Freescale Ethernet Driver" |
| 3 | depends on NET_VENDOR_FREESCALE && (CPM1 || CPM2 || PPC_MPC512x) | 4 | depends on NET_VENDOR_FREESCALE && (CPM1 || CPM2 || PPC_MPC512x) |
diff --git a/drivers/net/ethernet/fujitsu/Kconfig b/drivers/net/ethernet/fujitsu/Kconfig index faee34e44a35..cee99f20d2c2 100644 --- a/drivers/net/ethernet/fujitsu/Kconfig +++ b/drivers/net/ethernet/fujitsu/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Fujitsu Network device configuration | 3 | # Fujitsu Network device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/fujitsu/Makefile b/drivers/net/ethernet/fujitsu/Makefile index 21561fdcc69f..74feebbf4572 100644 --- a/drivers/net/ethernet/fujitsu/Makefile +++ b/drivers/net/ethernet/fujitsu/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Fujitsu network device drivers. | 3 | # Makefile for the Fujitsu network device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/hisilicon/Kconfig b/drivers/net/ethernet/hisilicon/Kconfig index fee4664c9189..a0d780c14e60 100644 --- a/drivers/net/ethernet/hisilicon/Kconfig +++ b/drivers/net/ethernet/hisilicon/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # HISILICON device configuration | 3 | # HISILICON device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/hisilicon/hisi_femac.c b/drivers/net/ethernet/hisilicon/hisi_femac.c index 96c32ae320b0..d2e019d89a6f 100644 --- a/drivers/net/ethernet/hisilicon/hisi_femac.c +++ b/drivers/net/ethernet/hisilicon/hisi_femac.c | |||
| @@ -1,20 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Hisilicon Fast Ethernet MAC Driver | 3 | * Hisilicon Fast Ethernet MAC Driver |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2016 HiSilicon Technologies Co., Ltd. | 5 | * Copyright (c) 2016 HiSilicon Technologies Co., Ltd. |
| 5 | * | ||
| 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, see <http://www.gnu.org/licenses/>. | ||
| 18 | */ | 6 | */ |
| 19 | 7 | ||
| 20 | #include <linux/circ_buf.h> | 8 | #include <linux/circ_buf.h> |
diff --git a/drivers/net/ethernet/hp/Kconfig b/drivers/net/ethernet/hp/Kconfig index d4df78c2abce..fb395cfe6b92 100644 --- a/drivers/net/ethernet/hp/Kconfig +++ b/drivers/net/ethernet/hp/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # HP network device configuration | 3 | # HP network device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/hp/Makefile b/drivers/net/ethernet/hp/Makefile index 20b6918b52bd..5ed723bb11e2 100644 --- a/drivers/net/ethernet/hp/Makefile +++ b/drivers/net/ethernet/hp/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the HP network device drivers. | 3 | # Makefile for the HP network device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/hp/hp100.c b/drivers/net/ethernet/hp/hp100.c index 9b5a68b65432..6ec78f5c602f 100644 --- a/drivers/net/ethernet/hp/hp100.c +++ b/drivers/net/ethernet/hp/hp100.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | ** hp100.c | 3 | ** hp100.c |
| 3 | ** HP CASCADE Architecture Driver for 100VG-AnyLan Network Adapters | 4 | ** HP CASCADE Architecture Driver for 100VG-AnyLan Network Adapters |
| @@ -31,19 +32,6 @@ | |||
| 31 | ** - some updates for EISA version of card | 32 | ** - some updates for EISA version of card |
| 32 | ** | 33 | ** |
| 33 | ** | 34 | ** |
| 34 | ** This code is free software; you can redistribute it and/or modify | ||
| 35 | ** it under the terms of the GNU General Public License as published by | ||
| 36 | ** the Free Software Foundation; either version 2 of the License, or | ||
| 37 | ** (at your option) any later version. | ||
| 38 | ** | ||
| 39 | ** This code is distributed in the hope that it will be useful, | ||
| 40 | ** but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 41 | ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 42 | ** GNU General Public License for more details. | ||
| 43 | ** | ||
| 44 | ** You should have received a copy of the GNU General Public License | ||
| 45 | ** along with this program; if not, write to the Free Software | ||
| 46 | ** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | ||
| 47 | ** | 35 | ** |
| 48 | ** 1.57c -> 1.58 | 36 | ** 1.57c -> 1.58 |
| 49 | ** - used indent to change coding-style | 37 | ** - used indent to change coding-style |
diff --git a/drivers/net/ethernet/hp/hp100.h b/drivers/net/ethernet/hp/hp100.h index b60e96fe38b4..7239b94c9de5 100644 --- a/drivers/net/ethernet/hp/hp100.h +++ b/drivers/net/ethernet/hp/hp100.h | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * hp100.h: Hewlett Packard HP10/100VG ANY LAN ethernet driver for Linux. | 3 | * hp100.h: Hewlett Packard HP10/100VG ANY LAN ethernet driver for Linux. |
| 3 | * | 4 | * |
| @@ -7,11 +8,6 @@ | |||
| 7 | * Siegfried Loeffler <floeff@tunix.mathematik.uni-stuttgart.de> | 8 | * Siegfried Loeffler <floeff@tunix.mathematik.uni-stuttgart.de> |
| 8 | * | 9 | * |
| 9 | * This driver is based on the 'hpfepkt' crynwr packet driver. | 10 | * This driver is based on the 'hpfepkt' crynwr packet driver. |
| 10 | * | ||
| 11 | * This source/code is public free; you can distribute it and/or modify | ||
| 12 | * it under terms of the GNU General Public License (published by the | ||
| 13 | * Free Software Foundation) either version two of this License, or any | ||
| 14 | * later version. | ||
| 15 | */ | 11 | */ |
| 16 | 12 | ||
| 17 | /**************************************************************************** | 13 | /**************************************************************************** |
diff --git a/drivers/net/ethernet/huawei/Kconfig b/drivers/net/ethernet/huawei/Kconfig index c1a95ae4058b..bdcbface62d7 100644 --- a/drivers/net/ethernet/huawei/Kconfig +++ b/drivers/net/ethernet/huawei/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Huawei driver configuration | 3 | # Huawei driver configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/huawei/Makefile b/drivers/net/ethernet/huawei/Makefile index 5c37cc8fc1bc..2549ad5afe6d 100644 --- a/drivers/net/ethernet/huawei/Makefile +++ b/drivers/net/ethernet/huawei/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Huawei device drivers. | 3 | # Makefile for the Huawei device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/huawei/hinic/Kconfig b/drivers/net/ethernet/huawei/hinic/Kconfig index e4e8b24c1a5d..cabc2f72d9d7 100644 --- a/drivers/net/ethernet/huawei/hinic/Kconfig +++ b/drivers/net/ethernet/huawei/hinic/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Huawei driver configuration | 3 | # Huawei driver configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/huawei/hinic/Makefile b/drivers/net/ethernet/huawei/hinic/Makefile index 289ce88bb2d0..99de5b6607d5 100644 --- a/drivers/net/ethernet/huawei/hinic/Makefile +++ b/drivers/net/ethernet/huawei/hinic/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_HINIC) += hinic.o | 2 | obj-$(CONFIG_HINIC) += hinic.o |
| 2 | 3 | ||
| 3 | hinic-y := hinic_main.o hinic_tx.o hinic_rx.o hinic_port.o hinic_hw_dev.o \ | 4 | hinic-y := hinic_main.o hinic_tx.o hinic_rx.o hinic_port.o hinic_hw_dev.o \ |
diff --git a/drivers/net/ethernet/i825xx/Kconfig b/drivers/net/ethernet/i825xx/Kconfig index e8d61f670479..33faff985438 100644 --- a/drivers/net/ethernet/i825xx/Kconfig +++ b/drivers/net/ethernet/i825xx/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Intel 82596/82593/82596 network device configuration | 3 | # Intel 82596/82593/82596 network device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/i825xx/sni_82596.c b/drivers/net/ethernet/i825xx/sni_82596.c index b2c04a789744..6eb6c2ff7f09 100644 --- a/drivers/net/ethernet/i825xx/sni_82596.c +++ b/drivers/net/ethernet/i825xx/sni_82596.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * sni_82596.c -- driver for intel 82596 ethernet controller, as | 3 | * sni_82596.c -- driver for intel 82596 ethernet controller, as |
| 3 | * used in older SNI RM machines | 4 | * used in older SNI RM machines |
diff --git a/drivers/net/ethernet/ibm/Kconfig b/drivers/net/ethernet/ibm/Kconfig index 37dceabf8861..a95d941360f8 100644 --- a/drivers/net/ethernet/ibm/Kconfig +++ b/drivers/net/ethernet/ibm/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # IBM device configuration. | 3 | # IBM device configuration. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/ibm/Makefile b/drivers/net/ethernet/ibm/Makefile index 447865c8b632..1d17d0c33d4d 100644 --- a/drivers/net/ethernet/ibm/Makefile +++ b/drivers/net/ethernet/ibm/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for th IBM network device drivers. | 3 | # Makefile for th IBM network device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/ibm/ehea/Makefile b/drivers/net/ethernet/ibm/ehea/Makefile index cd473e295242..9e1e5c7aafe2 100644 --- a/drivers/net/ethernet/ibm/ehea/Makefile +++ b/drivers/net/ethernet/ibm/ehea/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the eHEA ethernet device driver for IBM eServer System p | 3 | # Makefile for the eHEA ethernet device driver for IBM eServer System p |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/ibm/emac/Kconfig b/drivers/net/ethernet/ibm/emac/Kconfig index eacf7e141fdc..c8e5de5987ac 100644 --- a/drivers/net/ethernet/ibm/emac/Kconfig +++ b/drivers/net/ethernet/ibm/emac/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config IBM_EMAC | 2 | config IBM_EMAC |
| 2 | tristate "IBM EMAC Ethernet support" | 3 | tristate "IBM EMAC Ethernet support" |
| 3 | depends on PPC_DCR | 4 | depends on PPC_DCR |
diff --git a/drivers/net/ethernet/ibm/emac/phy.c b/drivers/net/ethernet/ibm/emac/phy.c index aa070c063e48..1e798cc9b6b8 100644 --- a/drivers/net/ethernet/ibm/emac/phy.c +++ b/drivers/net/ethernet/ibm/emac/phy.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * drivers/net/ethernet/ibm/emac/phy.c | 3 | * drivers/net/ethernet/ibm/emac/phy.c |
| 3 | * | 4 | * |
diff --git a/drivers/net/ethernet/ibm/ibmveth.c b/drivers/net/ethernet/ibm/ibmveth.c index d86b0e5895a6..d654c234aaf7 100644 --- a/drivers/net/ethernet/ibm/ibmveth.c +++ b/drivers/net/ethernet/ibm/ibmveth.c | |||
| @@ -1,19 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * IBM Power Virtual Ethernet Device Driver | 3 | * IBM Power Virtual Ethernet Device Driver |
| 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, see <http://www.gnu.org/licenses/>. | ||
| 16 | * | ||
| 17 | * Copyright (C) IBM Corporation, 2003, 2010 | 5 | * Copyright (C) IBM Corporation, 2003, 2010 |
| 18 | * | 6 | * |
| 19 | * Authors: Dave Larson <larson1@us.ibm.com> | 7 | * Authors: Dave Larson <larson1@us.ibm.com> |
diff --git a/drivers/net/ethernet/ibm/ibmveth.h b/drivers/net/ethernet/ibm/ibmveth.h index 01c587fc02c7..4e9bf3421f4f 100644 --- a/drivers/net/ethernet/ibm/ibmveth.h +++ b/drivers/net/ethernet/ibm/ibmveth.h | |||
| @@ -1,19 +1,7 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * IBM Power Virtual Ethernet Device Driver | 3 | * IBM Power Virtual Ethernet Device Driver |
| 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, see <http://www.gnu.org/licenses/>. | ||
| 16 | * | ||
| 17 | * Copyright (C) IBM Corporation, 2003, 2010 | 5 | * Copyright (C) IBM Corporation, 2003, 2010 |
| 18 | * | 6 | * |
| 19 | * Authors: Dave Larson <larson1@us.ibm.com> | 7 | * Authors: Dave Larson <larson1@us.ibm.com> |
diff --git a/drivers/net/ethernet/ibm/ibmvnic.c b/drivers/net/ethernet/ibm/ibmvnic.c index 3dcd9c3d8781..3da392bfd659 100644 --- a/drivers/net/ethernet/ibm/ibmvnic.c +++ b/drivers/net/ethernet/ibm/ibmvnic.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /**************************************************************************/ | 2 | /**************************************************************************/ |
| 2 | /* */ | 3 | /* */ |
| 3 | /* IBM System i and System p Virtual NIC Device Driver */ | 4 | /* IBM System i and System p Virtual NIC Device Driver */ |
| @@ -6,18 +7,6 @@ | |||
| 6 | /* Thomas Falcon (tlfalcon@linux.vnet.ibm.com) */ | 7 | /* Thomas Falcon (tlfalcon@linux.vnet.ibm.com) */ |
| 7 | /* John Allen (jallen@linux.vnet.ibm.com) */ | 8 | /* John Allen (jallen@linux.vnet.ibm.com) */ |
| 8 | /* */ | 9 | /* */ |
| 9 | /* This program is free software; you can redistribute it and/or modify */ | ||
| 10 | /* it under the terms of the GNU General Public License as published by */ | ||
| 11 | /* the Free Software Foundation; either version 2 of the License, or */ | ||
| 12 | /* (at your option) any later version. */ | ||
| 13 | /* */ | ||
| 14 | /* This program is distributed in the hope that it will be useful, */ | ||
| 15 | /* but WITHOUT ANY WARRANTY; without even the implied warranty of */ | ||
| 16 | /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ | ||
| 17 | /* GNU General Public License for more details. */ | ||
| 18 | /* */ | ||
| 19 | /* You should have received a copy of the GNU General Public License */ | ||
| 20 | /* along with this program. */ | ||
| 21 | /* */ | 10 | /* */ |
| 22 | /* This module contains the implementation of a virtual ethernet device */ | 11 | /* This module contains the implementation of a virtual ethernet device */ |
| 23 | /* for use with IBM i/p Series LPAR Linux. It utilizes the logical LAN */ | 12 | /* for use with IBM i/p Series LPAR Linux. It utilizes the logical LAN */ |
diff --git a/drivers/net/ethernet/ibm/ibmvnic.h b/drivers/net/ethernet/ibm/ibmvnic.h index dcf2eb6d9290..70bd286f8932 100644 --- a/drivers/net/ethernet/ibm/ibmvnic.h +++ b/drivers/net/ethernet/ibm/ibmvnic.h | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /**************************************************************************/ | 2 | /**************************************************************************/ |
| 2 | /* */ | 3 | /* */ |
| 3 | /* IBM System i and System p Virtual NIC Device Driver */ | 4 | /* IBM System i and System p Virtual NIC Device Driver */ |
| @@ -6,18 +7,6 @@ | |||
| 6 | /* Thomas Falcon (tlfalcon@linux.vnet.ibm.com) */ | 7 | /* Thomas Falcon (tlfalcon@linux.vnet.ibm.com) */ |
| 7 | /* John Allen (jallen@linux.vnet.ibm.com) */ | 8 | /* John Allen (jallen@linux.vnet.ibm.com) */ |
| 8 | /* */ | 9 | /* */ |
| 9 | /* This program is free software; you can redistribute it and/or modify */ | ||
| 10 | /* it under the terms of the GNU General Public License as published by */ | ||
| 11 | /* the Free Software Foundation; either version 2 of the License, or */ | ||
| 12 | /* (at your option) any later version. */ | ||
| 13 | /* */ | ||
| 14 | /* This program is distributed in the hope that it will be useful, */ | ||
| 15 | /* but WITHOUT ANY WARRANTY; without even the implied warranty of */ | ||
| 16 | /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ | ||
| 17 | /* GNU General Public License for more details. */ | ||
| 18 | /* */ | ||
| 19 | /* You should have received a copy of the GNU General Public License */ | ||
| 20 | /* along with this program. */ | ||
| 21 | /* */ | 10 | /* */ |
| 22 | /* This module contains the implementation of a virtual ethernet device */ | 11 | /* This module contains the implementation of a virtual ethernet device */ |
| 23 | /* for use with IBM i/pSeries LPAR Linux. It utilizes the logical LAN */ | 12 | /* for use with IBM i/pSeries LPAR Linux. It utilizes the logical LAN */ |
diff --git a/drivers/net/ethernet/intel/Kconfig b/drivers/net/ethernet/intel/Kconfig index a1246e89aad4..154e2e818ec6 100644 --- a/drivers/net/ethernet/intel/Kconfig +++ b/drivers/net/ethernet/intel/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Intel network device configuration | 3 | # Intel network device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/marvell/Kconfig b/drivers/net/ethernet/marvell/Kconfig index 3238aa7f5dac..fb942167ee54 100644 --- a/drivers/net/ethernet/marvell/Kconfig +++ b/drivers/net/ethernet/marvell/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Marvell device configuration | 3 | # Marvell device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/marvell/mv643xx_eth.c b/drivers/net/ethernet/marvell/mv643xx_eth.c index 409b69fd4374..88ea5ac83c93 100644 --- a/drivers/net/ethernet/marvell/mv643xx_eth.c +++ b/drivers/net/ethernet/marvell/mv643xx_eth.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Driver for Marvell Discovery (MV643XX) and Marvell Orion ethernet ports | 3 | * Driver for Marvell Discovery (MV643XX) and Marvell Orion ethernet ports |
| 3 | * Copyright (C) 2002 Matthew Dharm <mdharm@momenco.com> | 4 | * Copyright (C) 2002 Matthew Dharm <mdharm@momenco.com> |
| @@ -21,19 +22,6 @@ | |||
| 21 | * Lennert Buytenhek <buytenh@marvell.com> | 22 | * Lennert Buytenhek <buytenh@marvell.com> |
| 22 | * | 23 | * |
| 23 | * Copyright (C) 2013 Michael Stapelberg <michael@stapelberg.de> | 24 | * Copyright (C) 2013 Michael Stapelberg <michael@stapelberg.de> |
| 24 | * | ||
| 25 | * This program is free software; you can redistribute it and/or | ||
| 26 | * modify it under the terms of the GNU General Public License | ||
| 27 | * as published by the Free Software Foundation; either version 2 | ||
| 28 | * of the License, or (at your option) any later version. | ||
| 29 | * | ||
| 30 | * This program is distributed in the hope that it will be useful, | ||
| 31 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 32 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 33 | * GNU General Public License for more details. | ||
| 34 | * | ||
| 35 | * You should have received a copy of the GNU General Public License | ||
| 36 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 37 | */ | 25 | */ |
| 38 | 26 | ||
| 39 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 27 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/drivers/net/ethernet/marvell/octeontx2/Kconfig b/drivers/net/ethernet/marvell/octeontx2/Kconfig index 35827bdf1878..711ada7139d3 100644 --- a/drivers/net/ethernet/marvell/octeontx2/Kconfig +++ b/drivers/net/ethernet/marvell/octeontx2/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Marvell OcteonTX2 drivers configuration | 3 | # Marvell OcteonTX2 drivers configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/marvell/pxa168_eth.c b/drivers/net/ethernet/marvell/pxa168_eth.c index ce037e8530fa..3aa998797bc1 100644 --- a/drivers/net/ethernet/marvell/pxa168_eth.c +++ b/drivers/net/ethernet/marvell/pxa168_eth.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * PXA168 ethernet driver. | 3 | * PXA168 ethernet driver. |
| 3 | * Most of the code is derived from mv643xx ethernet driver. | 4 | * Most of the code is derived from mv643xx ethernet driver. |
| @@ -7,19 +8,6 @@ | |||
| 7 | * Zhangfei Gao <zgao6@marvell.com> | 8 | * Zhangfei Gao <zgao6@marvell.com> |
| 8 | * Philip Rakity <prakity@marvell.com> | 9 | * Philip Rakity <prakity@marvell.com> |
| 9 | * Mark Brown <markb@marvell.com> | 10 | * Mark Brown <markb@marvell.com> |
| 10 | * | ||
| 11 | * This program is free software; you can redistribute it and/or | ||
| 12 | * modify it under the terms of the GNU General Public License | ||
| 13 | * as published by the Free Software Foundation; either version 2 | ||
| 14 | * of the License, or (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, see <http://www.gnu.org/licenses/>. | ||
| 23 | */ | 11 | */ |
| 24 | 12 | ||
| 25 | #include <linux/bitops.h> | 13 | #include <linux/bitops.h> |
diff --git a/drivers/net/ethernet/mediatek/Kconfig b/drivers/net/ethernet/mediatek/Kconfig index 43656f961891..263cd0909fe0 100644 --- a/drivers/net/ethernet/mediatek/Kconfig +++ b/drivers/net/ethernet/mediatek/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config NET_VENDOR_MEDIATEK | 2 | config NET_VENDOR_MEDIATEK |
| 2 | bool "MediaTek ethernet driver" | 3 | bool "MediaTek ethernet driver" |
| 3 | depends on ARCH_MEDIATEK || SOC_MT7621 | 4 | depends on ARCH_MEDIATEK || SOC_MT7621 |
diff --git a/drivers/net/ethernet/mediatek/Makefile b/drivers/net/ethernet/mediatek/Makefile index aa3f1c8ccd4a..d41a2414c575 100644 --- a/drivers/net/ethernet/mediatek/Makefile +++ b/drivers/net/ethernet/mediatek/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Mediatek SoCs built-in ethernet macs | 3 | # Makefile for the Mediatek SoCs built-in ethernet macs |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/mellanox/Kconfig b/drivers/net/ethernet/mellanox/Kconfig index 872548cd9431..23cf7917a0c9 100644 --- a/drivers/net/ethernet/mellanox/Kconfig +++ b/drivers/net/ethernet/mellanox/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Mellanox driver configuration | 3 | # Mellanox driver configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/mellanox/Makefile b/drivers/net/ethernet/mellanox/Makefile index 016aa263bc04..79773ac331ee 100644 --- a/drivers/net/ethernet/mellanox/Makefile +++ b/drivers/net/ethernet/mellanox/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Mellanox device drivers. | 3 | # Makefile for the Mellanox device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/mellanox/mlx4/Kconfig b/drivers/net/ethernet/mellanox/mlx4/Kconfig index 8491db57b0b0..e69c3c31e701 100644 --- a/drivers/net/ethernet/mellanox/mlx4/Kconfig +++ b/drivers/net/ethernet/mellanox/mlx4/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Mellanox driver configuration | 3 | # Mellanox driver configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/mellanox/mlx4/en_ethtool.c b/drivers/net/ethernet/mellanox/mlx4/en_ethtool.c index d290f0787dfb..94c59939a8cf 100644 --- a/drivers/net/ethernet/mellanox/mlx4/en_ethtool.c +++ b/drivers/net/ethernet/mellanox/mlx4/en_ethtool.c | |||
| @@ -2010,6 +2010,8 @@ static int mlx4_en_set_tunable(struct net_device *dev, | |||
| 2010 | return ret; | 2010 | return ret; |
| 2011 | } | 2011 | } |
| 2012 | 2012 | ||
| 2013 | #define MLX4_EEPROM_PAGE_LEN 256 | ||
| 2014 | |||
| 2013 | static int mlx4_en_get_module_info(struct net_device *dev, | 2015 | static int mlx4_en_get_module_info(struct net_device *dev, |
| 2014 | struct ethtool_modinfo *modinfo) | 2016 | struct ethtool_modinfo *modinfo) |
| 2015 | { | 2017 | { |
| @@ -2044,7 +2046,7 @@ static int mlx4_en_get_module_info(struct net_device *dev, | |||
| 2044 | break; | 2046 | break; |
| 2045 | case MLX4_MODULE_ID_SFP: | 2047 | case MLX4_MODULE_ID_SFP: |
| 2046 | modinfo->type = ETH_MODULE_SFF_8472; | 2048 | modinfo->type = ETH_MODULE_SFF_8472; |
| 2047 | modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; | 2049 | modinfo->eeprom_len = MLX4_EEPROM_PAGE_LEN; |
| 2048 | break; | 2050 | break; |
| 2049 | default: | 2051 | default: |
| 2050 | return -EINVAL; | 2052 | return -EINVAL; |
diff --git a/drivers/net/ethernet/mellanox/mlx4/mcg.c b/drivers/net/ethernet/mellanox/mlx4/mcg.c index ffed2d4c9403..9c481823b3e8 100644 --- a/drivers/net/ethernet/mellanox/mlx4/mcg.c +++ b/drivers/net/ethernet/mellanox/mlx4/mcg.c | |||
| @@ -1492,7 +1492,7 @@ int mlx4_flow_steer_promisc_add(struct mlx4_dev *dev, u8 port, | |||
| 1492 | rule.port = port; | 1492 | rule.port = port; |
| 1493 | rule.qpn = qpn; | 1493 | rule.qpn = qpn; |
| 1494 | INIT_LIST_HEAD(&rule.list); | 1494 | INIT_LIST_HEAD(&rule.list); |
| 1495 | mlx4_err(dev, "going promisc on %x\n", port); | 1495 | mlx4_info(dev, "going promisc on %x\n", port); |
| 1496 | 1496 | ||
| 1497 | return mlx4_flow_attach(dev, &rule, regid_p); | 1497 | return mlx4_flow_attach(dev, &rule, regid_p); |
| 1498 | } | 1498 | } |
diff --git a/drivers/net/ethernet/mellanox/mlx4/port.c b/drivers/net/ethernet/mellanox/mlx4/port.c index 10fcc22f4590..ba6ac31a339d 100644 --- a/drivers/net/ethernet/mellanox/mlx4/port.c +++ b/drivers/net/ethernet/mellanox/mlx4/port.c | |||
| @@ -2077,11 +2077,6 @@ int mlx4_get_module_info(struct mlx4_dev *dev, u8 port, | |||
| 2077 | size -= offset + size - I2C_PAGE_SIZE; | 2077 | size -= offset + size - I2C_PAGE_SIZE; |
| 2078 | 2078 | ||
| 2079 | i2c_addr = I2C_ADDR_LOW; | 2079 | i2c_addr = I2C_ADDR_LOW; |
| 2080 | if (offset >= I2C_PAGE_SIZE) { | ||
| 2081 | /* Reset offset to high page */ | ||
| 2082 | i2c_addr = I2C_ADDR_HIGH; | ||
| 2083 | offset -= I2C_PAGE_SIZE; | ||
| 2084 | } | ||
| 2085 | 2080 | ||
| 2086 | cable_info = (struct mlx4_cable_info *)inmad->data; | 2081 | cable_info = (struct mlx4_cable_info *)inmad->data; |
| 2087 | cable_info->dev_mem_address = cpu_to_be16(offset); | 2082 | cable_info->dev_mem_address = cpu_to_be16(offset); |
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/Kconfig b/drivers/net/ethernet/mellanox/mlx5/core/Kconfig index 9aca8086ee01..2391e3cfb56b 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/Kconfig +++ b/drivers/net/ethernet/mellanox/mlx5/core/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Mellanox driver configuration | 3 | # Mellanox driver configuration |
| 3 | # | 4 | # |
| @@ -8,6 +9,7 @@ config MLX5_CORE | |||
| 8 | select NET_DEVLINK | 9 | select NET_DEVLINK |
| 9 | imply PTP_1588_CLOCK | 10 | imply PTP_1588_CLOCK |
| 10 | imply VXLAN | 11 | imply VXLAN |
| 12 | imply MLXFW | ||
| 11 | default n | 13 | default n |
| 12 | ---help--- | 14 | ---help--- |
| 13 | Core driver for low level functionality of the ConnectX-4 and | 15 | Core driver for low level functionality of the ConnectX-4 and |
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/accel/Makefile b/drivers/net/ethernet/mellanox/mlx5/core/accel/Makefile index d8e17110f25d..c78512eed8d7 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/accel/Makefile +++ b/drivers/net/ethernet/mellanox/mlx5/core/accel/Makefile | |||
| @@ -1 +1,2 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | subdir-ccflags-y += -I$(src)/.. | 2 | subdir-ccflags-y += -I$(src)/.. |
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/cmd.c b/drivers/net/ethernet/mellanox/mlx5/core/cmd.c index 937ba4bcb056..d2ab8cd8ad9f 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/cmd.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/cmd.c | |||
| @@ -1604,7 +1604,27 @@ void mlx5_cmd_flush(struct mlx5_core_dev *dev) | |||
| 1604 | 1604 | ||
| 1605 | static int status_to_err(u8 status) | 1605 | static int status_to_err(u8 status) |
| 1606 | { | 1606 | { |
| 1607 | return status ? -1 : 0; /* TBD more meaningful codes */ | 1607 | switch (status) { |
| 1608 | case MLX5_CMD_DELIVERY_STAT_OK: | ||
| 1609 | case MLX5_DRIVER_STATUS_ABORTED: | ||
| 1610 | return 0; | ||
| 1611 | case MLX5_CMD_DELIVERY_STAT_SIGNAT_ERR: | ||
| 1612 | case MLX5_CMD_DELIVERY_STAT_TOK_ERR: | ||
| 1613 | return -EBADR; | ||
| 1614 | case MLX5_CMD_DELIVERY_STAT_BAD_BLK_NUM_ERR: | ||
| 1615 | case MLX5_CMD_DELIVERY_STAT_OUT_PTR_ALIGN_ERR: | ||
| 1616 | case MLX5_CMD_DELIVERY_STAT_IN_PTR_ALIGN_ERR: | ||
| 1617 | return -EFAULT; /* Bad address */ | ||
| 1618 | case MLX5_CMD_DELIVERY_STAT_IN_LENGTH_ERR: | ||
| 1619 | case MLX5_CMD_DELIVERY_STAT_OUT_LENGTH_ERR: | ||
| 1620 | case MLX5_CMD_DELIVERY_STAT_CMD_DESCR_ERR: | ||
| 1621 | case MLX5_CMD_DELIVERY_STAT_RES_FLD_NOT_CLR_ERR: | ||
| 1622 | return -ENOMSG; | ||
| 1623 | case MLX5_CMD_DELIVERY_STAT_FW_ERR: | ||
| 1624 | return -EIO; | ||
| 1625 | default: | ||
| 1626 | return -EINVAL; | ||
| 1627 | } | ||
| 1608 | } | 1628 | } |
| 1609 | 1629 | ||
| 1610 | static struct mlx5_cmd_msg *alloc_msg(struct mlx5_core_dev *dev, int in_size, | 1630 | static struct mlx5_cmd_msg *alloc_msg(struct mlx5_core_dev *dev, int in_size, |
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/diag/Makefile b/drivers/net/ethernet/mellanox/mlx5/core/diag/Makefile index d8e17110f25d..c78512eed8d7 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/diag/Makefile +++ b/drivers/net/ethernet/mellanox/mlx5/core/diag/Makefile | |||
| @@ -1 +1,2 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | subdir-ccflags-y += -I$(src)/.. | 2 | subdir-ccflags-y += -I$(src)/.. |
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/ecpf.c b/drivers/net/ethernet/mellanox/mlx5/core/ecpf.c index 4746f2d28fb6..0ccd6d40baf7 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/ecpf.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/ecpf.c | |||
| @@ -26,7 +26,7 @@ static int mlx5_peer_pf_disable_hca(struct mlx5_core_dev *dev) | |||
| 26 | 26 | ||
| 27 | MLX5_SET(disable_hca_in, in, opcode, MLX5_CMD_OP_DISABLE_HCA); | 27 | MLX5_SET(disable_hca_in, in, opcode, MLX5_CMD_OP_DISABLE_HCA); |
| 28 | MLX5_SET(disable_hca_in, in, function_id, 0); | 28 | MLX5_SET(disable_hca_in, in, function_id, 0); |
| 29 | MLX5_SET(enable_hca_in, in, embedded_cpu_function, 0); | 29 | MLX5_SET(disable_hca_in, in, embedded_cpu_function, 0); |
| 30 | return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); | 30 | return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); |
| 31 | } | 31 | } |
| 32 | 32 | ||
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en/Makefile b/drivers/net/ethernet/mellanox/mlx5/core/en/Makefile index d8e17110f25d..c78512eed8d7 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/en/Makefile +++ b/drivers/net/ethernet/mellanox/mlx5/core/en/Makefile | |||
| @@ -1 +1,2 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | subdir-ccflags-y += -I$(src)/.. | 2 | subdir-ccflags-y += -I$(src)/.. |
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en_accel/Makefile b/drivers/net/ethernet/mellanox/mlx5/core/en_accel/Makefile index d8e17110f25d..c78512eed8d7 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/en_accel/Makefile +++ b/drivers/net/ethernet/mellanox/mlx5/core/en_accel/Makefile | |||
| @@ -1 +1,2 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | subdir-ccflags-y += -I$(src)/.. | 2 | subdir-ccflags-y += -I$(src)/.. |
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c b/drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c index 7efaa58ae034..dd764e0471f2 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c | |||
| @@ -1901,6 +1901,22 @@ static int mlx5e_flash_device(struct net_device *dev, | |||
| 1901 | return mlx5e_ethtool_flash_device(priv, flash); | 1901 | return mlx5e_ethtool_flash_device(priv, flash); |
| 1902 | } | 1902 | } |
| 1903 | 1903 | ||
| 1904 | #ifndef CONFIG_MLX5_EN_RXNFC | ||
| 1905 | /* When CONFIG_MLX5_EN_RXNFC=n we only support ETHTOOL_GRXRINGS | ||
| 1906 | * otherwise this function will be defined from en_fs_ethtool.c | ||
| 1907 | */ | ||
| 1908 | static int mlx5e_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *info, u32 *rule_locs) | ||
| 1909 | { | ||
| 1910 | struct mlx5e_priv *priv = netdev_priv(dev); | ||
| 1911 | |||
| 1912 | if (info->cmd != ETHTOOL_GRXRINGS) | ||
| 1913 | return -EOPNOTSUPP; | ||
| 1914 | /* ring_count is needed by ethtool -x */ | ||
| 1915 | info->data = priv->channels.params.num_channels; | ||
| 1916 | return 0; | ||
| 1917 | } | ||
| 1918 | #endif | ||
| 1919 | |||
| 1904 | const struct ethtool_ops mlx5e_ethtool_ops = { | 1920 | const struct ethtool_ops mlx5e_ethtool_ops = { |
| 1905 | .get_drvinfo = mlx5e_get_drvinfo, | 1921 | .get_drvinfo = mlx5e_get_drvinfo, |
| 1906 | .get_link = ethtool_op_get_link, | 1922 | .get_link = ethtool_op_get_link, |
| @@ -1919,8 +1935,8 @@ const struct ethtool_ops mlx5e_ethtool_ops = { | |||
| 1919 | .get_rxfh_indir_size = mlx5e_get_rxfh_indir_size, | 1935 | .get_rxfh_indir_size = mlx5e_get_rxfh_indir_size, |
| 1920 | .get_rxfh = mlx5e_get_rxfh, | 1936 | .get_rxfh = mlx5e_get_rxfh, |
| 1921 | .set_rxfh = mlx5e_set_rxfh, | 1937 | .set_rxfh = mlx5e_set_rxfh, |
| 1922 | #ifdef CONFIG_MLX5_EN_RXNFC | ||
| 1923 | .get_rxnfc = mlx5e_get_rxnfc, | 1938 | .get_rxnfc = mlx5e_get_rxnfc, |
| 1939 | #ifdef CONFIG_MLX5_EN_RXNFC | ||
| 1924 | .set_rxnfc = mlx5e_set_rxnfc, | 1940 | .set_rxnfc = mlx5e_set_rxnfc, |
| 1925 | #endif | 1941 | #endif |
| 1926 | .flash_device = mlx5e_flash_device, | 1942 | .flash_device = mlx5e_flash_device, |
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en_rep.c b/drivers/net/ethernet/mellanox/mlx5/core/en_rep.c index 91e24f1cead8..5283e16c69e4 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/en_rep.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/en_rep.c | |||
| @@ -65,9 +65,26 @@ static void mlx5e_rep_indr_unregister_block(struct mlx5e_rep_priv *rpriv, | |||
| 65 | static void mlx5e_rep_get_drvinfo(struct net_device *dev, | 65 | static void mlx5e_rep_get_drvinfo(struct net_device *dev, |
| 66 | struct ethtool_drvinfo *drvinfo) | 66 | struct ethtool_drvinfo *drvinfo) |
| 67 | { | 67 | { |
| 68 | struct mlx5e_priv *priv = netdev_priv(dev); | ||
| 69 | struct mlx5_core_dev *mdev = priv->mdev; | ||
| 70 | |||
| 68 | strlcpy(drvinfo->driver, mlx5e_rep_driver_name, | 71 | strlcpy(drvinfo->driver, mlx5e_rep_driver_name, |
| 69 | sizeof(drvinfo->driver)); | 72 | sizeof(drvinfo->driver)); |
| 70 | strlcpy(drvinfo->version, UTS_RELEASE, sizeof(drvinfo->version)); | 73 | strlcpy(drvinfo->version, UTS_RELEASE, sizeof(drvinfo->version)); |
| 74 | snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), | ||
| 75 | "%d.%d.%04d (%.16s)", | ||
| 76 | fw_rev_maj(mdev), fw_rev_min(mdev), | ||
| 77 | fw_rev_sub(mdev), mdev->board_id); | ||
| 78 | } | ||
| 79 | |||
| 80 | static void mlx5e_uplink_rep_get_drvinfo(struct net_device *dev, | ||
| 81 | struct ethtool_drvinfo *drvinfo) | ||
| 82 | { | ||
| 83 | struct mlx5e_priv *priv = netdev_priv(dev); | ||
| 84 | |||
| 85 | mlx5e_rep_get_drvinfo(dev, drvinfo); | ||
| 86 | strlcpy(drvinfo->bus_info, pci_name(priv->mdev->pdev), | ||
| 87 | sizeof(drvinfo->bus_info)); | ||
| 71 | } | 88 | } |
| 72 | 89 | ||
| 73 | static const struct counter_desc sw_rep_stats_desc[] = { | 90 | static const struct counter_desc sw_rep_stats_desc[] = { |
| @@ -363,7 +380,7 @@ static const struct ethtool_ops mlx5e_vf_rep_ethtool_ops = { | |||
| 363 | }; | 380 | }; |
| 364 | 381 | ||
| 365 | static const struct ethtool_ops mlx5e_uplink_rep_ethtool_ops = { | 382 | static const struct ethtool_ops mlx5e_uplink_rep_ethtool_ops = { |
| 366 | .get_drvinfo = mlx5e_rep_get_drvinfo, | 383 | .get_drvinfo = mlx5e_uplink_rep_get_drvinfo, |
| 367 | .get_link = ethtool_op_get_link, | 384 | .get_link = ethtool_op_get_link, |
| 368 | .get_strings = mlx5e_rep_get_strings, | 385 | .get_strings = mlx5e_rep_get_strings, |
| 369 | .get_sset_count = mlx5e_rep_get_sset_count, | 386 | .get_sset_count = mlx5e_rep_get_sset_count, |
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en_tc.c b/drivers/net/ethernet/mellanox/mlx5/core/en_tc.c index 122f457091a2..31cd02f11499 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/en_tc.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/en_tc.c | |||
| @@ -1595,7 +1595,7 @@ static int __parse_cls_flower(struct mlx5e_priv *priv, | |||
| 1595 | if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CVLAN)) { | 1595 | if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CVLAN)) { |
| 1596 | struct flow_match_vlan match; | 1596 | struct flow_match_vlan match; |
| 1597 | 1597 | ||
| 1598 | flow_rule_match_vlan(rule, &match); | 1598 | flow_rule_match_cvlan(rule, &match); |
| 1599 | if (match.mask->vlan_id || | 1599 | if (match.mask->vlan_id || |
| 1600 | match.mask->vlan_priority || | 1600 | match.mask->vlan_priority || |
| 1601 | match.mask->vlan_tpid) { | 1601 | match.mask->vlan_tpid) { |
| @@ -1916,6 +1916,19 @@ struct mlx5_fields { | |||
| 1916 | offsetof(struct pedit_headers, field) + (off), \ | 1916 | offsetof(struct pedit_headers, field) + (off), \ |
| 1917 | MLX5_BYTE_OFF(fte_match_set_lyr_2_4, match_field)} | 1917 | MLX5_BYTE_OFF(fte_match_set_lyr_2_4, match_field)} |
| 1918 | 1918 | ||
| 1919 | /* masked values are the same and there are no rewrites that do not have a | ||
| 1920 | * match. | ||
| 1921 | */ | ||
| 1922 | #define SAME_VAL_MASK(type, valp, maskp, matchvalp, matchmaskp) ({ \ | ||
| 1923 | type matchmaskx = *(type *)(matchmaskp); \ | ||
| 1924 | type matchvalx = *(type *)(matchvalp); \ | ||
| 1925 | type maskx = *(type *)(maskp); \ | ||
| 1926 | type valx = *(type *)(valp); \ | ||
| 1927 | \ | ||
| 1928 | (valx & maskx) == (matchvalx & matchmaskx) && !(maskx & (maskx ^ \ | ||
| 1929 | matchmaskx)); \ | ||
| 1930 | }) | ||
| 1931 | |||
| 1919 | static bool cmp_val_mask(void *valp, void *maskp, void *matchvalp, | 1932 | static bool cmp_val_mask(void *valp, void *maskp, void *matchvalp, |
| 1920 | void *matchmaskp, int size) | 1933 | void *matchmaskp, int size) |
| 1921 | { | 1934 | { |
| @@ -1923,16 +1936,13 @@ static bool cmp_val_mask(void *valp, void *maskp, void *matchvalp, | |||
| 1923 | 1936 | ||
| 1924 | switch (size) { | 1937 | switch (size) { |
| 1925 | case sizeof(u8): | 1938 | case sizeof(u8): |
| 1926 | same = ((*(u8 *)valp) & (*(u8 *)maskp)) == | 1939 | same = SAME_VAL_MASK(u8, valp, maskp, matchvalp, matchmaskp); |
| 1927 | ((*(u8 *)matchvalp) & (*(u8 *)matchmaskp)); | ||
| 1928 | break; | 1940 | break; |
| 1929 | case sizeof(u16): | 1941 | case sizeof(u16): |
| 1930 | same = ((*(u16 *)valp) & (*(u16 *)maskp)) == | 1942 | same = SAME_VAL_MASK(u16, valp, maskp, matchvalp, matchmaskp); |
| 1931 | ((*(u16 *)matchvalp) & (*(u16 *)matchmaskp)); | ||
| 1932 | break; | 1943 | break; |
| 1933 | case sizeof(u32): | 1944 | case sizeof(u32): |
| 1934 | same = ((*(u32 *)valp) & (*(u32 *)maskp)) == | 1945 | same = SAME_VAL_MASK(u32, valp, maskp, matchvalp, matchmaskp); |
| 1935 | ((*(u32 *)matchvalp) & (*(u32 *)matchmaskp)); | ||
| 1936 | break; | 1946 | break; |
| 1937 | } | 1947 | } |
| 1938 | 1948 | ||
| @@ -2557,8 +2567,10 @@ static int parse_tc_nic_actions(struct mlx5e_priv *priv, | |||
| 2557 | /* in case all pedit actions are skipped, remove the MOD_HDR | 2567 | /* in case all pedit actions are skipped, remove the MOD_HDR |
| 2558 | * flag. | 2568 | * flag. |
| 2559 | */ | 2569 | */ |
| 2560 | if (parse_attr->num_mod_hdr_actions == 0) | 2570 | if (parse_attr->num_mod_hdr_actions == 0) { |
| 2561 | action &= ~MLX5_FLOW_CONTEXT_ACTION_MOD_HDR; | 2571 | action &= ~MLX5_FLOW_CONTEXT_ACTION_MOD_HDR; |
| 2572 | kfree(parse_attr->mod_hdr_actions); | ||
| 2573 | } | ||
| 2562 | } | 2574 | } |
| 2563 | 2575 | ||
| 2564 | attr->action = action; | 2576 | attr->action = action; |
| @@ -2995,6 +3007,7 @@ static int parse_tc_fdb_actions(struct mlx5e_priv *priv, | |||
| 2995 | */ | 3007 | */ |
| 2996 | if (parse_attr->num_mod_hdr_actions == 0) { | 3008 | if (parse_attr->num_mod_hdr_actions == 0) { |
| 2997 | action &= ~MLX5_FLOW_CONTEXT_ACTION_MOD_HDR; | 3009 | action &= ~MLX5_FLOW_CONTEXT_ACTION_MOD_HDR; |
| 3010 | kfree(parse_attr->mod_hdr_actions); | ||
| 2998 | if (!((action & MLX5_FLOW_CONTEXT_ACTION_VLAN_POP) || | 3011 | if (!((action & MLX5_FLOW_CONTEXT_ACTION_VLAN_POP) || |
| 2999 | (action & MLX5_FLOW_CONTEXT_ACTION_VLAN_PUSH))) | 3012 | (action & MLX5_FLOW_CONTEXT_ACTION_VLAN_PUSH))) |
| 3000 | attr->split_count = 0; | 3013 | attr->split_count = 0; |
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en_tx.c b/drivers/net/ethernet/mellanox/mlx5/core/en_tx.c index 7b61126fcec9..195a7d903cec 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/en_tx.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/en_tx.c | |||
| @@ -361,7 +361,7 @@ netdev_tx_t mlx5e_sq_xmit(struct mlx5e_txqsq *sq, struct sk_buff *skb, | |||
| 361 | } | 361 | } |
| 362 | 362 | ||
| 363 | stats->bytes += num_bytes; | 363 | stats->bytes += num_bytes; |
| 364 | stats->xmit_more += netdev_xmit_more(); | 364 | stats->xmit_more += xmit_more; |
| 365 | 365 | ||
| 366 | headlen = skb->len - ihs - skb->data_len; | 366 | headlen = skb->len - ihs - skb->data_len; |
| 367 | ds_cnt += !!headlen; | 367 | ds_cnt += !!headlen; |
| @@ -624,7 +624,8 @@ mlx5i_txwqe_build_datagram(struct mlx5_av *av, u32 dqpn, u32 dqkey, | |||
| 624 | } | 624 | } |
| 625 | 625 | ||
| 626 | netdev_tx_t mlx5i_sq_xmit(struct mlx5e_txqsq *sq, struct sk_buff *skb, | 626 | netdev_tx_t mlx5i_sq_xmit(struct mlx5e_txqsq *sq, struct sk_buff *skb, |
| 627 | struct mlx5_av *av, u32 dqpn, u32 dqkey) | 627 | struct mlx5_av *av, u32 dqpn, u32 dqkey, |
| 628 | bool xmit_more) | ||
| 628 | { | 629 | { |
| 629 | struct mlx5_wq_cyc *wq = &sq->wq; | 630 | struct mlx5_wq_cyc *wq = &sq->wq; |
| 630 | struct mlx5i_tx_wqe *wqe; | 631 | struct mlx5i_tx_wqe *wqe; |
| @@ -660,7 +661,7 @@ netdev_tx_t mlx5i_sq_xmit(struct mlx5e_txqsq *sq, struct sk_buff *skb, | |||
| 660 | } | 661 | } |
| 661 | 662 | ||
| 662 | stats->bytes += num_bytes; | 663 | stats->bytes += num_bytes; |
| 663 | stats->xmit_more += netdev_xmit_more(); | 664 | stats->xmit_more += xmit_more; |
| 664 | 665 | ||
| 665 | headlen = skb->len - ihs - skb->data_len; | 666 | headlen = skb->len - ihs - skb->data_len; |
| 666 | ds_cnt += !!headlen; | 667 | ds_cnt += !!headlen; |
| @@ -705,7 +706,7 @@ netdev_tx_t mlx5i_sq_xmit(struct mlx5e_txqsq *sq, struct sk_buff *skb, | |||
| 705 | goto err_drop; | 706 | goto err_drop; |
| 706 | 707 | ||
| 707 | mlx5e_txwqe_complete(sq, skb, opcode, ds_cnt, num_wqebbs, num_bytes, | 708 | mlx5e_txwqe_complete(sq, skb, opcode, ds_cnt, num_wqebbs, num_bytes, |
| 708 | num_dma, wi, cseg, false); | 709 | num_dma, wi, cseg, xmit_more); |
| 709 | 710 | ||
| 710 | return NETDEV_TX_OK; | 711 | return NETDEV_TX_OK; |
| 711 | 712 | ||
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/eswitch.c b/drivers/net/ethernet/mellanox/mlx5/core/eswitch.c index 9ea0ccfe5ef5..6a921e24cd5e 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/eswitch.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/eswitch.c | |||
| @@ -1526,7 +1526,7 @@ static void node_guid_gen_from_mac(u64 *node_guid, u8 mac[ETH_ALEN]) | |||
| 1526 | static void esw_apply_vport_conf(struct mlx5_eswitch *esw, | 1526 | static void esw_apply_vport_conf(struct mlx5_eswitch *esw, |
| 1527 | struct mlx5_vport *vport) | 1527 | struct mlx5_vport *vport) |
| 1528 | { | 1528 | { |
| 1529 | int vport_num = vport->vport; | 1529 | u16 vport_num = vport->vport; |
| 1530 | 1530 | ||
| 1531 | if (esw->manager_vport == vport_num) | 1531 | if (esw->manager_vport == vport_num) |
| 1532 | return; | 1532 | return; |
| @@ -1915,7 +1915,7 @@ void mlx5_eswitch_cleanup(struct mlx5_eswitch *esw) | |||
| 1915 | 1915 | ||
| 1916 | /* Vport Administration */ | 1916 | /* Vport Administration */ |
| 1917 | int mlx5_eswitch_set_vport_mac(struct mlx5_eswitch *esw, | 1917 | int mlx5_eswitch_set_vport_mac(struct mlx5_eswitch *esw, |
| 1918 | int vport, u8 mac[ETH_ALEN]) | 1918 | u16 vport, u8 mac[ETH_ALEN]) |
| 1919 | { | 1919 | { |
| 1920 | struct mlx5_vport *evport = mlx5_eswitch_get_vport(esw, vport); | 1920 | struct mlx5_vport *evport = mlx5_eswitch_get_vport(esw, vport); |
| 1921 | u64 node_guid; | 1921 | u64 node_guid; |
| @@ -1959,7 +1959,7 @@ unlock: | |||
| 1959 | } | 1959 | } |
| 1960 | 1960 | ||
| 1961 | int mlx5_eswitch_set_vport_state(struct mlx5_eswitch *esw, | 1961 | int mlx5_eswitch_set_vport_state(struct mlx5_eswitch *esw, |
| 1962 | int vport, int link_state) | 1962 | u16 vport, int link_state) |
| 1963 | { | 1963 | { |
| 1964 | struct mlx5_vport *evport = mlx5_eswitch_get_vport(esw, vport); | 1964 | struct mlx5_vport *evport = mlx5_eswitch_get_vport(esw, vport); |
| 1965 | int err = 0; | 1965 | int err = 0; |
| @@ -1989,7 +1989,7 @@ unlock: | |||
| 1989 | } | 1989 | } |
| 1990 | 1990 | ||
| 1991 | int mlx5_eswitch_get_vport_config(struct mlx5_eswitch *esw, | 1991 | int mlx5_eswitch_get_vport_config(struct mlx5_eswitch *esw, |
| 1992 | int vport, struct ifla_vf_info *ivi) | 1992 | u16 vport, struct ifla_vf_info *ivi) |
| 1993 | { | 1993 | { |
| 1994 | struct mlx5_vport *evport = mlx5_eswitch_get_vport(esw, vport); | 1994 | struct mlx5_vport *evport = mlx5_eswitch_get_vport(esw, vport); |
| 1995 | 1995 | ||
| @@ -2014,7 +2014,7 @@ int mlx5_eswitch_get_vport_config(struct mlx5_eswitch *esw, | |||
| 2014 | } | 2014 | } |
| 2015 | 2015 | ||
| 2016 | int __mlx5_eswitch_set_vport_vlan(struct mlx5_eswitch *esw, | 2016 | int __mlx5_eswitch_set_vport_vlan(struct mlx5_eswitch *esw, |
| 2017 | int vport, u16 vlan, u8 qos, u8 set_flags) | 2017 | u16 vport, u16 vlan, u8 qos, u8 set_flags) |
| 2018 | { | 2018 | { |
| 2019 | struct mlx5_vport *evport = mlx5_eswitch_get_vport(esw, vport); | 2019 | struct mlx5_vport *evport = mlx5_eswitch_get_vport(esw, vport); |
| 2020 | int err = 0; | 2020 | int err = 0; |
| @@ -2047,7 +2047,7 @@ unlock: | |||
| 2047 | } | 2047 | } |
| 2048 | 2048 | ||
| 2049 | int mlx5_eswitch_set_vport_vlan(struct mlx5_eswitch *esw, | 2049 | int mlx5_eswitch_set_vport_vlan(struct mlx5_eswitch *esw, |
| 2050 | int vport, u16 vlan, u8 qos) | 2050 | u16 vport, u16 vlan, u8 qos) |
| 2051 | { | 2051 | { |
| 2052 | u8 set_flags = 0; | 2052 | u8 set_flags = 0; |
| 2053 | 2053 | ||
| @@ -2058,7 +2058,7 @@ int mlx5_eswitch_set_vport_vlan(struct mlx5_eswitch *esw, | |||
| 2058 | } | 2058 | } |
| 2059 | 2059 | ||
| 2060 | int mlx5_eswitch_set_vport_spoofchk(struct mlx5_eswitch *esw, | 2060 | int mlx5_eswitch_set_vport_spoofchk(struct mlx5_eswitch *esw, |
| 2061 | int vport, bool spoofchk) | 2061 | u16 vport, bool spoofchk) |
| 2062 | { | 2062 | { |
| 2063 | struct mlx5_vport *evport = mlx5_eswitch_get_vport(esw, vport); | 2063 | struct mlx5_vport *evport = mlx5_eswitch_get_vport(esw, vport); |
| 2064 | bool pschk; | 2064 | bool pschk; |
| @@ -2208,7 +2208,7 @@ out: | |||
| 2208 | } | 2208 | } |
| 2209 | 2209 | ||
| 2210 | int mlx5_eswitch_set_vport_trust(struct mlx5_eswitch *esw, | 2210 | int mlx5_eswitch_set_vport_trust(struct mlx5_eswitch *esw, |
| 2211 | int vport, bool setting) | 2211 | u16 vport, bool setting) |
| 2212 | { | 2212 | { |
| 2213 | struct mlx5_vport *evport = mlx5_eswitch_get_vport(esw, vport); | 2213 | struct mlx5_vport *evport = mlx5_eswitch_get_vport(esw, vport); |
| 2214 | 2214 | ||
| @@ -2278,7 +2278,7 @@ static int normalize_vports_min_rate(struct mlx5_eswitch *esw, u32 divider) | |||
| 2278 | return 0; | 2278 | return 0; |
| 2279 | } | 2279 | } |
| 2280 | 2280 | ||
| 2281 | int mlx5_eswitch_set_vport_rate(struct mlx5_eswitch *esw, int vport, | 2281 | int mlx5_eswitch_set_vport_rate(struct mlx5_eswitch *esw, u16 vport, |
| 2282 | u32 max_rate, u32 min_rate) | 2282 | u32 max_rate, u32 min_rate) |
| 2283 | { | 2283 | { |
| 2284 | struct mlx5_vport *evport = mlx5_eswitch_get_vport(esw, vport); | 2284 | struct mlx5_vport *evport = mlx5_eswitch_get_vport(esw, vport); |
| @@ -2368,7 +2368,7 @@ static int mlx5_eswitch_query_vport_drop_stats(struct mlx5_core_dev *dev, | |||
| 2368 | } | 2368 | } |
| 2369 | 2369 | ||
| 2370 | int mlx5_eswitch_get_vport_stats(struct mlx5_eswitch *esw, | 2370 | int mlx5_eswitch_get_vport_stats(struct mlx5_eswitch *esw, |
| 2371 | int vport_num, | 2371 | u16 vport_num, |
| 2372 | struct ifla_vf_stats *vf_stats) | 2372 | struct ifla_vf_stats *vf_stats) |
| 2373 | { | 2373 | { |
| 2374 | struct mlx5_vport *vport = mlx5_eswitch_get_vport(esw, vport_num); | 2374 | struct mlx5_vport *vport = mlx5_eswitch_get_vport(esw, vport_num); |
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h b/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h index ed3fad689ec9..d043d6f9797d 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h +++ b/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h | |||
| @@ -246,23 +246,23 @@ void mlx5_eswitch_cleanup(struct mlx5_eswitch *esw); | |||
| 246 | int mlx5_eswitch_enable_sriov(struct mlx5_eswitch *esw, int nvfs, int mode); | 246 | int mlx5_eswitch_enable_sriov(struct mlx5_eswitch *esw, int nvfs, int mode); |
| 247 | void mlx5_eswitch_disable_sriov(struct mlx5_eswitch *esw); | 247 | void mlx5_eswitch_disable_sriov(struct mlx5_eswitch *esw); |
| 248 | int mlx5_eswitch_set_vport_mac(struct mlx5_eswitch *esw, | 248 | int mlx5_eswitch_set_vport_mac(struct mlx5_eswitch *esw, |
| 249 | int vport, u8 mac[ETH_ALEN]); | 249 | u16 vport, u8 mac[ETH_ALEN]); |
| 250 | int mlx5_eswitch_set_vport_state(struct mlx5_eswitch *esw, | 250 | int mlx5_eswitch_set_vport_state(struct mlx5_eswitch *esw, |
| 251 | int vport, int link_state); | 251 | u16 vport, int link_state); |
| 252 | int mlx5_eswitch_set_vport_vlan(struct mlx5_eswitch *esw, | 252 | int mlx5_eswitch_set_vport_vlan(struct mlx5_eswitch *esw, |
| 253 | int vport, u16 vlan, u8 qos); | 253 | u16 vport, u16 vlan, u8 qos); |
| 254 | int mlx5_eswitch_set_vport_spoofchk(struct mlx5_eswitch *esw, | 254 | int mlx5_eswitch_set_vport_spoofchk(struct mlx5_eswitch *esw, |
| 255 | int vport, bool spoofchk); | 255 | u16 vport, bool spoofchk); |
| 256 | int mlx5_eswitch_set_vport_trust(struct mlx5_eswitch *esw, | 256 | int mlx5_eswitch_set_vport_trust(struct mlx5_eswitch *esw, |
| 257 | int vport_num, bool setting); | 257 | u16 vport_num, bool setting); |
| 258 | int mlx5_eswitch_set_vport_rate(struct mlx5_eswitch *esw, int vport, | 258 | int mlx5_eswitch_set_vport_rate(struct mlx5_eswitch *esw, u16 vport, |
| 259 | u32 max_rate, u32 min_rate); | 259 | u32 max_rate, u32 min_rate); |
| 260 | int mlx5_eswitch_set_vepa(struct mlx5_eswitch *esw, u8 setting); | 260 | int mlx5_eswitch_set_vepa(struct mlx5_eswitch *esw, u8 setting); |
| 261 | int mlx5_eswitch_get_vepa(struct mlx5_eswitch *esw, u8 *setting); | 261 | int mlx5_eswitch_get_vepa(struct mlx5_eswitch *esw, u8 *setting); |
| 262 | int mlx5_eswitch_get_vport_config(struct mlx5_eswitch *esw, | 262 | int mlx5_eswitch_get_vport_config(struct mlx5_eswitch *esw, |
| 263 | int vport, struct ifla_vf_info *ivi); | 263 | u16 vport, struct ifla_vf_info *ivi); |
| 264 | int mlx5_eswitch_get_vport_stats(struct mlx5_eswitch *esw, | 264 | int mlx5_eswitch_get_vport_stats(struct mlx5_eswitch *esw, |
| 265 | int vport, | 265 | u16 vport, |
| 266 | struct ifla_vf_stats *vf_stats); | 266 | struct ifla_vf_stats *vf_stats); |
| 267 | void mlx5_eswitch_del_send_to_vport_rule(struct mlx5_flow_handle *rule); | 267 | void mlx5_eswitch_del_send_to_vport_rule(struct mlx5_flow_handle *rule); |
| 268 | 268 | ||
| @@ -296,7 +296,7 @@ u32 | |||
| 296 | mlx5_eswitch_get_chain_range(struct mlx5_eswitch *esw); | 296 | mlx5_eswitch_get_chain_range(struct mlx5_eswitch *esw); |
| 297 | 297 | ||
| 298 | struct mlx5_flow_handle * | 298 | struct mlx5_flow_handle * |
| 299 | mlx5_eswitch_create_vport_rx_rule(struct mlx5_eswitch *esw, int vport, | 299 | mlx5_eswitch_create_vport_rx_rule(struct mlx5_eswitch *esw, u16 vport, |
| 300 | struct mlx5_flow_destination *dest); | 300 | struct mlx5_flow_destination *dest); |
| 301 | 301 | ||
| 302 | enum { | 302 | enum { |
| @@ -366,7 +366,7 @@ int mlx5_eswitch_add_vlan_action(struct mlx5_eswitch *esw, | |||
| 366 | int mlx5_eswitch_del_vlan_action(struct mlx5_eswitch *esw, | 366 | int mlx5_eswitch_del_vlan_action(struct mlx5_eswitch *esw, |
| 367 | struct mlx5_esw_flow_attr *attr); | 367 | struct mlx5_esw_flow_attr *attr); |
| 368 | int __mlx5_eswitch_set_vport_vlan(struct mlx5_eswitch *esw, | 368 | int __mlx5_eswitch_set_vport_vlan(struct mlx5_eswitch *esw, |
| 369 | int vport, u16 vlan, u8 qos, u8 set_flags); | 369 | u16 vport, u16 vlan, u8 qos, u8 set_flags); |
| 370 | 370 | ||
| 371 | static inline bool mlx5_eswitch_vlan_actions_supported(struct mlx5_core_dev *dev, | 371 | static inline bool mlx5_eswitch_vlan_actions_supported(struct mlx5_core_dev *dev, |
| 372 | u8 vlan_depth) | 372 | u8 vlan_depth) |
| @@ -430,7 +430,7 @@ static inline int mlx5_eswitch_vport_num_to_index(struct mlx5_eswitch *esw, | |||
| 430 | return vport_num; | 430 | return vport_num; |
| 431 | } | 431 | } |
| 432 | 432 | ||
| 433 | static inline int mlx5_eswitch_index_to_vport_num(struct mlx5_eswitch *esw, | 433 | static inline u16 mlx5_eswitch_index_to_vport_num(struct mlx5_eswitch *esw, |
| 434 | int index) | 434 | int index) |
| 435 | { | 435 | { |
| 436 | if (index == mlx5_eswitch_ecpf_idx(esw) && | 436 | if (index == mlx5_eswitch_ecpf_idx(esw) && |
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c b/drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c index e09ae27485ee..47b446d30f71 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c | |||
| @@ -57,7 +57,7 @@ | |||
| 57 | static struct mlx5_eswitch_rep *mlx5_eswitch_get_rep(struct mlx5_eswitch *esw, | 57 | static struct mlx5_eswitch_rep *mlx5_eswitch_get_rep(struct mlx5_eswitch *esw, |
| 58 | u16 vport_num) | 58 | u16 vport_num) |
| 59 | { | 59 | { |
| 60 | u16 idx = mlx5_eswitch_vport_num_to_index(esw, vport_num); | 60 | int idx = mlx5_eswitch_vport_num_to_index(esw, vport_num); |
| 61 | 61 | ||
| 62 | WARN_ON(idx > esw->total_vports - 1); | 62 | WARN_ON(idx > esw->total_vports - 1); |
| 63 | return &esw->offloads.vport_reps[idx]; | 63 | return &esw->offloads.vport_reps[idx]; |
| @@ -515,7 +515,8 @@ out: | |||
| 515 | } | 515 | } |
| 516 | 516 | ||
| 517 | struct mlx5_flow_handle * | 517 | struct mlx5_flow_handle * |
| 518 | mlx5_eswitch_add_send_to_vport_rule(struct mlx5_eswitch *esw, int vport, u32 sqn) | 518 | mlx5_eswitch_add_send_to_vport_rule(struct mlx5_eswitch *esw, u16 vport, |
| 519 | u32 sqn) | ||
| 519 | { | 520 | { |
| 520 | struct mlx5_flow_act flow_act = {0}; | 521 | struct mlx5_flow_act flow_act = {0}; |
| 521 | struct mlx5_flow_destination dest = {}; | 522 | struct mlx5_flow_destination dest = {}; |
| @@ -1181,7 +1182,7 @@ static void esw_destroy_vport_rx_group(struct mlx5_eswitch *esw) | |||
| 1181 | } | 1182 | } |
| 1182 | 1183 | ||
| 1183 | struct mlx5_flow_handle * | 1184 | struct mlx5_flow_handle * |
| 1184 | mlx5_eswitch_create_vport_rx_rule(struct mlx5_eswitch *esw, int vport, | 1185 | mlx5_eswitch_create_vport_rx_rule(struct mlx5_eswitch *esw, u16 vport, |
| 1185 | struct mlx5_flow_destination *dest) | 1186 | struct mlx5_flow_destination *dest) |
| 1186 | { | 1187 | { |
| 1187 | struct mlx5_flow_act flow_act = {0}; | 1188 | struct mlx5_flow_act flow_act = {0}; |
| @@ -1731,13 +1732,14 @@ static void esw_prio_tag_acls_cleanup(struct mlx5_eswitch *esw) | |||
| 1731 | struct mlx5_vport *vport; | 1732 | struct mlx5_vport *vport; |
| 1732 | int i; | 1733 | int i; |
| 1733 | 1734 | ||
| 1734 | mlx5_esw_for_each_vf_vport(esw, i, vport, esw->nvports) { | 1735 | mlx5_esw_for_each_vf_vport(esw, i, vport, esw->dev->priv.sriov.num_vfs) { |
| 1735 | esw_vport_disable_egress_acl(esw, vport); | 1736 | esw_vport_disable_egress_acl(esw, vport); |
| 1736 | esw_vport_disable_ingress_acl(esw, vport); | 1737 | esw_vport_disable_ingress_acl(esw, vport); |
| 1737 | } | 1738 | } |
| 1738 | } | 1739 | } |
| 1739 | 1740 | ||
| 1740 | static int esw_offloads_steering_init(struct mlx5_eswitch *esw, int nvports) | 1741 | static int esw_offloads_steering_init(struct mlx5_eswitch *esw, int vf_nvports, |
| 1742 | int nvports) | ||
| 1741 | { | 1743 | { |
| 1742 | int err; | 1744 | int err; |
| 1743 | 1745 | ||
| @@ -1745,7 +1747,7 @@ static int esw_offloads_steering_init(struct mlx5_eswitch *esw, int nvports) | |||
| 1745 | mutex_init(&esw->fdb_table.offloads.fdb_prio_lock); | 1747 | mutex_init(&esw->fdb_table.offloads.fdb_prio_lock); |
| 1746 | 1748 | ||
| 1747 | if (MLX5_CAP_GEN(esw->dev, prio_tag_required)) { | 1749 | if (MLX5_CAP_GEN(esw->dev, prio_tag_required)) { |
| 1748 | err = esw_prio_tag_acls_config(esw, nvports); | 1750 | err = esw_prio_tag_acls_config(esw, vf_nvports); |
| 1749 | if (err) | 1751 | if (err) |
| 1750 | return err; | 1752 | return err; |
| 1751 | } | 1753 | } |
| @@ -1838,7 +1840,7 @@ int esw_offloads_init(struct mlx5_eswitch *esw, int vf_nvports, | |||
| 1838 | { | 1840 | { |
| 1839 | int err; | 1841 | int err; |
| 1840 | 1842 | ||
| 1841 | err = esw_offloads_steering_init(esw, total_nvports); | 1843 | err = esw_offloads_steering_init(esw, vf_nvports, total_nvports); |
| 1842 | if (err) | 1844 | if (err) |
| 1843 | return err; | 1845 | return err; |
| 1844 | 1846 | ||
| @@ -2243,7 +2245,7 @@ void *mlx5_eswitch_get_uplink_priv(struct mlx5_eswitch *esw, u8 rep_type) | |||
| 2243 | } | 2245 | } |
| 2244 | 2246 | ||
| 2245 | void *mlx5_eswitch_get_proto_dev(struct mlx5_eswitch *esw, | 2247 | void *mlx5_eswitch_get_proto_dev(struct mlx5_eswitch *esw, |
| 2246 | int vport, | 2248 | u16 vport, |
| 2247 | u8 rep_type) | 2249 | u8 rep_type) |
| 2248 | { | 2250 | { |
| 2249 | struct mlx5_eswitch_rep *rep; | 2251 | struct mlx5_eswitch_rep *rep; |
| @@ -2264,7 +2266,7 @@ void *mlx5_eswitch_uplink_get_proto_dev(struct mlx5_eswitch *esw, u8 rep_type) | |||
| 2264 | EXPORT_SYMBOL(mlx5_eswitch_uplink_get_proto_dev); | 2266 | EXPORT_SYMBOL(mlx5_eswitch_uplink_get_proto_dev); |
| 2265 | 2267 | ||
| 2266 | struct mlx5_eswitch_rep *mlx5_eswitch_vport_rep(struct mlx5_eswitch *esw, | 2268 | struct mlx5_eswitch_rep *mlx5_eswitch_vport_rep(struct mlx5_eswitch *esw, |
| 2267 | int vport) | 2269 | u16 vport) |
| 2268 | { | 2270 | { |
| 2269 | return mlx5_eswitch_get_rep(esw, vport); | 2271 | return mlx5_eswitch_get_rep(esw, vport); |
| 2270 | } | 2272 | } |
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/fpga/Makefile b/drivers/net/ethernet/mellanox/mlx5/core/fpga/Makefile index d8e17110f25d..c78512eed8d7 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/fpga/Makefile +++ b/drivers/net/ethernet/mellanox/mlx5/core/fpga/Makefile | |||
| @@ -1 +1,2 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | subdir-ccflags-y += -I$(src)/.. | 2 | subdir-ccflags-y += -I$(src)/.. |
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/fs_core.c b/drivers/net/ethernet/mellanox/mlx5/core/fs_core.c index fb5b61727ee7..d7ca7e82a832 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/fs_core.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/fs_core.c | |||
| @@ -1380,6 +1380,8 @@ static bool mlx5_flow_dests_cmp(struct mlx5_flow_destination *d1, | |||
| 1380 | if ((d1->type == MLX5_FLOW_DESTINATION_TYPE_VPORT && | 1380 | if ((d1->type == MLX5_FLOW_DESTINATION_TYPE_VPORT && |
| 1381 | d1->vport.num == d2->vport.num && | 1381 | d1->vport.num == d2->vport.num && |
| 1382 | d1->vport.flags == d2->vport.flags && | 1382 | d1->vport.flags == d2->vport.flags && |
| 1383 | ((d1->vport.flags & MLX5_FLOW_DEST_VPORT_VHCA_ID) ? | ||
| 1384 | (d1->vport.vhca_id == d2->vport.vhca_id) : true) && | ||
| 1383 | ((d1->vport.flags & MLX5_FLOW_DEST_VPORT_REFORMAT_ID) ? | 1385 | ((d1->vport.flags & MLX5_FLOW_DEST_VPORT_REFORMAT_ID) ? |
| 1384 | (d1->vport.reformat_id == d2->vport.reformat_id) : true)) || | 1386 | (d1->vport.reformat_id == d2->vport.reformat_id) : true)) || |
| 1385 | (d1->type == MLX5_FLOW_DESTINATION_TYPE_FLOW_TABLE && | 1387 | (d1->type == MLX5_FLOW_DESTINATION_TYPE_FLOW_TABLE && |
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/ipoib/Makefile b/drivers/net/ethernet/mellanox/mlx5/core/ipoib/Makefile index d8e17110f25d..c78512eed8d7 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/ipoib/Makefile +++ b/drivers/net/ethernet/mellanox/mlx5/core/ipoib/Makefile | |||
| @@ -1 +1,2 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | subdir-ccflags-y += -I$(src)/.. | 2 | subdir-ccflags-y += -I$(src)/.. |
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c b/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c index ada1b7c0e0b8..9ca492b430d8 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c | |||
| @@ -619,7 +619,7 @@ static int mlx5i_xmit(struct net_device *dev, struct sk_buff *skb, | |||
| 619 | struct mlx5_ib_ah *mah = to_mah(address); | 619 | struct mlx5_ib_ah *mah = to_mah(address); |
| 620 | struct mlx5i_priv *ipriv = epriv->ppriv; | 620 | struct mlx5i_priv *ipriv = epriv->ppriv; |
| 621 | 621 | ||
| 622 | return mlx5i_sq_xmit(sq, skb, &mah->av, dqpn, ipriv->qkey); | 622 | return mlx5i_sq_xmit(sq, skb, &mah->av, dqpn, ipriv->qkey, netdev_xmit_more()); |
| 623 | } | 623 | } |
| 624 | 624 | ||
| 625 | static void mlx5i_set_pkey_index(struct net_device *netdev, int id) | 625 | static void mlx5i_set_pkey_index(struct net_device *netdev, int id) |
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.h b/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.h index 9165ca567047..e19ba3fcd1b7 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.h +++ b/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.h | |||
| @@ -119,7 +119,8 @@ static inline void mlx5i_sq_fetch_wqe(struct mlx5e_txqsq *sq, | |||
| 119 | } | 119 | } |
| 120 | 120 | ||
| 121 | netdev_tx_t mlx5i_sq_xmit(struct mlx5e_txqsq *sq, struct sk_buff *skb, | 121 | netdev_tx_t mlx5i_sq_xmit(struct mlx5e_txqsq *sq, struct sk_buff *skb, |
| 122 | struct mlx5_av *av, u32 dqpn, u32 dqkey); | 122 | struct mlx5_av *av, u32 dqpn, u32 dqkey, |
| 123 | bool xmit_more); | ||
| 123 | void mlx5i_handle_rx_cqe(struct mlx5e_rq *rq, struct mlx5_cqe64 *cqe); | 124 | void mlx5i_handle_rx_cqe(struct mlx5e_rq *rq, struct mlx5_cqe64 *cqe); |
| 124 | void mlx5i_get_stats(struct net_device *dev, struct rtnl_link_stats64 *stats); | 125 | void mlx5i_get_stats(struct net_device *dev, struct rtnl_link_stats64 *stats); |
| 125 | 126 | ||
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/lib/Makefile b/drivers/net/ethernet/mellanox/mlx5/core/lib/Makefile index d8e17110f25d..c78512eed8d7 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/lib/Makefile +++ b/drivers/net/ethernet/mellanox/mlx5/core/lib/Makefile | |||
| @@ -1 +1,2 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | subdir-ccflags-y += -I$(src)/.. | 2 | subdir-ccflags-y += -I$(src)/.. |
diff --git a/drivers/net/ethernet/mellanox/mlxfw/Kconfig b/drivers/net/ethernet/mellanox/mlxfw/Kconfig index 186ebe783f97..0367f835a846 100644 --- a/drivers/net/ethernet/mellanox/mlxfw/Kconfig +++ b/drivers/net/ethernet/mellanox/mlxfw/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Mellanox firmware flash library configuration | 3 | # Mellanox firmware flash library configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/mellanox/mlxfw/Makefile b/drivers/net/ethernet/mellanox/mlxfw/Makefile index 7448b301104c..36007cd24c01 100644 --- a/drivers/net/ethernet/mellanox/mlxfw/Makefile +++ b/drivers/net/ethernet/mellanox/mlxfw/Makefile | |||
| @@ -1,2 +1,3 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_MLXFW) += mlxfw.o | 2 | obj-$(CONFIG_MLXFW) += mlxfw.o |
| 2 | mlxfw-objs := mlxfw_fsm.o mlxfw_mfa2_tlv_multi.o mlxfw_mfa2.o | 3 | mlxfw-objs := mlxfw_fsm.o mlxfw_mfa2_tlv_multi.o mlxfw_mfa2.o |
diff --git a/drivers/net/ethernet/mellanox/mlxsw/Kconfig b/drivers/net/ethernet/mellanox/mlxsw/Kconfig index 7ccb950aa7d4..11ded0bc7d98 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/Kconfig +++ b/drivers/net/ethernet/mellanox/mlxsw/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Mellanox switch drivers configuration | 3 | # Mellanox switch drivers configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/mellanox/mlxsw/core.c b/drivers/net/ethernet/mellanox/mlxsw/core.c index bcbe07ec22be..6ee6de7f0160 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/core.c +++ b/drivers/net/ethernet/mellanox/mlxsw/core.c | |||
| @@ -122,6 +122,12 @@ void *mlxsw_core_driver_priv(struct mlxsw_core *mlxsw_core) | |||
| 122 | } | 122 | } |
| 123 | EXPORT_SYMBOL(mlxsw_core_driver_priv); | 123 | EXPORT_SYMBOL(mlxsw_core_driver_priv); |
| 124 | 124 | ||
| 125 | bool mlxsw_core_res_query_enabled(const struct mlxsw_core *mlxsw_core) | ||
| 126 | { | ||
| 127 | return mlxsw_core->driver->res_query_enabled; | ||
| 128 | } | ||
| 129 | EXPORT_SYMBOL(mlxsw_core_res_query_enabled); | ||
| 130 | |||
| 125 | struct mlxsw_rx_listener_item { | 131 | struct mlxsw_rx_listener_item { |
| 126 | struct list_head list; | 132 | struct list_head list; |
| 127 | struct mlxsw_rx_listener rxl; | 133 | struct mlxsw_rx_listener rxl; |
diff --git a/drivers/net/ethernet/mellanox/mlxsw/core.h b/drivers/net/ethernet/mellanox/mlxsw/core.h index 917be621c904..e3832cb5bdda 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/core.h +++ b/drivers/net/ethernet/mellanox/mlxsw/core.h | |||
| @@ -28,6 +28,8 @@ unsigned int mlxsw_core_max_ports(const struct mlxsw_core *mlxsw_core); | |||
| 28 | 28 | ||
| 29 | void *mlxsw_core_driver_priv(struct mlxsw_core *mlxsw_core); | 29 | void *mlxsw_core_driver_priv(struct mlxsw_core *mlxsw_core); |
| 30 | 30 | ||
| 31 | bool mlxsw_core_res_query_enabled(const struct mlxsw_core *mlxsw_core); | ||
| 32 | |||
| 31 | int mlxsw_core_driver_register(struct mlxsw_driver *mlxsw_driver); | 33 | int mlxsw_core_driver_register(struct mlxsw_driver *mlxsw_driver); |
| 32 | void mlxsw_core_driver_unregister(struct mlxsw_driver *mlxsw_driver); | 34 | void mlxsw_core_driver_unregister(struct mlxsw_driver *mlxsw_driver); |
| 33 | 35 | ||
diff --git a/drivers/net/ethernet/mellanox/mlxsw/core_env.c b/drivers/net/ethernet/mellanox/mlxsw/core_env.c index c1c1965d7acc..72539a9a3847 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/core_env.c +++ b/drivers/net/ethernet/mellanox/mlxsw/core_env.c | |||
| @@ -3,6 +3,7 @@ | |||
| 3 | 3 | ||
| 4 | #include <linux/kernel.h> | 4 | #include <linux/kernel.h> |
| 5 | #include <linux/err.h> | 5 | #include <linux/err.h> |
| 6 | #include <linux/sfp.h> | ||
| 6 | 7 | ||
| 7 | #include "core.h" | 8 | #include "core.h" |
| 8 | #include "core_env.h" | 9 | #include "core_env.h" |
| @@ -162,7 +163,7 @@ int mlxsw_env_get_module_info(struct mlxsw_core *mlxsw_core, int module, | |||
| 162 | { | 163 | { |
| 163 | u8 module_info[MLXSW_REG_MCIA_EEPROM_MODULE_INFO_SIZE]; | 164 | u8 module_info[MLXSW_REG_MCIA_EEPROM_MODULE_INFO_SIZE]; |
| 164 | u16 offset = MLXSW_REG_MCIA_EEPROM_MODULE_INFO_SIZE; | 165 | u16 offset = MLXSW_REG_MCIA_EEPROM_MODULE_INFO_SIZE; |
| 165 | u8 module_rev_id, module_id; | 166 | u8 module_rev_id, module_id, diag_mon; |
| 166 | unsigned int read_size; | 167 | unsigned int read_size; |
| 167 | int err; | 168 | int err; |
| 168 | 169 | ||
| @@ -195,8 +196,21 @@ int mlxsw_env_get_module_info(struct mlxsw_core *mlxsw_core, int module, | |||
| 195 | } | 196 | } |
| 196 | break; | 197 | break; |
| 197 | case MLXSW_REG_MCIA_EEPROM_MODULE_INFO_ID_SFP: | 198 | case MLXSW_REG_MCIA_EEPROM_MODULE_INFO_ID_SFP: |
| 199 | /* Verify if transceiver provides diagnostic monitoring page */ | ||
| 200 | err = mlxsw_env_query_module_eeprom(mlxsw_core, module, | ||
| 201 | SFP_DIAGMON, 1, &diag_mon, | ||
| 202 | &read_size); | ||
| 203 | if (err) | ||
| 204 | return err; | ||
| 205 | |||
| 206 | if (read_size < 1) | ||
| 207 | return -EIO; | ||
| 208 | |||
| 198 | modinfo->type = ETH_MODULE_SFF_8472; | 209 | modinfo->type = ETH_MODULE_SFF_8472; |
| 199 | modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; | 210 | if (diag_mon) |
| 211 | modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN; | ||
| 212 | else | ||
| 213 | modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN / 2; | ||
| 200 | break; | 214 | break; |
| 201 | default: | 215 | default: |
| 202 | return -EINVAL; | 216 | return -EINVAL; |
diff --git a/drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c b/drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c index 6956bbebe2f1..496dc904c5ed 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c +++ b/drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c | |||
| @@ -518,6 +518,9 @@ static int mlxsw_hwmon_module_init(struct mlxsw_hwmon *mlxsw_hwmon) | |||
| 518 | u8 width; | 518 | u8 width; |
| 519 | int err; | 519 | int err; |
| 520 | 520 | ||
| 521 | if (!mlxsw_core_res_query_enabled(mlxsw_hwmon->core)) | ||
| 522 | return 0; | ||
| 523 | |||
| 521 | /* Add extra attributes for module temperature. Sensor index is | 524 | /* Add extra attributes for module temperature. Sensor index is |
| 522 | * assigned to sensor_count value, while all indexed before | 525 | * assigned to sensor_count value, while all indexed before |
| 523 | * sensor_count are already utilized by the sensors connected through | 526 | * sensor_count are already utilized by the sensors connected through |
diff --git a/drivers/net/ethernet/mellanox/mlxsw/core_thermal.c b/drivers/net/ethernet/mellanox/mlxsw/core_thermal.c index 472f63f9fac5..d3e851e7ca72 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/core_thermal.c +++ b/drivers/net/ethernet/mellanox/mlxsw/core_thermal.c | |||
| @@ -740,6 +740,9 @@ mlxsw_thermal_modules_init(struct device *dev, struct mlxsw_core *core, | |||
| 740 | struct mlxsw_thermal_module *module_tz; | 740 | struct mlxsw_thermal_module *module_tz; |
| 741 | int i, err; | 741 | int i, err; |
| 742 | 742 | ||
| 743 | if (!mlxsw_core_res_query_enabled(core)) | ||
| 744 | return 0; | ||
| 745 | |||
| 743 | thermal->tz_module_arr = kcalloc(module_count, | 746 | thermal->tz_module_arr = kcalloc(module_count, |
| 744 | sizeof(*thermal->tz_module_arr), | 747 | sizeof(*thermal->tz_module_arr), |
| 745 | GFP_KERNEL); | 748 | GFP_KERNEL); |
| @@ -776,6 +779,9 @@ mlxsw_thermal_modules_fini(struct mlxsw_thermal *thermal) | |||
| 776 | unsigned int module_count = mlxsw_core_max_ports(thermal->core); | 779 | unsigned int module_count = mlxsw_core_max_ports(thermal->core); |
| 777 | int i; | 780 | int i; |
| 778 | 781 | ||
| 782 | if (!mlxsw_core_res_query_enabled(thermal->core)) | ||
| 783 | return; | ||
| 784 | |||
| 779 | for (i = module_count - 1; i >= 0; i--) | 785 | for (i = module_count - 1; i >= 0; i--) |
| 780 | mlxsw_thermal_module_fini(&thermal->tz_module_arr[i]); | 786 | mlxsw_thermal_module_fini(&thermal->tz_module_arr[i]); |
| 781 | kfree(thermal->tz_module_arr); | 787 | kfree(thermal->tz_module_arr); |
diff --git a/drivers/net/ethernet/micrel/Kconfig b/drivers/net/ethernet/micrel/Kconfig index b7e2f49696b7..90a8c6bead56 100644 --- a/drivers/net/ethernet/micrel/Kconfig +++ b/drivers/net/ethernet/micrel/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Micrel device configuration | 3 | # Micrel device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/microchip/Kconfig b/drivers/net/ethernet/microchip/Kconfig index cf1d49149cc8..45fe41f3d9f3 100644 --- a/drivers/net/ethernet/microchip/Kconfig +++ b/drivers/net/ethernet/microchip/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Microchip network device configuration | 3 | # Microchip network device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/microchip/Makefile b/drivers/net/ethernet/microchip/Makefile index 538926d2b43f..da603540ca57 100644 --- a/drivers/net/ethernet/microchip/Makefile +++ b/drivers/net/ethernet/microchip/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Microchip network device drivers. | 3 | # Makefile for the Microchip network device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/moxa/Kconfig b/drivers/net/ethernet/moxa/Kconfig index 5b531da36933..1a7cacbc0c59 100644 --- a/drivers/net/ethernet/moxa/Kconfig +++ b/drivers/net/ethernet/moxa/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # MOXART device configuration | 3 | # MOXART device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/moxa/Makefile b/drivers/net/ethernet/moxa/Makefile index aa3c73e9e952..864e17984f9f 100644 --- a/drivers/net/ethernet/moxa/Makefile +++ b/drivers/net/ethernet/moxa/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the MOXART network device drivers. | 3 | # Makefile for the MOXART network device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/myricom/Kconfig b/drivers/net/ethernet/myricom/Kconfig index 9645c7245bbf..6bc993eae4c4 100644 --- a/drivers/net/ethernet/myricom/Kconfig +++ b/drivers/net/ethernet/myricom/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Myricom device configuration | 3 | # Myricom device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/myricom/Makefile b/drivers/net/ethernet/myricom/Makefile index 296c0a10056b..122fbd94a372 100644 --- a/drivers/net/ethernet/myricom/Makefile +++ b/drivers/net/ethernet/myricom/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Myricom network device drivers. | 3 | # Makefile for the Myricom network device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/myricom/myri10ge/Makefile b/drivers/net/ethernet/myricom/myri10ge/Makefile index 5df891647aee..8d9585c9db69 100644 --- a/drivers/net/ethernet/myricom/myri10ge/Makefile +++ b/drivers/net/ethernet/myricom/myri10ge/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Myricom Myri-10G ethernet driver | 3 | # Makefile for the Myricom Myri-10G ethernet driver |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/natsemi/Kconfig b/drivers/net/ethernet/natsemi/Kconfig index 017fb2322589..c519c1f30225 100644 --- a/drivers/net/ethernet/natsemi/Kconfig +++ b/drivers/net/ethernet/natsemi/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # National Semiconductor device configuration | 3 | # National Semiconductor device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/natsemi/ns83820.c b/drivers/net/ethernet/natsemi/ns83820.c index 9098ee7fe0d1..6af9a7eee114 100644 --- a/drivers/net/ethernet/natsemi/ns83820.c +++ b/drivers/net/ethernet/natsemi/ns83820.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | #define VERSION "0.23" | 2 | #define VERSION "0.23" |
| 2 | /* ns83820.c by Benjamin LaHaise with contributions. | 3 | /* ns83820.c by Benjamin LaHaise with contributions. |
| 3 | * | 4 | * |
| @@ -10,21 +11,6 @@ | |||
| 10 | * | 11 | * |
| 11 | * Mmmm, chocolate vanilla mocha... | 12 | * Mmmm, chocolate vanilla mocha... |
| 12 | * | 13 | * |
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 26 | * | ||
| 27 | * | ||
| 28 | * ChangeLog | 14 | * ChangeLog |
| 29 | * ========= | 15 | * ========= |
| 30 | * 20010414 0.1 - created | 16 | * 20010414 0.1 - created |
diff --git a/drivers/net/ethernet/natsemi/sonic.c b/drivers/net/ethernet/natsemi/sonic.c index aaec00912ea0..d0a01e8f000a 100644 --- a/drivers/net/ethernet/natsemi/sonic.c +++ b/drivers/net/ethernet/natsemi/sonic.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * sonic.c | 3 | * sonic.c |
| 3 | * | 4 | * |
diff --git a/drivers/net/ethernet/neterion/Kconfig b/drivers/net/ethernet/neterion/Kconfig index 7df20561e3fa..5e630f3a0189 100644 --- a/drivers/net/ethernet/neterion/Kconfig +++ b/drivers/net/ethernet/neterion/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Exar device configuration | 3 | # Exar device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/neterion/Makefile b/drivers/net/ethernet/neterion/Makefile index 70c8058a601a..87ede8a47bb8 100644 --- a/drivers/net/ethernet/neterion/Makefile +++ b/drivers/net/ethernet/neterion/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Exar network device drivers. | 3 | # Makefile for the Exar network device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/neterion/vxge/Makefile b/drivers/net/ethernet/neterion/vxge/Makefile index b625e2c503f5..0820e81ca7fb 100644 --- a/drivers/net/ethernet/neterion/vxge/Makefile +++ b/drivers/net/ethernet/neterion/vxge/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for Exar Corp's X3100 Series 10 GbE PCIe I/O | 3 | # Makefile for Exar Corp's X3100 Series 10 GbE PCIe I/O |
| 3 | # Virtualized Server Adapter linux driver | 4 | # Virtualized Server Adapter linux driver |
diff --git a/drivers/net/ethernet/netronome/Kconfig b/drivers/net/ethernet/netronome/Kconfig index f0d0e09f60e2..4ad5109059e0 100644 --- a/drivers/net/ethernet/netronome/Kconfig +++ b/drivers/net/ethernet/netronome/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Netronome device configuration | 3 | # Netronome device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/netronome/Makefile b/drivers/net/ethernet/netronome/Makefile index 7fb3b84b5556..d9a3948e8bde 100644 --- a/drivers/net/ethernet/netronome/Makefile +++ b/drivers/net/ethernet/netronome/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Netronome network device drivers | 3 | # Makefile for the Netronome network device drivers |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c b/drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c index faa06edf95ac..8c67505865a4 100644 --- a/drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c +++ b/drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c | |||
| @@ -168,6 +168,7 @@ void nfp_tunnel_keep_alive(struct nfp_app *app, struct sk_buff *skb) | |||
| 168 | return; | 168 | return; |
| 169 | } | 169 | } |
| 170 | 170 | ||
| 171 | rcu_read_lock(); | ||
| 171 | for (i = 0; i < count; i++) { | 172 | for (i = 0; i < count; i++) { |
| 172 | ipv4_addr = payload->tun_info[i].ipv4; | 173 | ipv4_addr = payload->tun_info[i].ipv4; |
| 173 | port = be32_to_cpu(payload->tun_info[i].egress_port); | 174 | port = be32_to_cpu(payload->tun_info[i].egress_port); |
| @@ -183,6 +184,7 @@ void nfp_tunnel_keep_alive(struct nfp_app *app, struct sk_buff *skb) | |||
| 183 | neigh_event_send(n, NULL); | 184 | neigh_event_send(n, NULL); |
| 184 | neigh_release(n); | 185 | neigh_release(n); |
| 185 | } | 186 | } |
| 187 | rcu_read_unlock(); | ||
| 186 | } | 188 | } |
| 187 | 189 | ||
| 188 | static int | 190 | static int |
| @@ -367,9 +369,10 @@ void nfp_tunnel_request_route(struct nfp_app *app, struct sk_buff *skb) | |||
| 367 | 369 | ||
| 368 | payload = nfp_flower_cmsg_get_data(skb); | 370 | payload = nfp_flower_cmsg_get_data(skb); |
| 369 | 371 | ||
| 372 | rcu_read_lock(); | ||
| 370 | netdev = nfp_app_dev_get(app, be32_to_cpu(payload->ingress_port), NULL); | 373 | netdev = nfp_app_dev_get(app, be32_to_cpu(payload->ingress_port), NULL); |
| 371 | if (!netdev) | 374 | if (!netdev) |
| 372 | goto route_fail_warning; | 375 | goto fail_rcu_unlock; |
| 373 | 376 | ||
| 374 | flow.daddr = payload->ipv4_addr; | 377 | flow.daddr = payload->ipv4_addr; |
| 375 | flow.flowi4_proto = IPPROTO_UDP; | 378 | flow.flowi4_proto = IPPROTO_UDP; |
| @@ -379,21 +382,23 @@ void nfp_tunnel_request_route(struct nfp_app *app, struct sk_buff *skb) | |||
| 379 | rt = ip_route_output_key(dev_net(netdev), &flow); | 382 | rt = ip_route_output_key(dev_net(netdev), &flow); |
| 380 | err = PTR_ERR_OR_ZERO(rt); | 383 | err = PTR_ERR_OR_ZERO(rt); |
| 381 | if (err) | 384 | if (err) |
| 382 | goto route_fail_warning; | 385 | goto fail_rcu_unlock; |
| 383 | #else | 386 | #else |
| 384 | goto route_fail_warning; | 387 | goto fail_rcu_unlock; |
| 385 | #endif | 388 | #endif |
| 386 | 389 | ||
| 387 | /* Get the neighbour entry for the lookup */ | 390 | /* Get the neighbour entry for the lookup */ |
| 388 | n = dst_neigh_lookup(&rt->dst, &flow.daddr); | 391 | n = dst_neigh_lookup(&rt->dst, &flow.daddr); |
| 389 | ip_rt_put(rt); | 392 | ip_rt_put(rt); |
| 390 | if (!n) | 393 | if (!n) |
| 391 | goto route_fail_warning; | 394 | goto fail_rcu_unlock; |
| 392 | nfp_tun_write_neigh(n->dev, app, &flow, n, GFP_KERNEL); | 395 | nfp_tun_write_neigh(n->dev, app, &flow, n, GFP_ATOMIC); |
| 393 | neigh_release(n); | 396 | neigh_release(n); |
| 397 | rcu_read_unlock(); | ||
| 394 | return; | 398 | return; |
| 395 | 399 | ||
| 396 | route_fail_warning: | 400 | fail_rcu_unlock: |
| 401 | rcu_read_unlock(); | ||
| 397 | nfp_flower_cmsg_warn(app, "Requested route not found.\n"); | 402 | nfp_flower_cmsg_warn(app, "Requested route not found.\n"); |
| 398 | } | 403 | } |
| 399 | 404 | ||
diff --git a/drivers/net/ethernet/ni/Kconfig b/drivers/net/ethernet/ni/Kconfig index c73978474c4b..70b1a03c0953 100644 --- a/drivers/net/ethernet/ni/Kconfig +++ b/drivers/net/ethernet/ni/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # National Instuments network device configuration | 3 | # National Instuments network device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/ni/Makefile b/drivers/net/ethernet/ni/Makefile index 99c664651c51..b31bbea3c24c 100644 --- a/drivers/net/ethernet/ni/Makefile +++ b/drivers/net/ethernet/ni/Makefile | |||
| @@ -1 +1,2 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_NI_XGE_MANAGEMENT_ENET) += nixge.o | 2 | obj-$(CONFIG_NI_XGE_MANAGEMENT_ENET) += nixge.o |
diff --git a/drivers/net/ethernet/nuvoton/Kconfig b/drivers/net/ethernet/nuvoton/Kconfig index 71c973f8e50f..325e26c549f8 100644 --- a/drivers/net/ethernet/nuvoton/Kconfig +++ b/drivers/net/ethernet/nuvoton/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Nuvoton network device configuration | 3 | # Nuvoton network device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/nuvoton/Makefile b/drivers/net/ethernet/nuvoton/Makefile index 171aa044bd3b..66f6e728d54b 100644 --- a/drivers/net/ethernet/nuvoton/Makefile +++ b/drivers/net/ethernet/nuvoton/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Nuvoton network device drivers. | 3 | # Makefile for the Nuvoton network device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/nvidia/Kconfig b/drivers/net/ethernet/nvidia/Kconfig index 4efc9fe84785..faacbd129c44 100644 --- a/drivers/net/ethernet/nvidia/Kconfig +++ b/drivers/net/ethernet/nvidia/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # NVIDIA network device configuration | 3 | # NVIDIA network device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/nvidia/Makefile b/drivers/net/ethernet/nvidia/Makefile index e079ae5771d5..89356992c3ed 100644 --- a/drivers/net/ethernet/nvidia/Makefile +++ b/drivers/net/ethernet/nvidia/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the NVIDIA network device drivers. | 3 | # Makefile for the NVIDIA network device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/nvidia/forcedeth.c b/drivers/net/ethernet/nvidia/forcedeth.c index 1d9b0d44ddb6..b327b29f5d57 100644 --- a/drivers/net/ethernet/nvidia/forcedeth.c +++ b/drivers/net/ethernet/nvidia/forcedeth.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * forcedeth: Ethernet driver for NVIDIA nForce media access controllers. | 3 | * forcedeth: Ethernet driver for NVIDIA nForce media access controllers. |
| 3 | * | 4 | * |
| @@ -15,19 +16,6 @@ | |||
| 15 | * IRQ rate fixes, bigendian fixes, cleanups, verification) | 16 | * IRQ rate fixes, bigendian fixes, cleanups, verification) |
| 16 | * Copyright (c) 2004,2005,2006,2007,2008,2009 NVIDIA Corporation | 17 | * Copyright (c) 2004,2005,2006,2007,2008,2009 NVIDIA Corporation |
| 17 | * | 18 | * |
| 18 | * This program is free software; you can redistribute it and/or modify | ||
| 19 | * it under the terms of the GNU General Public License as published by | ||
| 20 | * the Free Software Foundation; either version 2 of the License, or | ||
| 21 | * (at your option) any later version. | ||
| 22 | * | ||
| 23 | * This program is distributed in the hope that it will be useful, | ||
| 24 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 25 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 26 | * GNU General Public License for more details. | ||
| 27 | * | ||
| 28 | * You should have received a copy of the GNU General Public License | ||
| 29 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 30 | * | ||
| 31 | * Known bugs: | 19 | * Known bugs: |
| 32 | * We suspect that on some hardware no TX done interrupts are generated. | 20 | * We suspect that on some hardware no TX done interrupts are generated. |
| 33 | * This means recovery from netif_stop_queue only happens if the hw timer | 21 | * This means recovery from netif_stop_queue only happens if the hw timer |
diff --git a/drivers/net/ethernet/nxp/Kconfig b/drivers/net/ethernet/nxp/Kconfig index 0d9baf98a3b9..261f107e2be0 100644 --- a/drivers/net/ethernet/nxp/Kconfig +++ b/drivers/net/ethernet/nxp/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config LPC_ENET | 2 | config LPC_ENET |
| 2 | tristate "NXP ethernet MAC on LPC devices" | 3 | tristate "NXP ethernet MAC on LPC devices" |
| 3 | depends on ARCH_LPC32XX | 4 | depends on ARCH_LPC32XX |
diff --git a/drivers/net/ethernet/nxp/Makefile b/drivers/net/ethernet/nxp/Makefile index a128114e6895..cba6ddcc3934 100644 --- a/drivers/net/ethernet/nxp/Makefile +++ b/drivers/net/ethernet/nxp/Makefile | |||
| @@ -1 +1,2 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_LPC_ENET) += lpc_eth.o | 2 | obj-$(CONFIG_LPC_ENET) += lpc_eth.o |
diff --git a/drivers/net/ethernet/oki-semi/Kconfig b/drivers/net/ethernet/oki-semi/Kconfig index 5a975af4824b..1c455c645bce 100644 --- a/drivers/net/ethernet/oki-semi/Kconfig +++ b/drivers/net/ethernet/oki-semi/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # OKI Semiconductor device configuration | 3 | # OKI Semiconductor device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/oki-semi/Makefile b/drivers/net/ethernet/oki-semi/Makefile index b6780c877c19..b97baf9efb92 100644 --- a/drivers/net/ethernet/oki-semi/Makefile +++ b/drivers/net/ethernet/oki-semi/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the OKI Semiconductor device drivers. | 3 | # Makefile for the OKI Semiconductor device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/oki-semi/pch_gbe/Kconfig b/drivers/net/ethernet/oki-semi/pch_gbe/Kconfig index 5f7a35212796..69e11d19bdc6 100644 --- a/drivers/net/ethernet/oki-semi/pch_gbe/Kconfig +++ b/drivers/net/ethernet/oki-semi/pch_gbe/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # OKI Semiconductor device configuration | 3 | # OKI Semiconductor device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/oki-semi/pch_gbe/Makefile b/drivers/net/ethernet/oki-semi/pch_gbe/Makefile index 862de0f3bc41..c4762b3d124a 100644 --- a/drivers/net/ethernet/oki-semi/pch_gbe/Makefile +++ b/drivers/net/ethernet/oki-semi/pch_gbe/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_PCH_GBE) += pch_gbe.o | 2 | obj-$(CONFIG_PCH_GBE) += pch_gbe.o |
| 2 | 3 | ||
| 3 | pch_gbe-y := pch_gbe_phy.o pch_gbe_ethtool.o pch_gbe_param.o | 4 | pch_gbe-y := pch_gbe_phy.o pch_gbe_ethtool.o pch_gbe_param.o |
diff --git a/drivers/net/ethernet/packetengines/Kconfig b/drivers/net/ethernet/packetengines/Kconfig index 1df28f2edd1f..8161e308e64b 100644 --- a/drivers/net/ethernet/packetengines/Kconfig +++ b/drivers/net/ethernet/packetengines/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Packet engine device configuration | 3 | # Packet engine device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/packetengines/Makefile b/drivers/net/ethernet/packetengines/Makefile index 995ccd077d0c..1553c9cfc254 100644 --- a/drivers/net/ethernet/packetengines/Makefile +++ b/drivers/net/ethernet/packetengines/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Packet Engine network device drivers. | 3 | # Makefile for the Packet Engine network device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/pasemi/Kconfig b/drivers/net/ethernet/pasemi/Kconfig index 7c92e8306c19..f4562243d4a0 100644 --- a/drivers/net/ethernet/pasemi/Kconfig +++ b/drivers/net/ethernet/pasemi/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # PA Semi network device configuration | 3 | # PA Semi network device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/pasemi/Makefile b/drivers/net/ethernet/pasemi/Makefile index 90497ffb1ac3..f51e614a2539 100644 --- a/drivers/net/ethernet/pasemi/Makefile +++ b/drivers/net/ethernet/pasemi/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the A Semi network device drivers. | 3 | # Makefile for the A Semi network device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/qlogic/Kconfig b/drivers/net/ethernet/qlogic/Kconfig index 0ee2490db729..fdbb3ce00e20 100644 --- a/drivers/net/ethernet/qlogic/Kconfig +++ b/drivers/net/ethernet/qlogic/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # QLogic network device configuration | 3 | # QLogic network device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/qlogic/netxen/Makefile b/drivers/net/ethernet/qlogic/netxen/Makefile index e14e60c88381..d6e80b3ebbc9 100644 --- a/drivers/net/ethernet/qlogic/netxen/Makefile +++ b/drivers/net/ethernet/qlogic/netxen/Makefile | |||
| @@ -1,23 +1,7 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | # Copyright (C) 2003 - 2009 NetXen, Inc. | 2 | # Copyright (C) 2003 - 2009 NetXen, Inc. |
| 2 | # Copyright (C) 2009 - QLogic Corporation. | 3 | # Copyright (C) 2009 - QLogic Corporation. |
| 3 | # All rights reserved. | 4 | # All rights reserved. |
| 4 | # | ||
| 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 | # as published by the Free Software Foundation; either version 2 | ||
| 8 | # of the License, or (at your option) any later version. | ||
| 9 | # | ||
| 10 | # This program is distributed in the hope that it will be useful, but | ||
| 11 | # WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | # GNU General Public License for more details. | ||
| 14 | # | ||
| 15 | # You should have received a copy of the GNU General Public License | ||
| 16 | # along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 17 | # | ||
| 18 | # The full GNU General Public License is included in this distribution | ||
| 19 | # in the file called "COPYING". | ||
| 20 | # | ||
| 21 | # | 5 | # |
| 22 | 6 | ||
| 23 | 7 | ||
diff --git a/drivers/net/ethernet/qlogic/netxen/netxen_nic.h b/drivers/net/ethernet/qlogic/netxen/netxen_nic.h index 0a5e204a0179..3dce769d83a1 100644 --- a/drivers/net/ethernet/qlogic/netxen/netxen_nic.h +++ b/drivers/net/ethernet/qlogic/netxen/netxen_nic.h | |||
| @@ -1,24 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) 2003 - 2009 NetXen, Inc. | 3 | * Copyright (C) 2003 - 2009 NetXen, Inc. |
| 3 | * Copyright (C) 2009 - QLogic Corporation. | 4 | * Copyright (C) 2009 - QLogic Corporation. |
| 4 | * All rights reserved. | 5 | * All rights reserved. |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public License | ||
| 8 | * as published by the Free Software Foundation; either version 2 | ||
| 9 | * of the License, or (at your option) any later version. | ||
| 10 | * | ||
| 11 | * This program is distributed in the hope that it will be useful, but | ||
| 12 | * 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, see <http://www.gnu.org/licenses/>. | ||
| 18 | * | ||
| 19 | * The full GNU General Public License is included in this distribution | ||
| 20 | * in the file called "COPYING". | ||
| 21 | * | ||
| 22 | */ | 6 | */ |
| 23 | 7 | ||
| 24 | #ifndef _NETXEN_NIC_H_ | 8 | #ifndef _NETXEN_NIC_H_ |
diff --git a/drivers/net/ethernet/qlogic/netxen/netxen_nic_ctx.c b/drivers/net/ethernet/qlogic/netxen/netxen_nic_ctx.c index 7503aa222392..433052f734ed 100644 --- a/drivers/net/ethernet/qlogic/netxen/netxen_nic_ctx.c +++ b/drivers/net/ethernet/qlogic/netxen/netxen_nic_ctx.c | |||
| @@ -1,24 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) 2003 - 2009 NetXen, Inc. | 3 | * Copyright (C) 2003 - 2009 NetXen, Inc. |
| 3 | * Copyright (C) 2009 - QLogic Corporation. | 4 | * Copyright (C) 2009 - QLogic Corporation. |
| 4 | * All rights reserved. | 5 | * All rights reserved. |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public License | ||
| 8 | * as published by the Free Software Foundation; either version 2 | ||
| 9 | * of the License, or (at your option) any later version. | ||
| 10 | * | ||
| 11 | * This program is distributed in the hope that it will be useful, but | ||
| 12 | * 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, see <http://www.gnu.org/licenses/>. | ||
| 18 | * | ||
| 19 | * The full GNU General Public License is included in this distribution | ||
| 20 | * in the file called "COPYING". | ||
| 21 | * | ||
| 22 | */ | 6 | */ |
| 23 | 7 | ||
| 24 | #include "netxen_nic_hw.h" | 8 | #include "netxen_nic_hw.h" |
diff --git a/drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c b/drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c index 3c1be87cdfa5..6a2d91d58968 100644 --- a/drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c +++ b/drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c | |||
| @@ -1,24 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) 2003 - 2009 NetXen, Inc. | 3 | * Copyright (C) 2003 - 2009 NetXen, Inc. |
| 3 | * Copyright (C) 2009 - QLogic Corporation. | 4 | * Copyright (C) 2009 - QLogic Corporation. |
| 4 | * All rights reserved. | 5 | * All rights reserved. |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public License | ||
| 8 | * as published by the Free Software Foundation; either version 2 | ||
| 9 | * of the License, or (at your option) any later version. | ||
| 10 | * | ||
| 11 | * This program is distributed in the hope that it will be useful, but | ||
| 12 | * 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, see <http://www.gnu.org/licenses/>. | ||
| 18 | * | ||
| 19 | * The full GNU General Public License is included in this distribution | ||
| 20 | * in the file called "COPYING". | ||
| 21 | * | ||
| 22 | */ | 6 | */ |
| 23 | 7 | ||
| 24 | #include <linux/types.h> | 8 | #include <linux/types.h> |
diff --git a/drivers/net/ethernet/qlogic/netxen/netxen_nic_hdr.h b/drivers/net/ethernet/qlogic/netxen/netxen_nic_hdr.h index a310c2f6502a..09b33e1822a1 100644 --- a/drivers/net/ethernet/qlogic/netxen/netxen_nic_hdr.h +++ b/drivers/net/ethernet/qlogic/netxen/netxen_nic_hdr.h | |||
| @@ -1,24 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) 2003 - 2009 NetXen, Inc. | 3 | * Copyright (C) 2003 - 2009 NetXen, Inc. |
| 3 | * Copyright (C) 2009 - QLogic Corporation. | 4 | * Copyright (C) 2009 - QLogic Corporation. |
| 4 | * All rights reserved. | 5 | * All rights reserved. |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public License | ||
| 8 | * as published by the Free Software Foundation; either version 2 | ||
| 9 | * of the License, or (at your option) any later version. | ||
| 10 | * | ||
| 11 | * This program is distributed in the hope that it will be useful, but | ||
| 12 | * 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, see <http://www.gnu.org/licenses/>. | ||
| 18 | * | ||
| 19 | * The full GNU General Public License is included in this distribution | ||
| 20 | * in the file called "COPYING". | ||
| 21 | * | ||
| 22 | */ | 6 | */ |
| 23 | 7 | ||
| 24 | #ifndef __NETXEN_NIC_HDR_H_ | 8 | #ifndef __NETXEN_NIC_HDR_H_ |
diff --git a/drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c b/drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c index 52ad80621335..6e12cd21ac90 100644 --- a/drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c +++ b/drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c | |||
| @@ -1,24 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) 2003 - 2009 NetXen, Inc. | 3 | * Copyright (C) 2003 - 2009 NetXen, Inc. |
| 3 | * Copyright (C) 2009 - QLogic Corporation. | 4 | * Copyright (C) 2009 - QLogic Corporation. |
| 4 | * All rights reserved. | 5 | * All rights reserved. |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public License | ||
| 8 | * as published by the Free Software Foundation; either version 2 | ||
| 9 | * of the License, or (at your option) any later version. | ||
| 10 | * | ||
| 11 | * This program is distributed in the hope that it will be useful, but | ||
| 12 | * 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, see <http://www.gnu.org/licenses/>. | ||
| 18 | * | ||
| 19 | * The full GNU General Public License is included in this distribution | ||
| 20 | * in the file called "COPYING". | ||
| 21 | * | ||
| 22 | */ | 6 | */ |
| 23 | 7 | ||
| 24 | #include <linux/io-64-nonatomic-lo-hi.h> | 8 | #include <linux/io-64-nonatomic-lo-hi.h> |
diff --git a/drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.h b/drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.h index 7433c4d21601..de73766e1132 100644 --- a/drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.h +++ b/drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.h | |||
| @@ -1,24 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) 2003 - 2009 NetXen, Inc. | 3 | * Copyright (C) 2003 - 2009 NetXen, Inc. |
| 3 | * Copyright (C) 2009 - QLogic Corporation. | 4 | * Copyright (C) 2009 - QLogic Corporation. |
| 4 | * All rights reserved. | 5 | * All rights reserved. |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public License | ||
| 8 | * as published by the Free Software Foundation; either version 2 | ||
| 9 | * of the License, or (at your option) any later version. | ||
| 10 | * | ||
| 11 | * This program is distributed in the hope that it will be useful, but | ||
| 12 | * 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, see <http://www.gnu.org/licenses/>. | ||
| 18 | * | ||
| 19 | * The full GNU General Public License is included in this distribution | ||
| 20 | * in the file called "COPYING". | ||
| 21 | * | ||
| 22 | */ | 6 | */ |
| 23 | 7 | ||
| 24 | #ifndef __NETXEN_NIC_HW_H_ | 8 | #ifndef __NETXEN_NIC_HW_H_ |
diff --git a/drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c b/drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c index 6547a9dd5935..94546ed5f867 100644 --- a/drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c +++ b/drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c | |||
| @@ -1,24 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) 2003 - 2009 NetXen, Inc. | 3 | * Copyright (C) 2003 - 2009 NetXen, Inc. |
| 3 | * Copyright (C) 2009 - QLogic Corporation. | 4 | * Copyright (C) 2009 - QLogic Corporation. |
| 4 | * All rights reserved. | 5 | * All rights reserved. |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public License | ||
| 8 | * as published by the Free Software Foundation; either version 2 | ||
| 9 | * of the License, or (at your option) any later version. | ||
| 10 | * | ||
| 11 | * This program is distributed in the hope that it will be useful, but | ||
| 12 | * 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, see <http://www.gnu.org/licenses/>. | ||
| 18 | * | ||
| 19 | * The full GNU General Public License is included in this distribution | ||
| 20 | * in the file called "COPYING". | ||
| 21 | * | ||
| 22 | */ | 6 | */ |
| 23 | 7 | ||
| 24 | #include <linux/netdevice.h> | 8 | #include <linux/netdevice.h> |
diff --git a/drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c b/drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c index 7d9819d80e44..84cb62434556 100644 --- a/drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c +++ b/drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c | |||
| @@ -1,24 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) 2003 - 2009 NetXen, Inc. | 3 | * Copyright (C) 2003 - 2009 NetXen, Inc. |
| 3 | * Copyright (C) 2009 - QLogic Corporation. | 4 | * Copyright (C) 2009 - QLogic Corporation. |
| 4 | * All rights reserved. | 5 | * All rights reserved. |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public License | ||
| 8 | * as published by the Free Software Foundation; either version 2 | ||
| 9 | * of the License, or (at your option) any later version. | ||
| 10 | * | ||
| 11 | * This program is distributed in the hope that it will be useful, but | ||
| 12 | * 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, see <http://www.gnu.org/licenses/>. | ||
| 18 | * | ||
| 19 | * The full GNU General Public License is included in this distribution | ||
| 20 | * in the file called "COPYING". | ||
| 21 | * | ||
| 22 | */ | 6 | */ |
| 23 | 7 | ||
| 24 | #include <linux/slab.h> | 8 | #include <linux/slab.h> |
diff --git a/drivers/net/ethernet/qlogic/qede/Makefile b/drivers/net/ethernet/qlogic/qede/Makefile index 75408fbb7680..3fc91d12413f 100644 --- a/drivers/net/ethernet/qlogic/qede/Makefile +++ b/drivers/net/ethernet/qlogic/qede/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_QEDE) := qede.o | 2 | obj-$(CONFIG_QEDE) := qede.o |
| 2 | 3 | ||
| 3 | qede-y := qede_main.o qede_fp.o qede_filter.o qede_ethtool.o qede_ptp.o | 4 | qede-y := qede_main.o qede_fp.o qede_filter.o qede_ethtool.o qede_ptp.o |
diff --git a/drivers/net/ethernet/qlogic/qlge/Makefile b/drivers/net/ethernet/qlogic/qlge/Makefile index 8a197658d76f..1dc2568e820c 100644 --- a/drivers/net/ethernet/qlogic/qlge/Makefile +++ b/drivers/net/ethernet/qlogic/qlge/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Qlogic 10GbE PCI Express ethernet driver | 3 | # Makefile for the Qlogic 10GbE PCI Express ethernet driver |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/qualcomm/Kconfig b/drivers/net/ethernet/qualcomm/Kconfig index f5200712718d..09a678a94634 100644 --- a/drivers/net/ethernet/qualcomm/Kconfig +++ b/drivers/net/ethernet/qualcomm/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Qualcomm network device configuration | 3 | # Qualcomm network device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/qualcomm/emac/Makefile b/drivers/net/ethernet/qualcomm/emac/Makefile index fc57cedf4c0c..61d15e091be2 100644 --- a/drivers/net/ethernet/qualcomm/emac/Makefile +++ b/drivers/net/ethernet/qualcomm/emac/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Qualcomm Technologies, Inc. EMAC Gigabit Ethernet driver | 3 | # Makefile for the Qualcomm Technologies, Inc. EMAC Gigabit Ethernet driver |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/qualcomm/rmnet/Kconfig b/drivers/net/ethernet/qualcomm/rmnet/Kconfig index 9bb06d284644..9f9279575e2e 100644 --- a/drivers/net/ethernet/qualcomm/rmnet/Kconfig +++ b/drivers/net/ethernet/qualcomm/rmnet/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # RMNET MAP driver | 3 | # RMNET MAP driver |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/qualcomm/rmnet/Makefile b/drivers/net/ethernet/qualcomm/rmnet/Makefile index 01bddf207cac..8252e40bf570 100644 --- a/drivers/net/ethernet/qualcomm/rmnet/Makefile +++ b/drivers/net/ethernet/qualcomm/rmnet/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the RMNET module | 3 | # Makefile for the RMNET module |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/rdc/Kconfig b/drivers/net/ethernet/rdc/Kconfig index a9c4e990d29b..76df60c2f4ac 100644 --- a/drivers/net/ethernet/rdc/Kconfig +++ b/drivers/net/ethernet/rdc/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # RDC network device configuration | 3 | # RDC network device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/rdc/Makefile b/drivers/net/ethernet/rdc/Makefile index 8d51fd2d07fc..807465483f1c 100644 --- a/drivers/net/ethernet/rdc/Makefile +++ b/drivers/net/ethernet/rdc/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the RDC network device drivers. | 3 | # Makefile for the RDC network device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/rdc/r6040.c b/drivers/net/ethernet/rdc/r6040.c index ad335bca3273..274e5b4bc4ac 100644 --- a/drivers/net/ethernet/rdc/r6040.c +++ b/drivers/net/ethernet/rdc/r6040.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * RDC R6040 Fast Ethernet MAC support | 3 | * RDC R6040 Fast Ethernet MAC support |
| 3 | * | 4 | * |
| @@ -5,21 +6,6 @@ | |||
| 5 | * Copyright (C) 2007 | 6 | * Copyright (C) 2007 |
| 6 | * Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> | 7 | * Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> |
| 7 | * Copyright (C) 2007-2012 Florian Fainelli <f.fainelli@gmail.com> | 8 | * Copyright (C) 2007-2012 Florian Fainelli <f.fainelli@gmail.com> |
| 8 | * | ||
| 9 | * This program is free software; you can redistribute it and/or | ||
| 10 | * modify it under the terms of the GNU General Public License | ||
| 11 | * as published by the Free Software Foundation; either version 2 | ||
| 12 | * of the License, or (at your option) any later version. | ||
| 13 | * | ||
| 14 | * This program is distributed in the hope that it will be useful, | ||
| 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 17 | * GNU General Public License for more details. | ||
| 18 | * | ||
| 19 | * You should have received a copy of the GNU General Public License | ||
| 20 | * along with this program; if not, write to the | ||
| 21 | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 22 | * Boston, MA 02110-1301, USA. | ||
| 23 | */ | 9 | */ |
| 24 | 10 | ||
| 25 | #include <linux/kernel.h> | 11 | #include <linux/kernel.h> |
diff --git a/drivers/net/ethernet/realtek/Kconfig b/drivers/net/ethernet/realtek/Kconfig index 96d1b9c08f1a..b18e7a91d5cd 100644 --- a/drivers/net/ethernet/realtek/Kconfig +++ b/drivers/net/ethernet/realtek/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Realtek device configuration | 3 | # Realtek device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/realtek/Makefile b/drivers/net/ethernet/realtek/Makefile index 71b1da30ecb5..33be8c5ad0c9 100644 --- a/drivers/net/ethernet/realtek/Makefile +++ b/drivers/net/ethernet/realtek/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Realtek network device drivers. | 3 | # Makefile for the Realtek network device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c index 2e20334b76a1..8e404186ef87 100644 --- a/drivers/net/ethernet/realtek/r8169.c +++ b/drivers/net/ethernet/realtek/r8169.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * r8169.c: RealTek 8169/8168/8101 ethernet driver. | 3 | * r8169.c: RealTek 8169/8168/8101 ethernet driver. |
| 3 | * | 4 | * |
diff --git a/drivers/net/ethernet/rocker/Kconfig b/drivers/net/ethernet/rocker/Kconfig index b9952ef040e4..1083de99830d 100644 --- a/drivers/net/ethernet/rocker/Kconfig +++ b/drivers/net/ethernet/rocker/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Rocker device configuration | 3 | # Rocker device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/rocker/Makefile b/drivers/net/ethernet/rocker/Makefile index faa36acee223..6e0a363ac148 100644 --- a/drivers/net/ethernet/rocker/Makefile +++ b/drivers/net/ethernet/rocker/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Rocker network device drivers. | 3 | # Makefile for the Rocker network device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/samsung/Kconfig b/drivers/net/ethernet/samsung/Kconfig index fbd5e06654c6..027938017579 100644 --- a/drivers/net/ethernet/samsung/Kconfig +++ b/drivers/net/ethernet/samsung/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Samsung Ethernet device configuration | 3 | # Samsung Ethernet device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/samsung/Makefile b/drivers/net/ethernet/samsung/Makefile index 1773c29b8d76..f94faecc2a0b 100644 --- a/drivers/net/ethernet/samsung/Makefile +++ b/drivers/net/ethernet/samsung/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Samsung Ethernet device drivers. | 3 | # Makefile for the Samsung Ethernet device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/samsung/sxgbe/Makefile b/drivers/net/ethernet/samsung/sxgbe/Makefile index 31e968561d5c..b7e29d08874c 100644 --- a/drivers/net/ethernet/samsung/sxgbe/Makefile +++ b/drivers/net/ethernet/samsung/sxgbe/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_SXGBE_ETH) += samsung-sxgbe.o | 2 | obj-$(CONFIG_SXGBE_ETH) += samsung-sxgbe.o |
| 2 | samsung-sxgbe-objs:= sxgbe_platform.o sxgbe_main.o sxgbe_desc.o \ | 3 | samsung-sxgbe-objs:= sxgbe_platform.o sxgbe_main.o sxgbe_desc.o \ |
| 3 | sxgbe_dma.o sxgbe_core.o sxgbe_mtl.o sxgbe_mdio.o \ | 4 | sxgbe_dma.o sxgbe_core.o sxgbe_mtl.o sxgbe_mdio.o \ |
diff --git a/drivers/net/ethernet/seeq/Kconfig b/drivers/net/ethernet/seeq/Kconfig index 69c62d89295e..f3ac9cba5770 100644 --- a/drivers/net/ethernet/seeq/Kconfig +++ b/drivers/net/ethernet/seeq/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # SEEQ device configuration | 3 | # SEEQ device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/seeq/Makefile b/drivers/net/ethernet/seeq/Makefile index 0488e99b831f..02aad7869fa5 100644 --- a/drivers/net/ethernet/seeq/Makefile +++ b/drivers/net/ethernet/seeq/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the SEEQ network device drivers | 3 | # Makefile for the SEEQ network device drivers |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/seeq/sgiseeq.c b/drivers/net/ethernet/seeq/sgiseeq.c index 696037d5ac3d..7a5e6c5abb57 100644 --- a/drivers/net/ethernet/seeq/sgiseeq.c +++ b/drivers/net/ethernet/seeq/sgiseeq.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * sgiseeq.c: Seeq8003 ethernet driver for SGI machines. | 3 | * sgiseeq.c: Seeq8003 ethernet driver for SGI machines. |
| 3 | * | 4 | * |
diff --git a/drivers/net/ethernet/sfc/Kconfig b/drivers/net/ethernet/sfc/Kconfig index 2c032629c369..5f36774bf4b8 100644 --- a/drivers/net/ethernet/sfc/Kconfig +++ b/drivers/net/ethernet/sfc/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Solarflare device configuration | 3 | # Solarflare device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/sfc/falcon/Kconfig b/drivers/net/ethernet/sfc/falcon/Kconfig index 6248e96253a2..20e361950f7d 100644 --- a/drivers/net/ethernet/sfc/falcon/Kconfig +++ b/drivers/net/ethernet/sfc/falcon/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config SFC_FALCON | 2 | config SFC_FALCON |
| 2 | tristate "Solarflare SFC4000 support" | 3 | tristate "Solarflare SFC4000 support" |
| 3 | depends on PCI | 4 | depends on PCI |
diff --git a/drivers/net/ethernet/sgi/Kconfig b/drivers/net/ethernet/sgi/Kconfig index fbbb21c13e95..37f048e1230c 100644 --- a/drivers/net/ethernet/sgi/Kconfig +++ b/drivers/net/ethernet/sgi/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # SGI device configuration | 3 | # SGI device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/sgi/Makefile b/drivers/net/ethernet/sgi/Makefile index e5bedd271e29..68eefbcf50b8 100644 --- a/drivers/net/ethernet/sgi/Makefile +++ b/drivers/net/ethernet/sgi/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the SGI device drivers. | 3 | # Makefile for the SGI device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/silan/Kconfig b/drivers/net/ethernet/silan/Kconfig index ac982be38510..71929d148c3c 100644 --- a/drivers/net/ethernet/silan/Kconfig +++ b/drivers/net/ethernet/silan/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Silan device configuration | 3 | # Silan device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/silan/Makefile b/drivers/net/ethernet/silan/Makefile index 4ad3523dcb92..86f716f0f582 100644 --- a/drivers/net/ethernet/silan/Makefile +++ b/drivers/net/ethernet/silan/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Silan network device drivers. | 3 | # Makefile for the Silan network device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/silan/sc92031.c b/drivers/net/ethernet/silan/sc92031.c index 02b3962b0e63..c7641a236eb8 100644 --- a/drivers/net/ethernet/silan/sc92031.c +++ b/drivers/net/ethernet/silan/sc92031.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* Silan SC92031 PCI Fast Ethernet Adapter driver | 2 | /* Silan SC92031 PCI Fast Ethernet Adapter driver |
| 2 | * | 3 | * |
| 3 | * Based on vendor drivers: | 4 | * Based on vendor drivers: |
diff --git a/drivers/net/ethernet/sis/Kconfig b/drivers/net/ethernet/sis/Kconfig index 22ec98ec9d3e..d848ab0349a7 100644 --- a/drivers/net/ethernet/sis/Kconfig +++ b/drivers/net/ethernet/sis/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Silicon Integrated Systems (SiS) device configuration | 3 | # Silicon Integrated Systems (SiS) device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/sis/Makefile b/drivers/net/ethernet/sis/Makefile index 58d3ac1985df..853407bce343 100644 --- a/drivers/net/ethernet/sis/Makefile +++ b/drivers/net/ethernet/sis/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for Silicon Integrated Systems (SiS) network device drivers. | 3 | # Makefile for Silicon Integrated Systems (SiS) network device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/smsc/Kconfig b/drivers/net/ethernet/smsc/Kconfig index 79612060d0ba..d1b6a78557ec 100644 --- a/drivers/net/ethernet/smsc/Kconfig +++ b/drivers/net/ethernet/smsc/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Western Digital/SMC network device configuration | 3 | # Western Digital/SMC network device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/smsc/smc911x.c b/drivers/net/ethernet/smsc/smc911x.c index b550e624500d..bd14803545de 100644 --- a/drivers/net/ethernet/smsc/smc911x.c +++ b/drivers/net/ethernet/smsc/smc911x.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * smc911x.c | 3 | * smc911x.c |
| 3 | * This is a driver for SMSC's LAN911{5,6,7,8} single-chip Ethernet devices. | 4 | * This is a driver for SMSC's LAN911{5,6,7,8} single-chip Ethernet devices. |
| @@ -6,19 +7,6 @@ | |||
| 6 | * Derived from the unified SMC91x driver by Nicolas Pitre | 7 | * Derived from the unified SMC91x driver by Nicolas Pitre |
| 7 | * and the smsc911x.c reference driver by SMSC | 8 | * and the smsc911x.c reference driver by SMSC |
| 8 | * | 9 | * |
| 9 | * This program is free software; you can redistribute it and/or modify | ||
| 10 | * it under the terms of the GNU General Public License as published by | ||
| 11 | * the Free Software Foundation; either version 2 of the License, or | ||
| 12 | * (at your option) any later version. | ||
| 13 | * | ||
| 14 | * This program is distributed in the hope that it will be useful, | ||
| 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 17 | * GNU General Public License for more details. | ||
| 18 | * | ||
| 19 | * You should have received a copy of the GNU General Public License | ||
| 20 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 21 | * | ||
| 22 | * Arguments: | 10 | * Arguments: |
| 23 | * watchdog = TX watchdog timeout | 11 | * watchdog = TX watchdog timeout |
| 24 | * tx_fifo_kb = Size of TX FIFO in KB | 12 | * tx_fifo_kb = Size of TX FIFO in KB |
diff --git a/drivers/net/ethernet/smsc/smc911x.h b/drivers/net/ethernet/smsc/smc911x.h index fa528ea0ea51..d4edcc0da87c 100644 --- a/drivers/net/ethernet/smsc/smc911x.h +++ b/drivers/net/ethernet/smsc/smc911x.h | |||
| @@ -1,21 +1,10 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /*------------------------------------------------------------------------ | 2 | /*------------------------------------------------------------------------ |
| 2 | . smc911x.h - macros for SMSC's LAN911{5,6,7,8} single-chip Ethernet device. | 3 | . smc911x.h - macros for SMSC's LAN911{5,6,7,8} single-chip Ethernet device. |
| 3 | . | 4 | . |
| 4 | . Copyright (C) 2005 Sensoria Corp. | 5 | . Copyright (C) 2005 Sensoria Corp. |
| 5 | . Derived from the unified SMC91x driver by Nicolas Pitre | 6 | . Derived from the unified SMC91x driver by Nicolas Pitre |
| 6 | . | 7 | . |
| 7 | . This program is free software; you can redistribute it and/or modify | ||
| 8 | . it under the terms of the GNU General Public License as published by | ||
| 9 | . the Free Software Foundation; either version 2 of the License, or | ||
| 10 | . (at your option) any later version. | ||
| 11 | . | ||
| 12 | . This program is distributed in the hope that it will be useful, | ||
| 13 | . but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | . MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | . GNU General Public License for more details. | ||
| 16 | . | ||
| 17 | . You should have received a copy of the GNU General Public License | ||
| 18 | . along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 19 | . | 8 | . |
| 20 | . Information contained in this file was obtained from the LAN9118 | 9 | . Information contained in this file was obtained from the LAN9118 |
| 21 | . manual from SMC. To get a copy, if you really want one, you can find | 10 | . manual from SMC. To get a copy, if you really want one, you can find |
diff --git a/drivers/net/ethernet/smsc/smc91x.c b/drivers/net/ethernet/smsc/smc91x.c index 4823b6a51134..601e76ad99a0 100644 --- a/drivers/net/ethernet/smsc/smc91x.c +++ b/drivers/net/ethernet/smsc/smc91x.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * smc91x.c | 3 | * smc91x.c |
| 3 | * This is a driver for SMSC's 91C9x/91C1xx single-chip Ethernet devices. | 4 | * This is a driver for SMSC's 91C9x/91C1xx single-chip Ethernet devices. |
| @@ -8,19 +9,6 @@ | |||
| 8 | * Copyright (C) 2003 Monta Vista Software, Inc. | 9 | * Copyright (C) 2003 Monta Vista Software, Inc. |
| 9 | * Unified SMC91x driver by Nicolas Pitre | 10 | * Unified SMC91x driver by Nicolas Pitre |
| 10 | * | 11 | * |
| 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, see <http://www.gnu.org/licenses/>. | ||
| 23 | * | ||
| 24 | * Arguments: | 12 | * Arguments: |
| 25 | * io = for the base address | 13 | * io = for the base address |
| 26 | * irq = for the IRQ | 14 | * irq = for the IRQ |
diff --git a/drivers/net/ethernet/smsc/smc91x.h b/drivers/net/ethernet/smsc/smc91x.h index a27352229fc2..387539a8094b 100644 --- a/drivers/net/ethernet/smsc/smc91x.h +++ b/drivers/net/ethernet/smsc/smc91x.h | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /*------------------------------------------------------------------------ | 2 | /*------------------------------------------------------------------------ |
| 2 | . smc91x.h - macros for SMSC's 91C9x/91C1xx single-chip Ethernet device. | 3 | . smc91x.h - macros for SMSC's 91C9x/91C1xx single-chip Ethernet device. |
| 3 | . | 4 | . |
| @@ -7,18 +8,6 @@ | |||
| 7 | . Copyright (C) 2003 Monta Vista Software, Inc. | 8 | . Copyright (C) 2003 Monta Vista Software, Inc. |
| 8 | . Unified SMC91x driver by Nicolas Pitre | 9 | . Unified SMC91x driver by Nicolas Pitre |
| 9 | . | 10 | . |
| 10 | . This program is free software; you can redistribute it and/or modify | ||
| 11 | . it under the terms of the GNU General Public License as published by | ||
| 12 | . the Free Software Foundation; either version 2 of the License, or | ||
| 13 | . (at your option) any later version. | ||
| 14 | . | ||
| 15 | . This program is distributed in the hope that it will be useful, | ||
| 16 | . but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 17 | . MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 18 | . GNU General Public License for more details. | ||
| 19 | . | ||
| 20 | . You should have received a copy of the GNU General Public License | ||
| 21 | . along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 22 | . | 11 | . |
| 23 | . Information contained in this file was obtained from the LAN91C111 | 12 | . Information contained in this file was obtained from the LAN91C111 |
| 24 | . manual from SMC. To get a copy, if you really want one, you can find | 13 | . manual from SMC. To get a copy, if you really want one, you can find |
diff --git a/drivers/net/ethernet/smsc/smsc911x.c b/drivers/net/ethernet/smsc/smsc911x.c index 99a5a8a7c777..38068fc34141 100644 --- a/drivers/net/ethernet/smsc/smsc911x.c +++ b/drivers/net/ethernet/smsc/smsc911x.c | |||
| @@ -1,21 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /*************************************************************************** | 2 | /*************************************************************************** |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2004-2008 SMSC | 4 | * Copyright (C) 2004-2008 SMSC |
| 4 | * Copyright (C) 2005-2008 ARM | 5 | * Copyright (C) 2005-2008 ARM |
| 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 | ||
| 8 | * as published by the Free Software Foundation; either version 2 | ||
| 9 | * of the License, or (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, see <http://www.gnu.org/licenses/>. | ||
| 18 | * | ||
| 19 | *************************************************************************** | 7 | *************************************************************************** |
| 20 | * Rewritten, heavily based on smsc911x simple driver by SMSC. | 8 | * Rewritten, heavily based on smsc911x simple driver by SMSC. |
| 21 | * Partly uses io macros from smc91x.c by Nicolas Pitre | 9 | * Partly uses io macros from smc91x.c by Nicolas Pitre |
| @@ -26,7 +14,6 @@ | |||
| 26 | * LAN9210, LAN9211 | 14 | * LAN9210, LAN9211 |
| 27 | * LAN9220, LAN9221 | 15 | * LAN9220, LAN9221 |
| 28 | * LAN89218,LAN9250 | 16 | * LAN89218,LAN9250 |
| 29 | * | ||
| 30 | */ | 17 | */ |
| 31 | 18 | ||
| 32 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 19 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/drivers/net/ethernet/smsc/smsc911x.h b/drivers/net/ethernet/smsc/smsc911x.h index 51b2fc1a395f..09b46382b364 100644 --- a/drivers/net/ethernet/smsc/smsc911x.h +++ b/drivers/net/ethernet/smsc/smsc911x.h | |||
| @@ -1,21 +1,9 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /*************************************************************************** | 2 | /*************************************************************************** |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2004-2008 SMSC | 4 | * Copyright (C) 2004-2008 SMSC |
| 4 | * Copyright (C) 2005-2008 ARM | 5 | * Copyright (C) 2005-2008 ARM |
| 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 | ||
| 8 | * as published by the Free Software Foundation; either version 2 | ||
| 9 | * of the License, or (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, see <http://www.gnu.org/licenses/>. | ||
| 18 | * | ||
| 19 | ***************************************************************************/ | 7 | ***************************************************************************/ |
| 20 | #ifndef __SMSC911X_H__ | 8 | #ifndef __SMSC911X_H__ |
| 21 | #define __SMSC911X_H__ | 9 | #define __SMSC911X_H__ |
diff --git a/drivers/net/ethernet/smsc/smsc9420.c b/drivers/net/ethernet/smsc/smsc9420.c index 9b6366b20110..a6962a41c3d2 100644 --- a/drivers/net/ethernet/smsc/smsc9420.c +++ b/drivers/net/ethernet/smsc/smsc9420.c | |||
| @@ -1,20 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /*************************************************************************** | 2 | /*************************************************************************** |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2007,2008 SMSC | 4 | * Copyright (C) 2007,2008 SMSC |
| 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 | * as published by the Free Software Foundation; either version 2 | ||
| 8 | * of the License, or (at your option) any later version. | ||
| 9 | * | ||
| 10 | * This program is distributed in the hope that it will be useful, | ||
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | * GNU General Public License for more details. | ||
| 14 | * | ||
| 15 | * You should have received a copy of the GNU General Public License | ||
| 16 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 17 | * | ||
| 18 | *************************************************************************** | 6 | *************************************************************************** |
| 19 | */ | 7 | */ |
| 20 | 8 | ||
diff --git a/drivers/net/ethernet/smsc/smsc9420.h b/drivers/net/ethernet/smsc/smsc9420.h index c63c76381af6..409e82b2018a 100644 --- a/drivers/net/ethernet/smsc/smsc9420.h +++ b/drivers/net/ethernet/smsc/smsc9420.h | |||
| @@ -1,20 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /*************************************************************************** | 2 | /*************************************************************************** |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2007,2008 SMSC | 4 | * Copyright (C) 2007,2008 SMSC |
| 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 | * as published by the Free Software Foundation; either version 2 | ||
| 8 | * of the License, or (at your option) any later version. | ||
| 9 | * | ||
| 10 | * This program is distributed in the hope that it will be useful, | ||
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | * GNU General Public License for more details. | ||
| 14 | * | ||
| 15 | * You should have received a copy of the GNU General Public License | ||
| 16 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 17 | * | ||
| 18 | *************************************************************************** | 6 | *************************************************************************** |
| 19 | */ | 7 | */ |
| 20 | 8 | ||
diff --git a/drivers/net/ethernet/socionext/Kconfig b/drivers/net/ethernet/socionext/Kconfig index b80048ca82a0..25f18be27423 100644 --- a/drivers/net/ethernet/socionext/Kconfig +++ b/drivers/net/ethernet/socionext/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config NET_VENDOR_SOCIONEXT | 2 | config NET_VENDOR_SOCIONEXT |
| 2 | bool "Socionext ethernet drivers" | 3 | bool "Socionext ethernet drivers" |
| 3 | default y | 4 | default y |
diff --git a/drivers/net/ethernet/stmicro/Kconfig b/drivers/net/ethernet/stmicro/Kconfig index ecd7a5edef5d..39ef86360417 100644 --- a/drivers/net/ethernet/stmicro/Kconfig +++ b/drivers/net/ethernet/stmicro/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # STMicroelectronics device configuration | 3 | # STMicroelectronics device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/stmicro/Makefile b/drivers/net/ethernet/stmicro/Makefile index 9b3bfddda7dd..72fd1f6ab9b2 100644 --- a/drivers/net/ethernet/stmicro/Makefile +++ b/drivers/net/ethernet/stmicro/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the STMicroelectronics device drivers. | 3 | # Makefile for the STMicroelectronics device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/stmicro/stmmac/Kconfig b/drivers/net/ethernet/stmicro/stmmac/Kconfig index f194235153f9..06545d7399fc 100644 --- a/drivers/net/ethernet/stmicro/stmmac/Kconfig +++ b/drivers/net/ethernet/stmicro/stmmac/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config STMMAC_ETH | 2 | config STMMAC_ETH |
| 2 | tristate "STMicroelectronics 10/100/1000/EQOS Ethernet driver" | 3 | tristate "STMicroelectronics 10/100/1000/EQOS Ethernet driver" |
| 3 | depends on HAS_IOMEM && HAS_DMA | 4 | depends on HAS_IOMEM && HAS_DMA |
diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-anarion.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-anarion.c index 85ce80c600c7..6ce3a7fb41ab 100644 --- a/drivers/net/ethernet/stmicro/stmmac/dwmac-anarion.c +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-anarion.c | |||
| @@ -1,9 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Adaptrum Anarion DWMAC glue layer | 3 | * Adaptrum Anarion DWMAC glue layer |
| 3 | * | 4 | * |
| 4 | * Copyright (C) 2017, Adaptrum, Inc. | 5 | * Copyright (C) 2017, Adaptrum, Inc. |
| 5 | * (Written by Alexandru Gagniuc <alex.g at adaptrum.com> for Adaptrum, Inc.) | 6 | * (Written by Alexandru Gagniuc <alex.g at adaptrum.com> for Adaptrum, Inc.) |
| 6 | * Licensed under the GPLv2 or (at your option) any later version. | ||
| 7 | */ | 7 | */ |
| 8 | 8 | ||
| 9 | #include <linux/io.h> | 9 | #include <linux/io.h> |
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c index 3c749c327cbd..e09522c5509a 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c | |||
| @@ -460,7 +460,7 @@ stmmac_get_pauseparam(struct net_device *netdev, | |||
| 460 | } else { | 460 | } else { |
| 461 | if (!linkmode_test_bit(ETHTOOL_LINK_MODE_Pause_BIT, | 461 | if (!linkmode_test_bit(ETHTOOL_LINK_MODE_Pause_BIT, |
| 462 | netdev->phydev->supported) || | 462 | netdev->phydev->supported) || |
| 463 | linkmode_test_bit(ETHTOOL_LINK_MODE_Asym_Pause_BIT, | 463 | !linkmode_test_bit(ETHTOOL_LINK_MODE_Asym_Pause_BIT, |
| 464 | netdev->phydev->supported)) | 464 | netdev->phydev->supported)) |
| 465 | return; | 465 | return; |
| 466 | } | 466 | } |
| @@ -491,7 +491,7 @@ stmmac_set_pauseparam(struct net_device *netdev, | |||
| 491 | } else { | 491 | } else { |
| 492 | if (!linkmode_test_bit(ETHTOOL_LINK_MODE_Pause_BIT, | 492 | if (!linkmode_test_bit(ETHTOOL_LINK_MODE_Pause_BIT, |
| 493 | phy->supported) || | 493 | phy->supported) || |
| 494 | linkmode_test_bit(ETHTOOL_LINK_MODE_Asym_Pause_BIT, | 494 | !linkmode_test_bit(ETHTOOL_LINK_MODE_Asym_Pause_BIT, |
| 495 | phy->supported)) | 495 | phy->supported)) |
| 496 | return -EOPNOTSUPP; | 496 | return -EOPNOTSUPP; |
| 497 | } | 497 | } |
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c index 5678b869cbff..2a1052704885 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | |||
| @@ -2208,6 +2208,10 @@ static int stmmac_init_dma_engine(struct stmmac_priv *priv) | |||
| 2208 | if (priv->plat->axi) | 2208 | if (priv->plat->axi) |
| 2209 | stmmac_axi(priv, priv->ioaddr, priv->plat->axi); | 2209 | stmmac_axi(priv, priv->ioaddr, priv->plat->axi); |
| 2210 | 2210 | ||
| 2211 | /* DMA CSR Channel configuration */ | ||
| 2212 | for (chan = 0; chan < dma_csr_ch; chan++) | ||
| 2213 | stmmac_init_chan(priv, priv->ioaddr, priv->plat->dma_cfg, chan); | ||
| 2214 | |||
| 2211 | /* DMA RX Channel Configuration */ | 2215 | /* DMA RX Channel Configuration */ |
| 2212 | for (chan = 0; chan < rx_channels_count; chan++) { | 2216 | for (chan = 0; chan < rx_channels_count; chan++) { |
| 2213 | rx_q = &priv->rx_queue[chan]; | 2217 | rx_q = &priv->rx_queue[chan]; |
| @@ -2233,10 +2237,6 @@ static int stmmac_init_dma_engine(struct stmmac_priv *priv) | |||
| 2233 | tx_q->tx_tail_addr, chan); | 2237 | tx_q->tx_tail_addr, chan); |
| 2234 | } | 2238 | } |
| 2235 | 2239 | ||
| 2236 | /* DMA CSR Channel configuration */ | ||
| 2237 | for (chan = 0; chan < dma_csr_ch; chan++) | ||
| 2238 | stmmac_init_chan(priv, priv->ioaddr, priv->plat->dma_cfg, chan); | ||
| 2239 | |||
| 2240 | return ret; | 2240 | return ret; |
| 2241 | } | 2241 | } |
| 2242 | 2242 | ||
diff --git a/drivers/net/ethernet/synopsys/Kconfig b/drivers/net/ethernet/synopsys/Kconfig index a9503884e1c2..9e199772c1d7 100644 --- a/drivers/net/ethernet/synopsys/Kconfig +++ b/drivers/net/ethernet/synopsys/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Synopsys network device configuration | 3 | # Synopsys network device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/tehuti/Kconfig b/drivers/net/ethernet/tehuti/Kconfig index b17f0ca3f395..8ad1526f4bdd 100644 --- a/drivers/net/ethernet/tehuti/Kconfig +++ b/drivers/net/ethernet/tehuti/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Tehuti network device configuration | 3 | # Tehuti network device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/tehuti/Makefile b/drivers/net/ethernet/tehuti/Makefile index f995421ddbc8..13a0ddd62088 100644 --- a/drivers/net/ethernet/tehuti/Makefile +++ b/drivers/net/ethernet/tehuti/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Tehuti network device drivers. | 3 | # Makefile for the Tehuti network device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/ti/Kconfig b/drivers/net/ethernet/ti/Kconfig index afbdc9744230..bd05a977ee7e 100644 --- a/drivers/net/ethernet/ti/Kconfig +++ b/drivers/net/ethernet/ti/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # TI device configuration | 3 | # TI device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/toshiba/Kconfig b/drivers/net/ethernet/toshiba/Kconfig index 6f1d5b623768..9ccdf032404e 100644 --- a/drivers/net/ethernet/toshiba/Kconfig +++ b/drivers/net/ethernet/toshiba/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Toshiba network device configuration | 3 | # Toshiba network device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/tundra/Kconfig b/drivers/net/ethernet/tundra/Kconfig index 81d845e4e23b..5c909df0c3b9 100644 --- a/drivers/net/ethernet/tundra/Kconfig +++ b/drivers/net/ethernet/tundra/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Tundra network device configuration | 3 | # Tundra network device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/tundra/Makefile b/drivers/net/ethernet/tundra/Makefile index 439f6930235b..78fee6b5b665 100644 --- a/drivers/net/ethernet/tundra/Makefile +++ b/drivers/net/ethernet/tundra/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Tundra network device drivers. | 3 | # Makefile for the Tundra network device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/tundra/tsi108_eth.h b/drivers/net/ethernet/tundra/tsi108_eth.h index 4a03c594b2b1..00980fdf0323 100644 --- a/drivers/net/ethernet/tundra/tsi108_eth.h +++ b/drivers/net/ethernet/tundra/tsi108_eth.h | |||
| @@ -1,22 +1,10 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * (C) Copyright 2005 Tundra Semiconductor Corp. | 3 | * (C) Copyright 2005 Tundra Semiconductor Corp. |
| 3 | * Kong Lai, <kong.lai@tundra.com). | 4 | * Kong Lai, <kong.lai@tundra.com). |
| 4 | * | 5 | * |
| 5 | * See file CREDITS for list of people who contributed to this | 6 | * See file CREDITS for list of people who contributed to this |
| 6 | * project. | 7 | * project. |
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or | ||
| 9 | * modify it under the terms of the GNU General Public License as | ||
| 10 | * published by the Free Software Foundation; either version 2 of | ||
| 11 | * the License, or (at your option) any later version. | ||
| 12 | * | ||
| 13 | * This program is distributed in the hope that it will be useful, | ||
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public License | ||
| 19 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 20 | */ | 8 | */ |
| 21 | 9 | ||
| 22 | /* | 10 | /* |
diff --git a/drivers/net/ethernet/via/Kconfig b/drivers/net/ethernet/via/Kconfig index d3d094742a7e..a962097b58c6 100644 --- a/drivers/net/ethernet/via/Kconfig +++ b/drivers/net/ethernet/via/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # VIA device configuration | 3 | # VIA device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/via/Makefile b/drivers/net/ethernet/via/Makefile index 46c5d4a3d8f1..4ca40f9739b5 100644 --- a/drivers/net/ethernet/via/Makefile +++ b/drivers/net/ethernet/via/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the VIA device drivers. | 3 | # Makefile for the VIA device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/via/via-velocity.c b/drivers/net/ethernet/via/via-velocity.c index 27f6cf140845..346e44115c4e 100644 --- a/drivers/net/ethernet/via/via-velocity.c +++ b/drivers/net/ethernet/via/via-velocity.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * This code is derived from the VIA reference driver (copyright message | 3 | * This code is derived from the VIA reference driver (copyright message |
| 3 | * below) provided to Red Hat by VIA Networking Technologies, Inc. for | 4 | * below) provided to Red Hat by VIA Networking Technologies, Inc. for |
| @@ -24,22 +25,11 @@ | |||
| 24 | * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc. | 25 | * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc. |
| 25 | * All rights reserved. | 26 | * All rights reserved. |
| 26 | * | 27 | * |
| 27 | * This software may be redistributed and/or modified under | ||
| 28 | * the terms of the GNU General Public License as published by the Free | ||
| 29 | * Software Foundation; either version 2 of the License, or | ||
| 30 | * any later version. | ||
| 31 | * | ||
| 32 | * This program is distributed in the hope that it will be useful, but | ||
| 33 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | ||
| 34 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | ||
| 35 | * for more details. | ||
| 36 | * | ||
| 37 | * Author: Chuang Liang-Shing, AJ Jiang | 28 | * Author: Chuang Liang-Shing, AJ Jiang |
| 38 | * | 29 | * |
| 39 | * Date: Jan 24, 2003 | 30 | * Date: Jan 24, 2003 |
| 40 | * | 31 | * |
| 41 | * MODULE_LICENSE("GPL"); | 32 | * MODULE_LICENSE("GPL"); |
| 42 | * | ||
| 43 | */ | 33 | */ |
| 44 | 34 | ||
| 45 | #include <linux/module.h> | 35 | #include <linux/module.h> |
diff --git a/drivers/net/ethernet/via/via-velocity.h b/drivers/net/ethernet/via/via-velocity.h index 9453bfa9324a..c0ecc6c7b5e0 100644 --- a/drivers/net/ethernet/via/via-velocity.h +++ b/drivers/net/ethernet/via/via-velocity.h | |||
| @@ -1,17 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc. | 3 | * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc. |
| 3 | * All rights reserved. | 4 | * All rights reserved. |
| 4 | * | 5 | * |
| 5 | * This software may be redistributed and/or modified under | ||
| 6 | * the terms of the GNU General Public License as published by the Free | ||
| 7 | * Software Foundation; either version 2 of the License, or | ||
| 8 | * any later version. | ||
| 9 | * | ||
| 10 | * This program is distributed in the hope that it will be useful, but | ||
| 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | ||
| 12 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | ||
| 13 | * for more details. | ||
| 14 | * | ||
| 15 | * File: via-velocity.h | 6 | * File: via-velocity.h |
| 16 | * | 7 | * |
| 17 | * Purpose: Header file to define driver's private structures. | 8 | * Purpose: Header file to define driver's private structures. |
diff --git a/drivers/net/ethernet/wiznet/Kconfig b/drivers/net/ethernet/wiznet/Kconfig index 1981e88c18dc..0422775e1659 100644 --- a/drivers/net/ethernet/wiznet/Kconfig +++ b/drivers/net/ethernet/wiznet/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # WIZnet devices configuration | 3 | # WIZnet devices configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/wiznet/Makefile b/drivers/net/ethernet/wiznet/Makefile index 1e05e1a84208..78104f0bf415 100644 --- a/drivers/net/ethernet/wiznet/Makefile +++ b/drivers/net/ethernet/wiznet/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_WIZNET_W5100) += w5100.o | 2 | obj-$(CONFIG_WIZNET_W5100) += w5100.o |
| 2 | obj-$(CONFIG_WIZNET_W5100_SPI) += w5100-spi.o | 3 | obj-$(CONFIG_WIZNET_W5100_SPI) += w5100-spi.o |
| 3 | obj-$(CONFIG_WIZNET_W5300) += w5300.o | 4 | obj-$(CONFIG_WIZNET_W5300) += w5300.o |
diff --git a/drivers/net/ethernet/xilinx/Kconfig b/drivers/net/ethernet/xilinx/Kconfig index db448fad621b..af96e05c5bcd 100644 --- a/drivers/net/ethernet/xilinx/Kconfig +++ b/drivers/net/ethernet/xilinx/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Xilink device configuration | 3 | # Xilink device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/xilinx/ll_temac_main.c b/drivers/net/ethernet/xilinx/ll_temac_main.c index 47c45152132e..14870d659f7d 100644 --- a/drivers/net/ethernet/xilinx/ll_temac_main.c +++ b/drivers/net/ethernet/xilinx/ll_temac_main.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Driver for Xilinx TEMAC Ethernet device | 3 | * Driver for Xilinx TEMAC Ethernet device |
| 3 | * | 4 | * |
diff --git a/drivers/net/ethernet/xilinx/xilinx_axienet.h b/drivers/net/ethernet/xilinx/xilinx_axienet.h index c337400485da..011adae32b89 100644 --- a/drivers/net/ethernet/xilinx/xilinx_axienet.h +++ b/drivers/net/ethernet/xilinx/xilinx_axienet.h | |||
| @@ -484,6 +484,11 @@ static inline u32 axienet_ior(struct axienet_local *lp, off_t offset) | |||
| 484 | return in_be32(lp->regs + offset); | 484 | return in_be32(lp->regs + offset); |
| 485 | } | 485 | } |
| 486 | 486 | ||
| 487 | static inline u32 axinet_ior_read_mcr(struct axienet_local *lp) | ||
| 488 | { | ||
| 489 | return axienet_ior(lp, XAE_MDIO_MCR_OFFSET); | ||
| 490 | } | ||
| 491 | |||
| 487 | /** | 492 | /** |
| 488 | * axienet_iow - Memory mapped Axi Ethernet register write | 493 | * axienet_iow - Memory mapped Axi Ethernet register write |
| 489 | * @lp: Pointer to axienet local structure | 494 | * @lp: Pointer to axienet local structure |
diff --git a/drivers/net/ethernet/xilinx/xilinx_axienet_main.c b/drivers/net/ethernet/xilinx/xilinx_axienet_main.c index 108fbc7f125a..831967f6eff8 100644 --- a/drivers/net/ethernet/xilinx/xilinx_axienet_main.c +++ b/drivers/net/ethernet/xilinx/xilinx_axienet_main.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Xilinx Axi Ethernet device driver | 3 | * Xilinx Axi Ethernet device driver |
| 3 | * | 4 | * |
diff --git a/drivers/net/ethernet/xilinx/xilinx_axienet_mdio.c b/drivers/net/ethernet/xilinx/xilinx_axienet_mdio.c index 757a3b37ae8a..704babdbc8a2 100644 --- a/drivers/net/ethernet/xilinx/xilinx_axienet_mdio.c +++ b/drivers/net/ethernet/xilinx/xilinx_axienet_mdio.c | |||
| @@ -11,6 +11,7 @@ | |||
| 11 | #include <linux/of_address.h> | 11 | #include <linux/of_address.h> |
| 12 | #include <linux/of_mdio.h> | 12 | #include <linux/of_mdio.h> |
| 13 | #include <linux/jiffies.h> | 13 | #include <linux/jiffies.h> |
| 14 | #include <linux/iopoll.h> | ||
| 14 | 15 | ||
| 15 | #include "xilinx_axienet.h" | 16 | #include "xilinx_axienet.h" |
| 16 | 17 | ||
| @@ -20,16 +21,11 @@ | |||
| 20 | /* Wait till MDIO interface is ready to accept a new transaction.*/ | 21 | /* Wait till MDIO interface is ready to accept a new transaction.*/ |
| 21 | int axienet_mdio_wait_until_ready(struct axienet_local *lp) | 22 | int axienet_mdio_wait_until_ready(struct axienet_local *lp) |
| 22 | { | 23 | { |
| 23 | unsigned long end = jiffies + 2; | 24 | u32 val; |
| 24 | while (!(axienet_ior(lp, XAE_MDIO_MCR_OFFSET) & | 25 | |
| 25 | XAE_MDIO_MCR_READY_MASK)) { | 26 | return readx_poll_timeout(axinet_ior_read_mcr, lp, |
| 26 | if (time_before_eq(end, jiffies)) { | 27 | val, val & XAE_MDIO_MCR_READY_MASK, |
| 27 | WARN_ON(1); | 28 | 1, 20000); |
| 28 | return -ETIMEDOUT; | ||
| 29 | } | ||
| 30 | udelay(1); | ||
| 31 | } | ||
| 32 | return 0; | ||
| 33 | } | 29 | } |
| 34 | 30 | ||
| 35 | /** | 31 | /** |
diff --git a/drivers/net/ethernet/xilinx/xilinx_emaclite.c b/drivers/net/ethernet/xilinx/xilinx_emaclite.c index 6886270da695..c409bab63bd3 100644 --- a/drivers/net/ethernet/xilinx/xilinx_emaclite.c +++ b/drivers/net/ethernet/xilinx/xilinx_emaclite.c | |||
| @@ -27,6 +27,7 @@ | |||
| 27 | #include <linux/of_net.h> | 27 | #include <linux/of_net.h> |
| 28 | #include <linux/phy.h> | 28 | #include <linux/phy.h> |
| 29 | #include <linux/interrupt.h> | 29 | #include <linux/interrupt.h> |
| 30 | #include <linux/iopoll.h> | ||
| 30 | 31 | ||
| 31 | #define DRIVER_NAME "xilinx_emaclite" | 32 | #define DRIVER_NAME "xilinx_emaclite" |
| 32 | 33 | ||
| @@ -714,20 +715,15 @@ static irqreturn_t xemaclite_interrupt(int irq, void *dev_id) | |||
| 714 | 715 | ||
| 715 | static int xemaclite_mdio_wait(struct net_local *lp) | 716 | static int xemaclite_mdio_wait(struct net_local *lp) |
| 716 | { | 717 | { |
| 717 | unsigned long end = jiffies + 2; | 718 | u32 val; |
| 718 | 719 | ||
| 719 | /* wait for the MDIO interface to not be busy or timeout | 720 | /* wait for the MDIO interface to not be busy or timeout |
| 720 | * after some time. | 721 | * after some time. |
| 721 | */ | 722 | */ |
| 722 | while (xemaclite_readl(lp->base_addr + XEL_MDIOCTRL_OFFSET) & | 723 | return readx_poll_timeout(xemaclite_readl, |
| 723 | XEL_MDIOCTRL_MDIOSTS_MASK) { | 724 | lp->base_addr + XEL_MDIOCTRL_OFFSET, |
| 724 | if (time_before_eq(end, jiffies)) { | 725 | val, !(val & XEL_MDIOCTRL_MDIOSTS_MASK), |
| 725 | WARN_ON(1); | 726 | 1000, 20000); |
| 726 | return -ETIMEDOUT; | ||
| 727 | } | ||
| 728 | msleep(1); | ||
| 729 | } | ||
| 730 | return 0; | ||
| 731 | } | 727 | } |
| 732 | 728 | ||
| 733 | /** | 729 | /** |
diff --git a/drivers/net/ethernet/xircom/Kconfig b/drivers/net/ethernet/xircom/Kconfig index d6208a4c9866..ad5390079b13 100644 --- a/drivers/net/ethernet/xircom/Kconfig +++ b/drivers/net/ethernet/xircom/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Xircom network device configuration | 3 | # Xircom network device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/xircom/Makefile b/drivers/net/ethernet/xircom/Makefile index 3b7aebd8b849..07667fefafc2 100644 --- a/drivers/net/ethernet/xircom/Makefile +++ b/drivers/net/ethernet/xircom/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Xircom network device drivers. | 3 | # Makefile for the Xircom network device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/xscale/Kconfig b/drivers/net/ethernet/xscale/Kconfig index af3432fe9a5e..2f354ba029a6 100644 --- a/drivers/net/ethernet/xscale/Kconfig +++ b/drivers/net/ethernet/xscale/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Intel XScale IXP device configuration | 3 | # Intel XScale IXP device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ethernet/xscale/Makefile b/drivers/net/ethernet/xscale/Makefile index abc3b031fba7..794a519d07b3 100644 --- a/drivers/net/ethernet/xscale/Makefile +++ b/drivers/net/ethernet/xscale/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Intel XScale IXP device drivers. | 3 | # Makefile for the Intel XScale IXP device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/fddi/Kconfig b/drivers/net/fddi/Kconfig index d62e8c6205f7..3b412a56f2cb 100644 --- a/drivers/net/fddi/Kconfig +++ b/drivers/net/fddi/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # FDDI network device configuration | 3 | # FDDI network device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/fddi/Makefile b/drivers/net/fddi/Makefile index 194b52cc20b0..fa4a3b5019fc 100644 --- a/drivers/net/fddi/Makefile +++ b/drivers/net/fddi/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Linux FDDI network device drivers. | 3 | # Makefile for the Linux FDDI network device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/fddi/skfp/hwmtm.c b/drivers/net/fddi/skfp/hwmtm.c index abbe309051d9..3d0f417e8586 100644 --- a/drivers/net/fddi/skfp/hwmtm.c +++ b/drivers/net/fddi/skfp/hwmtm.c | |||
| @@ -1206,7 +1206,7 @@ void process_receive(struct s_smc *smc) | |||
| 1206 | } | 1206 | } |
| 1207 | /* | 1207 | /* |
| 1208 | * SUPERNET 3 Bug: FORMAC delivers status words | 1208 | * SUPERNET 3 Bug: FORMAC delivers status words |
| 1209 | * of aborded frames to the BMU | 1209 | * of aborted frames to the BMU |
| 1210 | */ | 1210 | */ |
| 1211 | if (len <= 4) { | 1211 | if (len <= 4) { |
| 1212 | DB_RX(2, "Frame length = 0"); | 1212 | DB_RX(2, "Frame length = 0"); |
| @@ -1343,7 +1343,7 @@ void process_receive(struct s_smc *smc) | |||
| 1343 | break ; | 1343 | break ; |
| 1344 | default : | 1344 | default : |
| 1345 | /* | 1345 | /* |
| 1346 | * unknown FC abord the frame | 1346 | * unknown FC abort the frame |
| 1347 | */ | 1347 | */ |
| 1348 | DB_RX(2, "unknown FC error"); | 1348 | DB_RX(2, "unknown FC error"); |
| 1349 | smt_free_mbuf(smc,mb) ; | 1349 | smt_free_mbuf(smc,mb) ; |
diff --git a/drivers/net/hamradio/6pack.c b/drivers/net/hamradio/6pack.c index a19868cba48c..331c16d30d5d 100644 --- a/drivers/net/hamradio/6pack.c +++ b/drivers/net/hamradio/6pack.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * 6pack.c This module implements the 6pack protocol for kernel-based | 3 | * 6pack.c This module implements the 6pack protocol for kernel-based |
| 3 | * devices like TTY. It interfaces between a raw TTY and the | 4 | * devices like TTY. It interfaces between a raw TTY and the |
diff --git a/drivers/net/hamradio/Kconfig b/drivers/net/hamradio/Kconfig index bf5e59687680..8e05b5c31a77 100644 --- a/drivers/net/hamradio/Kconfig +++ b/drivers/net/hamradio/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config MKISS | 2 | config MKISS |
| 2 | tristate "Serial port KISS driver" | 3 | tristate "Serial port KISS driver" |
| 3 | depends on AX25 && TTY | 4 | depends on AX25 && TTY |
diff --git a/drivers/net/hamradio/baycom_epp.c b/drivers/net/hamradio/baycom_epp.c index 1e62d00732f2..daab2c07d891 100644 --- a/drivers/net/hamradio/baycom_epp.c +++ b/drivers/net/hamradio/baycom_epp.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /*****************************************************************************/ | 2 | /*****************************************************************************/ |
| 2 | 3 | ||
| 3 | /* | 4 | /* |
| @@ -6,25 +7,10 @@ | |||
| 6 | * Copyright (C) 1998-2000 | 7 | * Copyright (C) 1998-2000 |
| 7 | * Thomas Sailer (sailer@ife.ee.ethz.ch) | 8 | * Thomas Sailer (sailer@ife.ee.ethz.ch) |
| 8 | * | 9 | * |
| 9 | * This program is free software; you can redistribute it and/or modify | ||
| 10 | * it under the terms of the GNU General Public License as published by | ||
| 11 | * the Free Software Foundation; either version 2 of the License, or | ||
| 12 | * (at your option) any later version. | ||
| 13 | * | ||
| 14 | * This program is distributed in the hope that it will be useful, | ||
| 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 17 | * GNU General Public License for more details. | ||
| 18 | * | ||
| 19 | * You should have received a copy of the GNU General Public License | ||
| 20 | * along with this program; if not, write to the Free Software | ||
| 21 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | ||
| 22 | * | ||
| 23 | * Please note that the GPL allows you to use the driver, NOT the radio. | 10 | * Please note that the GPL allows you to use the driver, NOT the radio. |
| 24 | * In order to use the radio, you need a license from the communications | 11 | * In order to use the radio, you need a license from the communications |
| 25 | * authority of your country. | 12 | * authority of your country. |
| 26 | * | 13 | * |
| 27 | * | ||
| 28 | * History: | 14 | * History: |
| 29 | * 0.1 xx.xx.1998 Initial version by Matthias Welwarsky (dg2fef) | 15 | * 0.1 xx.xx.1998 Initial version by Matthias Welwarsky (dg2fef) |
| 30 | * 0.2 21.04.1998 Massive rework by Thomas Sailer | 16 | * 0.2 21.04.1998 Massive rework by Thomas Sailer |
| @@ -35,7 +21,6 @@ | |||
| 35 | * removed some pre-2.2 kernel compatibility cruft | 21 | * removed some pre-2.2 kernel compatibility cruft |
| 36 | * 0.6 10.08.1999 Check if parport can do SPP and is safe to access during interrupt contexts | 22 | * 0.6 10.08.1999 Check if parport can do SPP and is safe to access during interrupt contexts |
| 37 | * 0.7 12.02.2000 adapted to softnet driver interface | 23 | * 0.7 12.02.2000 adapted to softnet driver interface |
| 38 | * | ||
| 39 | */ | 24 | */ |
| 40 | 25 | ||
| 41 | /*****************************************************************************/ | 26 | /*****************************************************************************/ |
diff --git a/drivers/net/hamradio/baycom_par.c b/drivers/net/hamradio/baycom_par.c index 1f7ceafd61ff..6a3dc7b3f28a 100644 --- a/drivers/net/hamradio/baycom_par.c +++ b/drivers/net/hamradio/baycom_par.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /*****************************************************************************/ | 2 | /*****************************************************************************/ |
| 2 | 3 | ||
| 3 | /* | 4 | /* |
| @@ -5,25 +6,10 @@ | |||
| 5 | * | 6 | * |
| 6 | * Copyright (C) 1996-2000 Thomas Sailer (sailer@ife.ee.ethz.ch) | 7 | * Copyright (C) 1996-2000 Thomas Sailer (sailer@ife.ee.ethz.ch) |
| 7 | * | 8 | * |
| 8 | * This program is free software; you can redistribute it and/or modify | ||
| 9 | * it under the terms of the GNU General Public License as published by | ||
| 10 | * the Free Software Foundation; either version 2 of the License, or | ||
| 11 | * (at your option) any later version. | ||
| 12 | * | ||
| 13 | * This program is distributed in the hope that it will be useful, | ||
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public License | ||
| 19 | * along with this program; if not, write to the Free Software | ||
| 20 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | ||
| 21 | * | ||
| 22 | * Please note that the GPL allows you to use the driver, NOT the radio. | 9 | * Please note that the GPL allows you to use the driver, NOT the radio. |
| 23 | * In order to use the radio, you need a license from the communications | 10 | * In order to use the radio, you need a license from the communications |
| 24 | * authority of your country. | 11 | * authority of your country. |
| 25 | * | 12 | * |
| 26 | * | ||
| 27 | * Supported modems | 13 | * Supported modems |
| 28 | * | 14 | * |
| 29 | * par96: This is a modem for 9600 baud FSK compatible to the G3RUH standard. | 15 | * par96: This is a modem for 9600 baud FSK compatible to the G3RUH standard. |
| @@ -45,13 +31,11 @@ | |||
| 45 | * built in DCD circuitry. The driver should therefore be configured | 31 | * built in DCD circuitry. The driver should therefore be configured |
| 46 | * for hardware DCD. | 32 | * for hardware DCD. |
| 47 | * | 33 | * |
| 48 | * | ||
| 49 | * Command line options (insmod command line) | 34 | * Command line options (insmod command line) |
| 50 | * | 35 | * |
| 51 | * mode driver mode string. Valid choices are par96 and picpar. | 36 | * mode driver mode string. Valid choices are par96 and picpar. |
| 52 | * iobase base address of the port; common values are 0x378, 0x278, 0x3bc | 37 | * iobase base address of the port; common values are 0x378, 0x278, 0x3bc |
| 53 | * | 38 | * |
| 54 | * | ||
| 55 | * History: | 39 | * History: |
| 56 | * 0.1 26.06.1996 Adapted from baycom.c and made network driver interface | 40 | * 0.1 26.06.1996 Adapted from baycom.c and made network driver interface |
| 57 | * 18.10.1996 Changed to new user space access routines (copy_{to,from}_user) | 41 | * 18.10.1996 Changed to new user space access routines (copy_{to,from}_user) |
diff --git a/drivers/net/hamradio/baycom_ser_fdx.c b/drivers/net/hamradio/baycom_ser_fdx.c index ed0841630990..04bb409707fc 100644 --- a/drivers/net/hamradio/baycom_ser_fdx.c +++ b/drivers/net/hamradio/baycom_ser_fdx.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /*****************************************************************************/ | 2 | /*****************************************************************************/ |
| 2 | 3 | ||
| 3 | /* | 4 | /* |
| @@ -5,25 +6,10 @@ | |||
| 5 | * | 6 | * |
| 6 | * Copyright (C) 1996-2000 Thomas Sailer (sailer@ife.ee.ethz.ch) | 7 | * Copyright (C) 1996-2000 Thomas Sailer (sailer@ife.ee.ethz.ch) |
| 7 | * | 8 | * |
| 8 | * This program is free software; you can redistribute it and/or modify | ||
| 9 | * it under the terms of the GNU General Public License as published by | ||
| 10 | * the Free Software Foundation; either version 2 of the License, or | ||
| 11 | * (at your option) any later version. | ||
| 12 | * | ||
| 13 | * This program is distributed in the hope that it will be useful, | ||
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public License | ||
| 19 | * along with this program; if not, write to the Free Software | ||
| 20 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | ||
| 21 | * | ||
| 22 | * Please note that the GPL allows you to use the driver, NOT the radio. | 9 | * Please note that the GPL allows you to use the driver, NOT the radio. |
| 23 | * In order to use the radio, you need a license from the communications | 10 | * In order to use the radio, you need a license from the communications |
| 24 | * authority of your country. | 11 | * authority of your country. |
| 25 | * | 12 | * |
| 26 | * | ||
| 27 | * Supported modems | 13 | * Supported modems |
| 28 | * | 14 | * |
| 29 | * ser12: This is a very simple 1200 baud AFSK modem. The modem consists only | 15 | * ser12: This is a very simple 1200 baud AFSK modem. The modem consists only |
| @@ -53,7 +39,6 @@ | |||
| 53 | * baud baud rate (between 300 and 4800) | 39 | * baud baud rate (between 300 and 4800) |
| 54 | * irq interrupt line of the port; common values are 4,3 | 40 | * irq interrupt line of the port; common values are 4,3 |
| 55 | * | 41 | * |
| 56 | * | ||
| 57 | * History: | 42 | * History: |
| 58 | * 0.1 26.06.1996 Adapted from baycom.c and made network driver interface | 43 | * 0.1 26.06.1996 Adapted from baycom.c and made network driver interface |
| 59 | * 18.10.1996 Changed to new user space access routines (copy_{to,from}_user) | 44 | * 18.10.1996 Changed to new user space access routines (copy_{to,from}_user) |
diff --git a/drivers/net/hamradio/baycom_ser_hdx.c b/drivers/net/hamradio/baycom_ser_hdx.c index 3c823c648cf5..a1acb3a47bdb 100644 --- a/drivers/net/hamradio/baycom_ser_hdx.c +++ b/drivers/net/hamradio/baycom_ser_hdx.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /*****************************************************************************/ | 2 | /*****************************************************************************/ |
| 2 | 3 | ||
| 3 | /* | 4 | /* |
| @@ -5,25 +6,10 @@ | |||
| 5 | * | 6 | * |
| 6 | * Copyright (C) 1996-2000 Thomas Sailer (sailer@ife.ee.ethz.ch) | 7 | * Copyright (C) 1996-2000 Thomas Sailer (sailer@ife.ee.ethz.ch) |
| 7 | * | 8 | * |
| 8 | * This program is free software; you can redistribute it and/or modify | ||
| 9 | * it under the terms of the GNU General Public License as published by | ||
| 10 | * the Free Software Foundation; either version 2 of the License, or | ||
| 11 | * (at your option) any later version. | ||
| 12 | * | ||
| 13 | * This program is distributed in the hope that it will be useful, | ||
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public License | ||
| 19 | * along with this program; if not, write to the Free Software | ||
| 20 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | ||
| 21 | * | ||
| 22 | * Please note that the GPL allows you to use the driver, NOT the radio. | 9 | * Please note that the GPL allows you to use the driver, NOT the radio. |
| 23 | * In order to use the radio, you need a license from the communications | 10 | * In order to use the radio, you need a license from the communications |
| 24 | * authority of your country. | 11 | * authority of your country. |
| 25 | * | 12 | * |
| 26 | * | ||
| 27 | * Supported modems | 13 | * Supported modems |
| 28 | * | 14 | * |
| 29 | * ser12: This is a very simple 1200 baud AFSK modem. The modem consists only | 15 | * ser12: This is a very simple 1200 baud AFSK modem. The modem consists only |
| @@ -34,7 +20,6 @@ | |||
| 34 | * port, the kernel driver for serial ports cannot be used, and this | 20 | * port, the kernel driver for serial ports cannot be used, and this |
| 35 | * driver only supports standard serial hardware (8250, 16450, 16550A) | 21 | * driver only supports standard serial hardware (8250, 16450, 16550A) |
| 36 | * | 22 | * |
| 37 | * | ||
| 38 | * Command line options (insmod command line) | 23 | * Command line options (insmod command line) |
| 39 | * | 24 | * |
| 40 | * mode ser12 hardware DCD | 25 | * mode ser12 hardware DCD |
| @@ -45,7 +30,6 @@ | |||
| 45 | * iobase base address of the port; common values are 0x3f8, 0x2f8, 0x3e8, 0x2e8 | 30 | * iobase base address of the port; common values are 0x3f8, 0x2f8, 0x3e8, 0x2e8 |
| 46 | * irq interrupt line of the port; common values are 4,3 | 31 | * irq interrupt line of the port; common values are 4,3 |
| 47 | * | 32 | * |
| 48 | * | ||
| 49 | * History: | 33 | * History: |
| 50 | * 0.1 26.06.1996 Adapted from baycom.c and made network driver interface | 34 | * 0.1 26.06.1996 Adapted from baycom.c and made network driver interface |
| 51 | * 18.10.1996 Changed to new user space access routines (copy_{to,from}_user) | 35 | * 18.10.1996 Changed to new user space access routines (copy_{to,from}_user) |
diff --git a/drivers/net/hamradio/bpqether.c b/drivers/net/hamradio/bpqether.c index 777fa59f5e0c..fbec711ff514 100644 --- a/drivers/net/hamradio/bpqether.c +++ b/drivers/net/hamradio/bpqether.c | |||
| @@ -1,14 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * G8BPQ compatible "AX.25 via ethernet" driver release 004 | 3 | * G8BPQ compatible "AX.25 via ethernet" driver release 004 |
| 3 | * | 4 | * |
| 4 | * This code REQUIRES 2.0.0 or higher/ NET3.029 | 5 | * This code REQUIRES 2.0.0 or higher/ NET3.029 |
| 5 | * | 6 | * |
| 6 | * This module: | ||
| 7 | * This module is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License | ||
| 9 | * as published by the Free Software Foundation; either version | ||
| 10 | * 2 of the License, or (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This is a "pseudo" network driver to allow AX.25 over Ethernet | 7 | * This is a "pseudo" network driver to allow AX.25 over Ethernet |
| 13 | * using G8BPQ encapsulation. It has been extracted from the protocol | 8 | * using G8BPQ encapsulation. It has been extracted from the protocol |
| 14 | * implementation because | 9 | * implementation because |
diff --git a/drivers/net/hamradio/dmascc.c b/drivers/net/hamradio/dmascc.c index cde41200f40a..c25c8c99c5c7 100644 --- a/drivers/net/hamradio/dmascc.c +++ b/drivers/net/hamradio/dmascc.c | |||
| @@ -1,22 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Driver for high-speed SCC boards (those with DMA support) | 3 | * Driver for high-speed SCC boards (those with DMA support) |
| 3 | * Copyright (C) 1997-2000 Klaus Kudielka | 4 | * Copyright (C) 1997-2000 Klaus Kudielka |
| 4 | * | 5 | * |
| 5 | * S5SCC/DMA support by Janko Koleznik S52HI | 6 | * S5SCC/DMA support by Janko Koleznik S52HI |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License as published by | ||
| 9 | * the Free Software Foundation; either version 2 of the License, or | ||
| 10 | * (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program; if not, write to the Free Software | ||
| 19 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | ||
| 20 | */ | 7 | */ |
| 21 | 8 | ||
| 22 | 9 | ||
diff --git a/drivers/net/hamradio/hdlcdrv.c b/drivers/net/hamradio/hdlcdrv.c index 97e3bc60c3e7..c6f83e0df0a3 100644 --- a/drivers/net/hamradio/hdlcdrv.c +++ b/drivers/net/hamradio/hdlcdrv.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /*****************************************************************************/ | 2 | /*****************************************************************************/ |
| 2 | 3 | ||
| 3 | /* | 4 | /* |
| @@ -5,20 +6,6 @@ | |||
| 5 | * | 6 | * |
| 6 | * Copyright (C) 1996-2000 Thomas Sailer (sailer@ife.ee.ethz.ch) | 7 | * Copyright (C) 1996-2000 Thomas Sailer (sailer@ife.ee.ethz.ch) |
| 7 | * | 8 | * |
| 8 | * This program is free software; you can redistribute it and/or modify | ||
| 9 | * it under the terms of the GNU General Public License as published by | ||
| 10 | * the Free Software Foundation; either version 2 of the License, or | ||
| 11 | * (at your option) any later version. | ||
| 12 | * | ||
| 13 | * This program is distributed in the hope that it will be useful, | ||
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public License | ||
| 19 | * along with this program; if not, write to the Free Software | ||
| 20 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | ||
| 21 | * | ||
| 22 | * Please note that the GPL allows you to use the driver, NOT the radio. | 9 | * Please note that the GPL allows you to use the driver, NOT the radio. |
| 23 | * In order to use the radio, you need a license from the communications | 10 | * In order to use the radio, you need a license from the communications |
| 24 | * authority of your country. | 11 | * authority of your country. |
diff --git a/drivers/net/hamradio/yam.c b/drivers/net/hamradio/yam.c index ba9df430fca6..71cdef9fb56b 100644 --- a/drivers/net/hamradio/yam.c +++ b/drivers/net/hamradio/yam.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /*****************************************************************************/ | 2 | /*****************************************************************************/ |
| 2 | 3 | ||
| 3 | /* | 4 | /* |
| @@ -6,25 +7,10 @@ | |||
| 6 | * Copyright (C) 1998 Frederic Rible F1OAT (frible@teaser.fr) | 7 | * Copyright (C) 1998 Frederic Rible F1OAT (frible@teaser.fr) |
| 7 | * Adapted from baycom.c driver written by Thomas Sailer (sailer@ife.ee.ethz.ch) | 8 | * Adapted from baycom.c driver written by Thomas Sailer (sailer@ife.ee.ethz.ch) |
| 8 | * | 9 | * |
| 9 | * This program is free software; you can redistribute it and/or modify | ||
| 10 | * it under the terms of the GNU General Public License as published by | ||
| 11 | * the Free Software Foundation; either version 2 of the License, or | ||
| 12 | * (at your option) any later version. | ||
| 13 | * | ||
| 14 | * This program is distributed in the hope that it will be useful, | ||
| 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 17 | * GNU General Public License for more details. | ||
| 18 | * | ||
| 19 | * You should have received a copy of the GNU General Public License | ||
| 20 | * along with this program; if not, write to the Free Software | ||
| 21 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | ||
| 22 | * | ||
| 23 | * Please note that the GPL allows you to use the driver, NOT the radio. | 10 | * Please note that the GPL allows you to use the driver, NOT the radio. |
| 24 | * In order to use the radio, you need a license from the communications | 11 | * In order to use the radio, you need a license from the communications |
| 25 | * authority of your country. | 12 | * authority of your country. |
| 26 | * | 13 | * |
| 27 | * | ||
| 28 | * History: | 14 | * History: |
| 29 | * 0.0 F1OAT 06.06.98 Begin of work with baycom.c source code V 0.3 | 15 | * 0.0 F1OAT 06.06.98 Begin of work with baycom.c source code V 0.3 |
| 30 | * 0.1 F1OAT 07.06.98 Add timer polling routine for channel arbitration | 16 | * 0.1 F1OAT 07.06.98 Add timer polling routine for channel arbitration |
| @@ -37,7 +23,6 @@ | |||
| 37 | * 0.8 F6FBB 14.10.98 Fixed slottime/persistence timing bug | 23 | * 0.8 F6FBB 14.10.98 Fixed slottime/persistence timing bug |
| 38 | * OK1ZIA 2.09.01 Fixed "kfree_skb on hard IRQ" | 24 | * OK1ZIA 2.09.01 Fixed "kfree_skb on hard IRQ" |
| 39 | * using dev_kfree_skb_any(). (important in 2.4 kernel) | 25 | * using dev_kfree_skb_any(). (important in 2.4 kernel) |
| 40 | * | ||
| 41 | */ | 26 | */ |
| 42 | 27 | ||
| 43 | /*****************************************************************************/ | 28 | /*****************************************************************************/ |
diff --git a/drivers/net/hippi/Kconfig b/drivers/net/hippi/Kconfig index f71515dc5beb..de78504a5798 100644 --- a/drivers/net/hippi/Kconfig +++ b/drivers/net/hippi/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # HIPPI network device configuration | 3 | # HIPPI network device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/hippi/Makefile b/drivers/net/hippi/Makefile index b95d629baee5..409dd47f3e0a 100644 --- a/drivers/net/hippi/Makefile +++ b/drivers/net/hippi/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the HIPPI network device drivers. | 3 | # Makefile for the HIPPI network device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/hyperv/Kconfig b/drivers/net/hyperv/Kconfig index 0765d5f61714..ca7bf7f897d3 100644 --- a/drivers/net/hyperv/Kconfig +++ b/drivers/net/hyperv/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config HYPERV_NET | 2 | config HYPERV_NET |
| 2 | tristate "Microsoft Hyper-V virtual network driver" | 3 | tristate "Microsoft Hyper-V virtual network driver" |
| 3 | depends on HYPERV | 4 | depends on HYPERV |
diff --git a/drivers/net/hyperv/Makefile b/drivers/net/hyperv/Makefile index 3f25b9c8ea59..3a2aa0708166 100644 --- a/drivers/net/hyperv/Makefile +++ b/drivers/net/hyperv/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_HYPERV_NET) += hv_netvsc.o | 2 | obj-$(CONFIG_HYPERV_NET) += hv_netvsc.o |
| 2 | 3 | ||
| 3 | hv_netvsc-y := netvsc_drv.o netvsc.o rndis_filter.o netvsc_trace.o | 4 | hv_netvsc-y := netvsc_drv.o netvsc.o rndis_filter.o netvsc_trace.o |
diff --git a/drivers/net/ieee802154/Kconfig b/drivers/net/ieee802154/Kconfig index 0e372f392cb1..8af5b7e9f4ed 100644 --- a/drivers/net/ieee802154/Kconfig +++ b/drivers/net/ieee802154/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | menuconfig IEEE802154_DRIVERS | 2 | menuconfig IEEE802154_DRIVERS |
| 2 | tristate "IEEE 802.15.4 drivers" | 3 | tristate "IEEE 802.15.4 drivers" |
| 3 | depends on NETDEVICES && IEEE802154 | 4 | depends on NETDEVICES && IEEE802154 |
diff --git a/drivers/net/ipvlan/Makefile b/drivers/net/ipvlan/Makefile index 3ee95367a994..2020e9dedc7e 100644 --- a/drivers/net/ipvlan/Makefile +++ b/drivers/net/ipvlan/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Ethernet Ipvlan driver | 3 | # Makefile for the Ethernet Ipvlan driver |
| 3 | # | 4 | # |
diff --git a/drivers/net/ipvlan/ipvtap.c b/drivers/net/ipvlan/ipvtap.c index 0bcc07f346c3..1cedb634f4f7 100644 --- a/drivers/net/ipvlan/ipvtap.c +++ b/drivers/net/ipvlan/ipvtap.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | #include <linux/etherdevice.h> | 2 | #include <linux/etherdevice.h> |
| 2 | #include "ipvlan.h" | 3 | #include "ipvlan.h" |
| 3 | #include <linux/if_vlan.h> | 4 | #include <linux/if_vlan.h> |
diff --git a/drivers/net/macvlan.c b/drivers/net/macvlan.c index 92efa93649f0..61550122b563 100644 --- a/drivers/net/macvlan.c +++ b/drivers/net/macvlan.c | |||
| @@ -838,6 +838,7 @@ static int macvlan_do_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) | |||
| 838 | case SIOCSHWTSTAMP: | 838 | case SIOCSHWTSTAMP: |
| 839 | if (!net_eq(dev_net(dev), &init_net)) | 839 | if (!net_eq(dev_net(dev), &init_net)) |
| 840 | break; | 840 | break; |
| 841 | /* fall through */ | ||
| 841 | case SIOCGHWTSTAMP: | 842 | case SIOCGHWTSTAMP: |
| 842 | if (netif_device_present(real_dev) && ops->ndo_do_ioctl) | 843 | if (netif_device_present(real_dev) && ops->ndo_do_ioctl) |
| 843 | err = ops->ndo_do_ioctl(real_dev, &ifrr, cmd); | 844 | err = ops->ndo_do_ioctl(real_dev, &ifrr, cmd); |
diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index 9a10029caf83..694e2f5dbbe5 100644 --- a/drivers/net/macvtap.c +++ b/drivers/net/macvtap.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | #include <linux/etherdevice.h> | 2 | #include <linux/etherdevice.h> |
| 2 | #include <linux/if_macvlan.h> | 3 | #include <linux/if_macvlan.h> |
| 3 | #include <linux/if_tap.h> | 4 | #include <linux/if_tap.h> |
diff --git a/drivers/net/nlmon.c b/drivers/net/nlmon.c index dd0db7534cb3..68771b2f351a 100644 --- a/drivers/net/nlmon.c +++ b/drivers/net/nlmon.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | #include <linux/module.h> | 2 | #include <linux/module.h> |
| 2 | #include <linux/kernel.h> | 3 | #include <linux/kernel.h> |
| 3 | #include <linux/netdevice.h> | 4 | #include <linux/netdevice.h> |
diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig index d6299710d634..f99f27800fdb 100644 --- a/drivers/net/phy/Kconfig +++ b/drivers/net/phy/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # PHY Layer Configuration | 3 | # PHY Layer Configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/phy/aquantia_main.c b/drivers/net/phy/aquantia_main.c index eed4fe3d871f..0fedd28fdb6e 100644 --- a/drivers/net/phy/aquantia_main.c +++ b/drivers/net/phy/aquantia_main.c | |||
| @@ -487,6 +487,7 @@ static int aqr107_config_init(struct phy_device *phydev) | |||
| 487 | /* Check that the PHY interface type is compatible */ | 487 | /* Check that the PHY interface type is compatible */ |
| 488 | if (phydev->interface != PHY_INTERFACE_MODE_SGMII && | 488 | if (phydev->interface != PHY_INTERFACE_MODE_SGMII && |
| 489 | phydev->interface != PHY_INTERFACE_MODE_2500BASEX && | 489 | phydev->interface != PHY_INTERFACE_MODE_2500BASEX && |
| 490 | phydev->interface != PHY_INTERFACE_MODE_XGMII && | ||
| 490 | phydev->interface != PHY_INTERFACE_MODE_10GKR) | 491 | phydev->interface != PHY_INTERFACE_MODE_10GKR) |
| 491 | return -ENODEV; | 492 | return -ENODEV; |
| 492 | 493 | ||
diff --git a/drivers/net/phy/phy-c45.c b/drivers/net/phy/phy-c45.c index abe13dfe50ad..b9d4145781ca 100644 --- a/drivers/net/phy/phy-c45.c +++ b/drivers/net/phy/phy-c45.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Clause 45 PHY support | 3 | * Clause 45 PHY support |
| 3 | */ | 4 | */ |
diff --git a/drivers/net/phy/phylink.c b/drivers/net/phy/phylink.c index 89750c7dfd6f..74983593834b 100644 --- a/drivers/net/phy/phylink.c +++ b/drivers/net/phy/phylink.c | |||
| @@ -422,28 +422,21 @@ static void phylink_resolve(struct work_struct *w) | |||
| 422 | 422 | ||
| 423 | case MLO_AN_INBAND: | 423 | case MLO_AN_INBAND: |
| 424 | phylink_get_mac_state(pl, &link_state); | 424 | phylink_get_mac_state(pl, &link_state); |
| 425 | if (pl->phydev) { | 425 | |
| 426 | bool changed = false; | 426 | /* If we have a phy, the "up" state is the union of |
| 427 | 427 | * both the PHY and the MAC */ | |
| 428 | link_state.link = link_state.link && | 428 | if (pl->phydev) |
| 429 | pl->phy_state.link; | 429 | link_state.link &= pl->phy_state.link; |
| 430 | 430 | ||
| 431 | if (pl->phy_state.interface != | 431 | /* Only update if the PHY link is up */ |
| 432 | link_state.interface) { | 432 | if (pl->phydev && pl->phy_state.link) { |
| 433 | link_state.interface = pl->phy_state.interface; | 433 | link_state.interface = pl->phy_state.interface; |
| 434 | changed = true; | 434 | |
| 435 | } | 435 | /* If we have a PHY, we need to update with |
| 436 | 436 | * the pause mode bits. */ | |
| 437 | /* Propagate the flow control from the PHY | 437 | link_state.pause |= pl->phy_state.pause; |
| 438 | * to the MAC. Also propagate the interface | 438 | phylink_resolve_flow(pl, &link_state); |
| 439 | * if changed. | 439 | phylink_mac_config(pl, &link_state); |
| 440 | */ | ||
| 441 | if (pl->phy_state.link || changed) { | ||
| 442 | link_state.pause |= pl->phy_state.pause; | ||
| 443 | phylink_resolve_flow(pl, &link_state); | ||
| 444 | |||
| 445 | phylink_mac_config(pl, &link_state); | ||
| 446 | } | ||
| 447 | } | 440 | } |
| 448 | break; | 441 | break; |
| 449 | } | 442 | } |
diff --git a/drivers/net/phy/sfp-bus.c b/drivers/net/phy/sfp-bus.c index fef701bfad62..e9c187946cca 100644 --- a/drivers/net/phy/sfp-bus.c +++ b/drivers/net/phy/sfp-bus.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | #include <linux/export.h> | 2 | #include <linux/export.h> |
| 2 | #include <linux/kref.h> | 3 | #include <linux/kref.h> |
| 3 | #include <linux/list.h> | 4 | #include <linux/list.h> |
diff --git a/drivers/net/plip/Kconfig b/drivers/net/plip/Kconfig index 80c4a3373e51..b41035be2d51 100644 --- a/drivers/net/plip/Kconfig +++ b/drivers/net/plip/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Parallel Line Internet Protocol (PLIP) network device configuration | 3 | # Parallel Line Internet Protocol (PLIP) network device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/plip/Makefile b/drivers/net/plip/Makefile index ed958796dc64..8d4df7290e02 100644 --- a/drivers/net/plip/Makefile +++ b/drivers/net/plip/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the PLIP network device drivers. | 3 | # Makefile for the PLIP network device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/ppp/Kconfig b/drivers/net/ppp/Kconfig index 1373c6d7278d..bf395df3bb37 100644 --- a/drivers/net/ppp/Kconfig +++ b/drivers/net/ppp/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # PPP network device configuration | 3 | # PPP network device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/ppp/ppp_deflate.c b/drivers/net/ppp/ppp_deflate.c index b5edc7f96a39..685e875f5164 100644 --- a/drivers/net/ppp/ppp_deflate.c +++ b/drivers/net/ppp/ppp_deflate.c | |||
| @@ -610,12 +610,20 @@ static struct compressor ppp_deflate_draft = { | |||
| 610 | 610 | ||
| 611 | static int __init deflate_init(void) | 611 | static int __init deflate_init(void) |
| 612 | { | 612 | { |
| 613 | int answer = ppp_register_compressor(&ppp_deflate); | 613 | int rc; |
| 614 | if (answer == 0) | 614 | |
| 615 | printk(KERN_INFO | 615 | rc = ppp_register_compressor(&ppp_deflate); |
| 616 | "PPP Deflate Compression module registered\n"); | 616 | if (rc) |
| 617 | ppp_register_compressor(&ppp_deflate_draft); | 617 | return rc; |
| 618 | return answer; | 618 | |
| 619 | rc = ppp_register_compressor(&ppp_deflate_draft); | ||
| 620 | if (rc) { | ||
| 621 | ppp_unregister_compressor(&ppp_deflate); | ||
| 622 | return rc; | ||
| 623 | } | ||
| 624 | |||
| 625 | pr_info("PPP Deflate Compression module registered\n"); | ||
| 626 | return 0; | ||
| 619 | } | 627 | } |
| 620 | 628 | ||
| 621 | static void __exit deflate_cleanup(void) | 629 | static void __exit deflate_cleanup(void) |
diff --git a/drivers/net/slip/Kconfig b/drivers/net/slip/Kconfig index 48e68714eef3..30bbafb0e3c7 100644 --- a/drivers/net/slip/Kconfig +++ b/drivers/net/slip/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # SLIP network device configuration | 3 | # SLIP network device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/slip/Makefile b/drivers/net/slip/Makefile index e3ebc59e6fb9..668c1afb34d6 100644 --- a/drivers/net/slip/Makefile +++ b/drivers/net/slip/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the SLIP network device drivers. | 3 | # Makefile for the SLIP network device drivers. |
| 3 | # | 4 | # |
diff --git a/drivers/net/slip/slip.c b/drivers/net/slip/slip.c index 9757f1fc104f..cac64b96d545 100644 --- a/drivers/net/slip/slip.c +++ b/drivers/net/slip/slip.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * slip.c This module implements the SLIP protocol for kernel-based | 3 | * slip.c This module implements the SLIP protocol for kernel-based |
| 3 | * devices like TTY. It interfaces between a raw TTY, and the | 4 | * devices like TTY. It interfaces between a raw TTY, and the |
diff --git a/drivers/net/sungem_phy.c b/drivers/net/sungem_phy.c index 63a8ff816e59..291fa449993f 100644 --- a/drivers/net/sungem_phy.c +++ b/drivers/net/sungem_phy.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * PHY drivers for the sungem ethernet driver. | 3 | * PHY drivers for the sungem ethernet driver. |
| 3 | * | 4 | * |
diff --git a/drivers/net/tap.c b/drivers/net/tap.c index 2ea9b4976f4a..8e01390c738e 100644 --- a/drivers/net/tap.c +++ b/drivers/net/tap.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | #include <linux/etherdevice.h> | 2 | #include <linux/etherdevice.h> |
| 2 | #include <linux/if_tap.h> | 3 | #include <linux/if_tap.h> |
| 3 | #include <linux/if_vlan.h> | 4 | #include <linux/if_vlan.h> |
diff --git a/drivers/net/team/Kconfig b/drivers/net/team/Kconfig index c853d84fd99f..2aa9fd7b57df 100644 --- a/drivers/net/team/Kconfig +++ b/drivers/net/team/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | menuconfig NET_TEAM | 2 | menuconfig NET_TEAM |
| 2 | tristate "Ethernet team driver support" | 3 | tristate "Ethernet team driver support" |
| 3 | ---help--- | 4 | ---help--- |
diff --git a/drivers/net/usb/Kconfig b/drivers/net/usb/Kconfig index 860352a525fb..05bdcc5917f6 100644 --- a/drivers/net/usb/Kconfig +++ b/drivers/net/usb/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # USB Network devices configuration | 3 | # USB Network devices configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/usb/aqc111.c b/drivers/net/usb/aqc111.c index b86c5ce9a92a..7e44110746dd 100644 --- a/drivers/net/usb/aqc111.c +++ b/drivers/net/usb/aqc111.c | |||
| @@ -320,7 +320,6 @@ static int aqc111_get_link_ksettings(struct net_device *net, | |||
| 320 | static void aqc111_set_phy_speed(struct usbnet *dev, u8 autoneg, u16 speed) | 320 | static void aqc111_set_phy_speed(struct usbnet *dev, u8 autoneg, u16 speed) |
| 321 | { | 321 | { |
| 322 | struct aqc111_data *aqc111_data = dev->driver_priv; | 322 | struct aqc111_data *aqc111_data = dev->driver_priv; |
| 323 | u32 phy_on_the_wire; | ||
| 324 | 323 | ||
| 325 | aqc111_data->phy_cfg &= ~AQ_ADV_MASK; | 324 | aqc111_data->phy_cfg &= ~AQ_ADV_MASK; |
| 326 | aqc111_data->phy_cfg |= AQ_PAUSE; | 325 | aqc111_data->phy_cfg |= AQ_PAUSE; |
| @@ -362,8 +361,7 @@ static void aqc111_set_phy_speed(struct usbnet *dev, u8 autoneg, u16 speed) | |||
| 362 | } | 361 | } |
| 363 | } | 362 | } |
| 364 | 363 | ||
| 365 | phy_on_the_wire = aqc111_data->phy_cfg; | 364 | aqc111_write32_cmd(dev, AQ_PHY_OPS, 0, 0, &aqc111_data->phy_cfg); |
| 366 | aqc111_write32_cmd(dev, AQ_PHY_OPS, 0, 0, &phy_on_the_wire); | ||
| 367 | } | 365 | } |
| 368 | 366 | ||
| 369 | static int aqc111_set_link_ksettings(struct net_device *net, | 367 | static int aqc111_set_link_ksettings(struct net_device *net, |
| @@ -439,7 +437,7 @@ static int aqc111_change_mtu(struct net_device *net, int new_mtu) | |||
| 439 | aqc111_write16_cmd(dev, AQ_ACCESS_MAC, SFR_MEDIUM_STATUS_MODE, | 437 | aqc111_write16_cmd(dev, AQ_ACCESS_MAC, SFR_MEDIUM_STATUS_MODE, |
| 440 | 2, ®16); | 438 | 2, ®16); |
| 441 | 439 | ||
| 442 | if (dev->net->mtu > 12500 && dev->net->mtu <= 16334) { | 440 | if (dev->net->mtu > 12500) { |
| 443 | memcpy(buf, &AQC111_BULKIN_SIZE[2], 5); | 441 | memcpy(buf, &AQC111_BULKIN_SIZE[2], 5); |
| 444 | /* RX bulk configuration */ | 442 | /* RX bulk configuration */ |
| 445 | aqc111_write_cmd(dev, AQ_ACCESS_MAC, SFR_RX_BULKIN_QCTRL, | 443 | aqc111_write_cmd(dev, AQ_ACCESS_MAC, SFR_RX_BULKIN_QCTRL, |
| @@ -453,10 +451,8 @@ static int aqc111_change_mtu(struct net_device *net, int new_mtu) | |||
| 453 | reg16 = 0x1020; | 451 | reg16 = 0x1020; |
| 454 | else if (dev->net->mtu <= 12500) | 452 | else if (dev->net->mtu <= 12500) |
| 455 | reg16 = 0x1420; | 453 | reg16 = 0x1420; |
| 456 | else if (dev->net->mtu <= 16334) | ||
| 457 | reg16 = 0x1A20; | ||
| 458 | else | 454 | else |
| 459 | return 0; | 455 | reg16 = 0x1A20; |
| 460 | 456 | ||
| 461 | aqc111_write16_cmd(dev, AQ_ACCESS_MAC, SFR_PAUSE_WATERLVL_LOW, | 457 | aqc111_write16_cmd(dev, AQ_ACCESS_MAC, SFR_PAUSE_WATERLVL_LOW, |
| 462 | 2, ®16); | 458 | 2, ®16); |
| @@ -757,7 +753,6 @@ static void aqc111_unbind(struct usbnet *dev, struct usb_interface *intf) | |||
| 757 | { | 753 | { |
| 758 | struct aqc111_data *aqc111_data = dev->driver_priv; | 754 | struct aqc111_data *aqc111_data = dev->driver_priv; |
| 759 | u16 reg16; | 755 | u16 reg16; |
| 760 | u32 phy_on_the_wire; | ||
| 761 | 756 | ||
| 762 | /* Force bz */ | 757 | /* Force bz */ |
| 763 | reg16 = SFR_PHYPWR_RSTCTL_BZ; | 758 | reg16 = SFR_PHYPWR_RSTCTL_BZ; |
| @@ -771,9 +766,8 @@ static void aqc111_unbind(struct usbnet *dev, struct usb_interface *intf) | |||
| 771 | aqc111_data->phy_cfg &= ~AQ_ADV_MASK; | 766 | aqc111_data->phy_cfg &= ~AQ_ADV_MASK; |
| 772 | aqc111_data->phy_cfg |= AQ_LOW_POWER; | 767 | aqc111_data->phy_cfg |= AQ_LOW_POWER; |
| 773 | aqc111_data->phy_cfg &= ~AQ_PHY_POWER_EN; | 768 | aqc111_data->phy_cfg &= ~AQ_PHY_POWER_EN; |
| 774 | phy_on_the_wire = aqc111_data->phy_cfg; | ||
| 775 | aqc111_write32_cmd_nopm(dev, AQ_PHY_OPS, 0, 0, | 769 | aqc111_write32_cmd_nopm(dev, AQ_PHY_OPS, 0, 0, |
| 776 | &phy_on_the_wire); | 770 | &aqc111_data->phy_cfg); |
| 777 | 771 | ||
| 778 | kfree(aqc111_data); | 772 | kfree(aqc111_data); |
| 779 | } | 773 | } |
| @@ -996,7 +990,6 @@ static int aqc111_reset(struct usbnet *dev) | |||
| 996 | { | 990 | { |
| 997 | struct aqc111_data *aqc111_data = dev->driver_priv; | 991 | struct aqc111_data *aqc111_data = dev->driver_priv; |
| 998 | u8 reg8 = 0; | 992 | u8 reg8 = 0; |
| 999 | u32 phy_on_the_wire; | ||
| 1000 | 993 | ||
| 1001 | dev->rx_urb_size = URB_SIZE; | 994 | dev->rx_urb_size = URB_SIZE; |
| 1002 | 995 | ||
| @@ -1009,9 +1002,8 @@ static int aqc111_reset(struct usbnet *dev) | |||
| 1009 | 1002 | ||
| 1010 | /* Power up ethernet PHY */ | 1003 | /* Power up ethernet PHY */ |
| 1011 | aqc111_data->phy_cfg = AQ_PHY_POWER_EN; | 1004 | aqc111_data->phy_cfg = AQ_PHY_POWER_EN; |
| 1012 | phy_on_the_wire = aqc111_data->phy_cfg; | ||
| 1013 | aqc111_write32_cmd(dev, AQ_PHY_OPS, 0, 0, | 1005 | aqc111_write32_cmd(dev, AQ_PHY_OPS, 0, 0, |
| 1014 | &phy_on_the_wire); | 1006 | &aqc111_data->phy_cfg); |
| 1015 | 1007 | ||
| 1016 | /* Set the MAC address */ | 1008 | /* Set the MAC address */ |
| 1017 | aqc111_write_cmd(dev, AQ_ACCESS_MAC, SFR_NODE_ID, ETH_ALEN, | 1009 | aqc111_write_cmd(dev, AQ_ACCESS_MAC, SFR_NODE_ID, ETH_ALEN, |
| @@ -1042,7 +1034,6 @@ static int aqc111_stop(struct usbnet *dev) | |||
| 1042 | { | 1034 | { |
| 1043 | struct aqc111_data *aqc111_data = dev->driver_priv; | 1035 | struct aqc111_data *aqc111_data = dev->driver_priv; |
| 1044 | u16 reg16 = 0; | 1036 | u16 reg16 = 0; |
| 1045 | u32 phy_on_the_wire; | ||
| 1046 | 1037 | ||
| 1047 | aqc111_read16_cmd(dev, AQ_ACCESS_MAC, SFR_MEDIUM_STATUS_MODE, | 1038 | aqc111_read16_cmd(dev, AQ_ACCESS_MAC, SFR_MEDIUM_STATUS_MODE, |
| 1048 | 2, ®16); | 1039 | 2, ®16); |
| @@ -1054,9 +1045,8 @@ static int aqc111_stop(struct usbnet *dev) | |||
| 1054 | 1045 | ||
| 1055 | /* Put PHY to low power*/ | 1046 | /* Put PHY to low power*/ |
| 1056 | aqc111_data->phy_cfg |= AQ_LOW_POWER; | 1047 | aqc111_data->phy_cfg |= AQ_LOW_POWER; |
| 1057 | phy_on_the_wire = aqc111_data->phy_cfg; | ||
| 1058 | aqc111_write32_cmd(dev, AQ_PHY_OPS, 0, 0, | 1048 | aqc111_write32_cmd(dev, AQ_PHY_OPS, 0, 0, |
| 1059 | &phy_on_the_wire); | 1049 | &aqc111_data->phy_cfg); |
| 1060 | 1050 | ||
| 1061 | netif_carrier_off(dev->net); | 1051 | netif_carrier_off(dev->net); |
| 1062 | 1052 | ||
| @@ -1332,7 +1322,6 @@ static int aqc111_suspend(struct usb_interface *intf, pm_message_t message) | |||
| 1332 | u16 temp_rx_ctrl = 0x00; | 1322 | u16 temp_rx_ctrl = 0x00; |
| 1333 | u16 reg16; | 1323 | u16 reg16; |
| 1334 | u8 reg8; | 1324 | u8 reg8; |
| 1335 | u32 phy_on_the_wire; | ||
| 1336 | 1325 | ||
| 1337 | usbnet_suspend(intf, message); | 1326 | usbnet_suspend(intf, message); |
| 1338 | 1327 | ||
| @@ -1404,14 +1393,12 @@ static int aqc111_suspend(struct usb_interface *intf, pm_message_t message) | |||
| 1404 | 1393 | ||
| 1405 | aqc111_write_cmd(dev, AQ_WOL_CFG, 0, 0, | 1394 | aqc111_write_cmd(dev, AQ_WOL_CFG, 0, 0, |
| 1406 | WOL_CFG_SIZE, &wol_cfg); | 1395 | WOL_CFG_SIZE, &wol_cfg); |
| 1407 | phy_on_the_wire = aqc111_data->phy_cfg; | ||
| 1408 | aqc111_write32_cmd(dev, AQ_PHY_OPS, 0, 0, | 1396 | aqc111_write32_cmd(dev, AQ_PHY_OPS, 0, 0, |
| 1409 | &phy_on_the_wire); | 1397 | &aqc111_data->phy_cfg); |
| 1410 | } else { | 1398 | } else { |
| 1411 | aqc111_data->phy_cfg |= AQ_LOW_POWER; | 1399 | aqc111_data->phy_cfg |= AQ_LOW_POWER; |
| 1412 | phy_on_the_wire = aqc111_data->phy_cfg; | ||
| 1413 | aqc111_write32_cmd(dev, AQ_PHY_OPS, 0, 0, | 1400 | aqc111_write32_cmd(dev, AQ_PHY_OPS, 0, 0, |
| 1414 | &phy_on_the_wire); | 1401 | &aqc111_data->phy_cfg); |
| 1415 | 1402 | ||
| 1416 | /* Disable RX path */ | 1403 | /* Disable RX path */ |
| 1417 | aqc111_read16_cmd_nopm(dev, AQ_ACCESS_MAC, | 1404 | aqc111_read16_cmd_nopm(dev, AQ_ACCESS_MAC, |
| @@ -1428,7 +1415,7 @@ static int aqc111_resume(struct usb_interface *intf) | |||
| 1428 | { | 1415 | { |
| 1429 | struct usbnet *dev = usb_get_intfdata(intf); | 1416 | struct usbnet *dev = usb_get_intfdata(intf); |
| 1430 | struct aqc111_data *aqc111_data = dev->driver_priv; | 1417 | struct aqc111_data *aqc111_data = dev->driver_priv; |
| 1431 | u16 reg16, oldreg16; | 1418 | u16 reg16; |
| 1432 | u8 reg8; | 1419 | u8 reg8; |
| 1433 | 1420 | ||
| 1434 | netif_carrier_off(dev->net); | 1421 | netif_carrier_off(dev->net); |
| @@ -1444,11 +1431,9 @@ static int aqc111_resume(struct usb_interface *intf) | |||
| 1444 | /* Configure RX control register => start operation */ | 1431 | /* Configure RX control register => start operation */ |
| 1445 | reg16 = aqc111_data->rxctl; | 1432 | reg16 = aqc111_data->rxctl; |
| 1446 | reg16 &= ~SFR_RX_CTL_START; | 1433 | reg16 &= ~SFR_RX_CTL_START; |
| 1447 | /* needs to be saved in case endianness is swapped */ | ||
| 1448 | oldreg16 = reg16; | ||
| 1449 | aqc111_write16_cmd_nopm(dev, AQ_ACCESS_MAC, SFR_RX_CTL, 2, ®16); | 1434 | aqc111_write16_cmd_nopm(dev, AQ_ACCESS_MAC, SFR_RX_CTL, 2, ®16); |
| 1450 | 1435 | ||
| 1451 | reg16 = oldreg16 | SFR_RX_CTL_START; | 1436 | reg16 |= SFR_RX_CTL_START; |
| 1452 | aqc111_write16_cmd_nopm(dev, AQ_ACCESS_MAC, SFR_RX_CTL, 2, ®16); | 1437 | aqc111_write16_cmd_nopm(dev, AQ_ACCESS_MAC, SFR_RX_CTL, 2, ®16); |
| 1453 | 1438 | ||
| 1454 | aqc111_set_phy_speed(dev, aqc111_data->autoneg, | 1439 | aqc111_set_phy_speed(dev, aqc111_data->autoneg, |
diff --git a/drivers/net/usb/asix.h b/drivers/net/usb/asix.h index 9a4171b90947..3b53685301de 100644 --- a/drivers/net/usb/asix.h +++ b/drivers/net/usb/asix.h | |||
| @@ -1,22 +1,10 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | * ASIX AX8817X based USB 2.0 Ethernet Devices | 3 | * ASIX AX8817X based USB 2.0 Ethernet Devices |
| 3 | * Copyright (C) 2003-2006 David Hollis <dhollis@davehollis.com> | 4 | * Copyright (C) 2003-2006 David Hollis <dhollis@davehollis.com> |
| 4 | * Copyright (C) 2005 Phil Chang <pchang23@sbcglobal.net> | 5 | * Copyright (C) 2005 Phil Chang <pchang23@sbcglobal.net> |
| 5 | * Copyright (C) 2006 James Painter <jamie.painter@iname.com> | 6 | * Copyright (C) 2006 James Painter <jamie.painter@iname.com> |
| 6 | * Copyright (c) 2002-2003 TiVo Inc. | 7 | * Copyright (c) 2002-2003 TiVo Inc. |
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify | ||
| 9 | * it under the terms of the GNU General Public License as published by | ||
| 10 | * the Free Software Foundation; either version 2 of the License, or | ||
| 11 | * (at your option) any later version. | ||
| 12 | * | ||
| 13 | * This program is distributed in the hope that it will be useful, | ||
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public License | ||
| 19 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 20 | */ | 8 | */ |
| 21 | 9 | ||
| 22 | #ifndef _ASIX_H | 10 | #ifndef _ASIX_H |
diff --git a/drivers/net/usb/asix_common.c b/drivers/net/usb/asix_common.c index 023b8d0bf175..b39ee714fb01 100644 --- a/drivers/net/usb/asix_common.c +++ b/drivers/net/usb/asix_common.c | |||
| @@ -1,22 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * ASIX AX8817X based USB 2.0 Ethernet Devices | 3 | * ASIX AX8817X based USB 2.0 Ethernet Devices |
| 3 | * Copyright (C) 2003-2006 David Hollis <dhollis@davehollis.com> | 4 | * Copyright (C) 2003-2006 David Hollis <dhollis@davehollis.com> |
| 4 | * Copyright (C) 2005 Phil Chang <pchang23@sbcglobal.net> | 5 | * Copyright (C) 2005 Phil Chang <pchang23@sbcglobal.net> |
| 5 | * Copyright (C) 2006 James Painter <jamie.painter@iname.com> | 6 | * Copyright (C) 2006 James Painter <jamie.painter@iname.com> |
| 6 | * Copyright (c) 2002-2003 TiVo Inc. | 7 | * Copyright (c) 2002-2003 TiVo Inc. |
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify | ||
| 9 | * it under the terms of the GNU General Public License as published by | ||
| 10 | * the Free Software Foundation; either version 2 of the License, or | ||
| 11 | * (at your option) any later version. | ||
| 12 | * | ||
| 13 | * This program is distributed in the hope that it will be useful, | ||
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public License | ||
| 19 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 20 | */ | 8 | */ |
| 21 | 9 | ||
| 22 | #include "asix.h" | 10 | #include "asix.h" |
diff --git a/drivers/net/usb/asix_devices.c b/drivers/net/usb/asix_devices.c index 3d93993e74da..c9bc96310ed4 100644 --- a/drivers/net/usb/asix_devices.c +++ b/drivers/net/usb/asix_devices.c | |||
| @@ -1,22 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * ASIX AX8817X based USB 2.0 Ethernet Devices | 3 | * ASIX AX8817X based USB 2.0 Ethernet Devices |
| 3 | * Copyright (C) 2003-2006 David Hollis <dhollis@davehollis.com> | 4 | * Copyright (C) 2003-2006 David Hollis <dhollis@davehollis.com> |
| 4 | * Copyright (C) 2005 Phil Chang <pchang23@sbcglobal.net> | 5 | * Copyright (C) 2005 Phil Chang <pchang23@sbcglobal.net> |
| 5 | * Copyright (C) 2006 James Painter <jamie.painter@iname.com> | 6 | * Copyright (C) 2006 James Painter <jamie.painter@iname.com> |
| 6 | * Copyright (c) 2002-2003 TiVo Inc. | 7 | * Copyright (c) 2002-2003 TiVo Inc. |
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify | ||
| 9 | * it under the terms of the GNU General Public License as published by | ||
| 10 | * the Free Software Foundation; either version 2 of the License, or | ||
| 11 | * (at your option) any later version. | ||
| 12 | * | ||
| 13 | * This program is distributed in the hope that it will be useful, | ||
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public License | ||
| 19 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 20 | */ | 8 | */ |
| 21 | 9 | ||
| 22 | #include "asix.h" | 10 | #include "asix.h" |
diff --git a/drivers/net/usb/ax88172a.c b/drivers/net/usb/ax88172a.c index 501576f53854..011bd4cb546e 100644 --- a/drivers/net/usb/ax88172a.c +++ b/drivers/net/usb/ax88172a.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * ASIX AX88172A based USB 2.0 Ethernet Devices | 3 | * ASIX AX88172A based USB 2.0 Ethernet Devices |
| 3 | * Copyright (C) 2012 OMICRON electronics GmbH | 4 | * Copyright (C) 2012 OMICRON electronics GmbH |
| @@ -9,19 +10,6 @@ | |||
| 9 | * Copyright (C) 2005 Phil Chang <pchang23@sbcglobal.net> | 10 | * Copyright (C) 2005 Phil Chang <pchang23@sbcglobal.net> |
| 10 | * Copyright (C) 2006 James Painter <jamie.painter@iname.com> | 11 | * Copyright (C) 2006 James Painter <jamie.painter@iname.com> |
| 11 | * Copyright (c) 2002-2003 TiVo Inc. | 12 | * Copyright (c) 2002-2003 TiVo Inc. |
| 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, see <http://www.gnu.org/licenses/>. | ||
| 25 | */ | 13 | */ |
| 26 | 14 | ||
| 27 | #include "asix.h" | 15 | #include "asix.h" |
diff --git a/drivers/net/usb/ax88179_178a.c b/drivers/net/usb/ax88179_178a.c index 2207f7a7d1ff..0bc457ba8574 100644 --- a/drivers/net/usb/ax88179_178a.c +++ b/drivers/net/usb/ax88179_178a.c | |||
| @@ -1,20 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * ASIX AX88179/178A USB 3.0/2.0 to Gigabit Ethernet Devices | 3 | * ASIX AX88179/178A USB 3.0/2.0 to Gigabit Ethernet Devices |
| 3 | * | 4 | * |
| 4 | * Copyright (C) 2011-2013 ASIX | 5 | * Copyright (C) 2011-2013 ASIX |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License | ||
| 8 | * as published by the Free Software Foundation; either version 2 | ||
| 9 | * of the License, or (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, see <http://www.gnu.org/licenses/>. | ||
| 18 | */ | 6 | */ |
| 19 | 7 | ||
| 20 | #include <linux/module.h> | 8 | #include <linux/module.h> |
diff --git a/drivers/net/usb/catc.c b/drivers/net/usb/catc.c index 424053bd8b21..1e58702c737f 100644 --- a/drivers/net/usb/catc.c +++ b/drivers/net/usb/catc.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2001 Vojtech Pavlik | 3 | * Copyright (c) 2001 Vojtech Pavlik |
| 3 | * | 4 | * |
| @@ -13,18 +14,6 @@ | |||
| 13 | */ | 14 | */ |
| 14 | 15 | ||
| 15 | /* | 16 | /* |
| 16 | * This program is free software; you can redistribute it and/or modify | ||
| 17 | * it under the terms of the GNU General Public License as published by | ||
| 18 | * the Free Software Foundation; either version 2 of the License, or | ||
| 19 | * (at your option) any later version. | ||
| 20 | * | ||
| 21 | * This program is distributed in the hope that it will be useful, | ||
| 22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 24 | * GNU General Public License for more details. | ||
| 25 | * | ||
| 26 | * You should have received a copy of the GNU General Public License | ||
| 27 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 28 | * | 17 | * |
| 29 | * Should you need to contact me, the author, you can do so either by | 18 | * Should you need to contact me, the author, you can do so either by |
| 30 | * e-mail - mail your message to <vojtech@suse.cz>, or by paper mail: | 19 | * e-mail - mail your message to <vojtech@suse.cz>, or by paper mail: |
diff --git a/drivers/net/usb/cdc_eem.c b/drivers/net/usb/cdc_eem.c index 61ea4eaace5d..0eeec80bec31 100644 --- a/drivers/net/usb/cdc_eem.c +++ b/drivers/net/usb/cdc_eem.c | |||
| @@ -1,20 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * USB CDC EEM network interface driver | 3 | * USB CDC EEM network interface driver |
| 3 | * Copyright (C) 2009 Oberthur Technologies | 4 | * Copyright (C) 2009 Oberthur Technologies |
| 4 | * by Omar Laazimani, Olivier Condemine | 5 | * by Omar Laazimani, Olivier Condemine |
| 5 | * | ||
| 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, see <http://www.gnu.org/licenses/>. | ||
| 18 | */ | 6 | */ |
| 19 | 7 | ||
| 20 | #include <linux/module.h> | 8 | #include <linux/module.h> |
diff --git a/drivers/net/usb/cdc_ether.c b/drivers/net/usb/cdc_ether.c index 3e9b2c319e45..8458e88c18e9 100644 --- a/drivers/net/usb/cdc_ether.c +++ b/drivers/net/usb/cdc_ether.c | |||
| @@ -1,20 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * CDC Ethernet based networking peripherals | 3 | * CDC Ethernet based networking peripherals |
| 3 | * Copyright (C) 2003-2005 by David Brownell | 4 | * Copyright (C) 2003-2005 by David Brownell |
| 4 | * Copyright (C) 2006 by Ole Andre Vadla Ravnas (ActiveSync) | 5 | * Copyright (C) 2006 by Ole Andre Vadla Ravnas (ActiveSync) |
| 5 | * | ||
| 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, see <http://www.gnu.org/licenses/>. | ||
| 18 | */ | 6 | */ |
| 19 | 7 | ||
| 20 | // #define DEBUG // error path messages, extra info | 8 | // #define DEBUG // error path messages, extra info |
diff --git a/drivers/net/usb/cdc_subset.c b/drivers/net/usb/cdc_subset.c index 6ea98cff2d3b..32637df0f4cc 100644 --- a/drivers/net/usb/cdc_subset.c +++ b/drivers/net/usb/cdc_subset.c | |||
| @@ -1,19 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Simple "CDC Subset" USB Networking Links | 3 | * Simple "CDC Subset" USB Networking Links |
| 3 | * Copyright (C) 2000-2005 by David Brownell | 4 | * Copyright (C) 2000-2005 by David Brownell |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License as published by | ||
| 7 | * the Free Software Foundation; either version 2 of the License, or | ||
| 8 | * (at your option) any later version. | ||
| 9 | * | ||
| 10 | * This program is distributed in the hope that it will be useful, | ||
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | * GNU General Public License for more details. | ||
| 14 | * | ||
| 15 | * You should have received a copy of the GNU General Public License | ||
| 16 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | 5 | */ |
| 18 | 6 | ||
| 19 | #include <linux/module.h> | 7 | #include <linux/module.h> |
diff --git a/drivers/net/usb/cx82310_eth.c b/drivers/net/usb/cx82310_eth.c index 947bea81d924..5519248a791e 100644 --- a/drivers/net/usb/cx82310_eth.c +++ b/drivers/net/usb/cx82310_eth.c | |||
| @@ -1,20 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Driver for USB ethernet port of Conexant CX82310-based ADSL routers | 3 | * Driver for USB ethernet port of Conexant CX82310-based ADSL routers |
| 3 | * Copyright (C) 2010 by Ondrej Zary | 4 | * Copyright (C) 2010 by Ondrej Zary |
| 4 | * some parts inspired by the cxacru driver | 5 | * some parts inspired by the cxacru driver |
| 5 | * | ||
| 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, see <http://www.gnu.org/licenses/>. | ||
| 18 | */ | 6 | */ |
| 19 | 7 | ||
| 20 | #include <linux/module.h> | 8 | #include <linux/module.h> |
diff --git a/drivers/net/usb/gl620a.c b/drivers/net/usb/gl620a.c index ba1ce1006c4f..13a9a83b8538 100644 --- a/drivers/net/usb/gl620a.c +++ b/drivers/net/usb/gl620a.c | |||
| @@ -1,20 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * GeneSys GL620USB-A based links | 3 | * GeneSys GL620USB-A based links |
| 3 | * Copyright (C) 2001 by Jiun-Jie Huang <huangjj@genesyslogic.com.tw> | 4 | * Copyright (C) 2001 by Jiun-Jie Huang <huangjj@genesyslogic.com.tw> |
| 4 | * Copyright (C) 2001 by Stanislav Brabec <utx@penguin.cz> | 5 | * Copyright (C) 2001 by Stanislav Brabec <utx@penguin.cz> |
| 5 | * | ||
| 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, see <http://www.gnu.org/licenses/>. | ||
| 18 | */ | 6 | */ |
| 19 | 7 | ||
| 20 | // #define DEBUG // error path messages, extra info | 8 | // #define DEBUG // error path messages, extra info |
diff --git a/drivers/net/usb/int51x1.c b/drivers/net/usb/int51x1.c index ae2b2563460b..cb5bc1a7fa5a 100644 --- a/drivers/net/usb/int51x1.c +++ b/drivers/net/usb/int51x1.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2009 Peter Holik | 3 | * Copyright (c) 2009 Peter Holik |
| 3 | * | 4 | * |
| @@ -9,18 +10,6 @@ | |||
| 9 | */ | 10 | */ |
| 10 | 11 | ||
| 11 | /* | 12 | /* |
| 12 | * This program is free software; you can redistribute it and/or modify | ||
| 13 | * it under the terms of the GNU General Public License as published by | ||
| 14 | * the Free Software Foundation; either version 2 of the License, or. | ||
| 15 | * (at your option) any later version. | ||
| 16 | * | ||
| 17 | * This program is distributed in the hope that it will be useful, | ||
| 18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 20 | * GNU General Public License for more details. | ||
| 21 | * | ||
| 22 | * You should have received a copy of the GNU General Public License | ||
| 23 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 24 | */ | 13 | */ |
| 25 | 14 | ||
| 26 | #include <linux/module.h> | 15 | #include <linux/module.h> |
diff --git a/drivers/net/usb/ipheth.c b/drivers/net/usb/ipheth.c index c247aed2dceb..8c01fbf68a89 100644 --- a/drivers/net/usb/ipheth.c +++ b/drivers/net/usb/ipheth.c | |||
| @@ -383,17 +383,18 @@ static int ipheth_tx(struct sk_buff *skb, struct net_device *net) | |||
| 383 | dev); | 383 | dev); |
| 384 | dev->tx_urb->transfer_flags |= URB_NO_TRANSFER_DMA_MAP; | 384 | dev->tx_urb->transfer_flags |= URB_NO_TRANSFER_DMA_MAP; |
| 385 | 385 | ||
| 386 | netif_stop_queue(net); | ||
| 386 | retval = usb_submit_urb(dev->tx_urb, GFP_ATOMIC); | 387 | retval = usb_submit_urb(dev->tx_urb, GFP_ATOMIC); |
| 387 | if (retval) { | 388 | if (retval) { |
| 388 | dev_err(&dev->intf->dev, "%s: usb_submit_urb: %d\n", | 389 | dev_err(&dev->intf->dev, "%s: usb_submit_urb: %d\n", |
| 389 | __func__, retval); | 390 | __func__, retval); |
| 390 | dev->net->stats.tx_errors++; | 391 | dev->net->stats.tx_errors++; |
| 391 | dev_kfree_skb_any(skb); | 392 | dev_kfree_skb_any(skb); |
| 393 | netif_wake_queue(net); | ||
| 392 | } else { | 394 | } else { |
| 393 | dev->net->stats.tx_packets++; | 395 | dev->net->stats.tx_packets++; |
| 394 | dev->net->stats.tx_bytes += skb->len; | 396 | dev->net->stats.tx_bytes += skb->len; |
| 395 | dev_consume_skb_any(skb); | 397 | dev_consume_skb_any(skb); |
| 396 | netif_stop_queue(net); | ||
| 397 | } | 398 | } |
| 398 | 399 | ||
| 399 | return NETDEV_TX_OK; | 400 | return NETDEV_TX_OK; |
diff --git a/drivers/net/usb/kaweth.c b/drivers/net/usb/kaweth.c index 913e50bab0a2..8e210ba4a313 100644 --- a/drivers/net/usb/kaweth.c +++ b/drivers/net/usb/kaweth.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /**************************************************************** | 2 | /**************************************************************** |
| 2 | * | 3 | * |
| 3 | * kaweth.c - driver for KL5KUSB101 based USB->Ethernet | 4 | * kaweth.c - driver for KL5KUSB101 based USB->Ethernet |
| @@ -14,19 +15,6 @@ | |||
| 14 | * Also many thanks to Joel Silverman and Ed Surprenant at Kawasaki | 15 | * Also many thanks to Joel Silverman and Ed Surprenant at Kawasaki |
| 15 | * for providing the firmware and driver resources. | 16 | * for providing the firmware and driver resources. |
| 16 | * | 17 | * |
| 17 | * This program is free software; you can redistribute it and/or | ||
| 18 | * modify it under the terms of the GNU General Public License as | ||
| 19 | * published by the Free Software Foundation; either version 2, or | ||
| 20 | * (at your option) any later version. | ||
| 21 | * | ||
| 22 | * This program is distributed in the hope that it will be useful, | ||
| 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 25 | * GNU General Public License for more details. | ||
| 26 | * | ||
| 27 | * You should have received a copy of the GNU General Public License | ||
| 28 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 29 | * | ||
| 30 | ****************************************************************/ | 18 | ****************************************************************/ |
| 31 | 19 | ||
| 32 | /* TODO: | 20 | /* TODO: |
diff --git a/drivers/net/usb/lg-vl600.c b/drivers/net/usb/lg-vl600.c index 257916f172cd..6c2b3e368efe 100644 --- a/drivers/net/usb/lg-vl600.c +++ b/drivers/net/usb/lg-vl600.c | |||
| @@ -1,21 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Ethernet interface part of the LG VL600 LTE modem (4G dongle) | 3 | * Ethernet interface part of the LG VL600 LTE modem (4G dongle) |
| 3 | * | 4 | * |
| 4 | * Copyright (C) 2011 Intel Corporation | 5 | * Copyright (C) 2011 Intel Corporation |
| 5 | * Author: Andrzej Zaborowski <balrogg@gmail.com> | 6 | * Author: Andrzej Zaborowski <balrogg@gmail.com> |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License as published by | ||
| 9 | * the Free Software Foundation; either version 2 of the License, or | ||
| 10 | * (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 19 | */ | 7 | */ |
| 20 | #include <linux/etherdevice.h> | 8 | #include <linux/etherdevice.h> |
| 21 | #include <linux/ethtool.h> | 9 | #include <linux/ethtool.h> |
diff --git a/drivers/net/usb/mcs7830.c b/drivers/net/usb/mcs7830.c index 5a47e5510ca8..09bfa6a4dfbc 100644 --- a/drivers/net/usb/mcs7830.c +++ b/drivers/net/usb/mcs7830.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * MOSCHIP MCS7830 based (7730/7830/7832) USB 2.0 Ethernet Devices | 3 | * MOSCHIP MCS7830 based (7730/7830/7832) USB 2.0 Ethernet Devices |
| 3 | * | 4 | * |
| @@ -23,20 +24,6 @@ | |||
| 23 | * - mcs7830_get_regs() handling is weird: for rev 2 we return 32 regs, | 24 | * - mcs7830_get_regs() handling is weird: for rev 2 we return 32 regs, |
| 24 | * can access only ~ 24, remaining user buffer is uninitialized garbage | 25 | * can access only ~ 24, remaining user buffer is uninitialized garbage |
| 25 | * - anything else? | 26 | * - anything else? |
| 26 | * | ||
| 27 | * | ||
| 28 | * This program is free software; you can redistribute it and/or modify | ||
| 29 | * it under the terms of the GNU General Public License as published by | ||
| 30 | * the Free Software Foundation; either version 2 of the License, or | ||
| 31 | * (at your option) any later version. | ||
| 32 | * | ||
| 33 | * This program is distributed in the hope that it will be useful, | ||
| 34 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 35 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 36 | * GNU General Public License for more details. | ||
| 37 | * | ||
| 38 | * You should have received a copy of the GNU General Public License | ||
| 39 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 40 | */ | 27 | */ |
| 41 | 28 | ||
| 42 | #include <linux/crc32.h> | 29 | #include <linux/crc32.h> |
diff --git a/drivers/net/usb/net1080.c b/drivers/net/usb/net1080.c index 18a13aa5fcbb..1f04f1720426 100644 --- a/drivers/net/usb/net1080.c +++ b/drivers/net/usb/net1080.c | |||
| @@ -1,19 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Net1080 based USB host-to-host cables | 3 | * Net1080 based USB host-to-host cables |
| 3 | * Copyright (C) 2000-2005 by David Brownell | 4 | * Copyright (C) 2000-2005 by David Brownell |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License as published by | ||
| 7 | * the Free Software Foundation; either version 2 of the License, or | ||
| 8 | * (at your option) any later version. | ||
| 9 | * | ||
| 10 | * This program is distributed in the hope that it will be useful, | ||
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | * GNU General Public License for more details. | ||
| 14 | * | ||
| 15 | * You should have received a copy of the GNU General Public License | ||
| 16 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | 5 | */ |
| 18 | 6 | ||
| 19 | // #define DEBUG // error path messages, extra info | 7 | // #define DEBUG // error path messages, extra info |
diff --git a/drivers/net/usb/plusb.c b/drivers/net/usb/plusb.c index 6fe59373cba9..17c9c63b8eeb 100644 --- a/drivers/net/usb/plusb.c +++ b/drivers/net/usb/plusb.c | |||
| @@ -1,19 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * PL-2301/2302 USB host-to-host link cables | 3 | * PL-2301/2302 USB host-to-host link cables |
| 3 | * Copyright (C) 2000-2005 by David Brownell | 4 | * Copyright (C) 2000-2005 by David Brownell |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License as published by | ||
| 7 | * the Free Software Foundation; either version 2 of the License, or | ||
| 8 | * (at your option) any later version. | ||
| 9 | * | ||
| 10 | * This program is distributed in the hope that it will be useful, | ||
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | * GNU General Public License for more details. | ||
| 14 | * | ||
| 15 | * You should have received a copy of the GNU General Public License | ||
| 16 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | 5 | */ |
| 18 | 6 | ||
| 19 | // #define DEBUG // error path messages, extra info | 7 | // #define DEBUG // error path messages, extra info |
diff --git a/drivers/net/usb/qmi_wwan.c b/drivers/net/usb/qmi_wwan.c index 5c3ac97519b7..d9a6699abe59 100644 --- a/drivers/net/usb/qmi_wwan.c +++ b/drivers/net/usb/qmi_wwan.c | |||
| @@ -1259,6 +1259,8 @@ static const struct usb_device_id products[] = { | |||
| 1259 | {QMI_FIXED_INTF(0x1bc7, 0x1101, 3)}, /* Telit ME910 dual modem */ | 1259 | {QMI_FIXED_INTF(0x1bc7, 0x1101, 3)}, /* Telit ME910 dual modem */ |
| 1260 | {QMI_FIXED_INTF(0x1bc7, 0x1200, 5)}, /* Telit LE920 */ | 1260 | {QMI_FIXED_INTF(0x1bc7, 0x1200, 5)}, /* Telit LE920 */ |
| 1261 | {QMI_QUIRK_SET_DTR(0x1bc7, 0x1201, 2)}, /* Telit LE920, LE920A4 */ | 1261 | {QMI_QUIRK_SET_DTR(0x1bc7, 0x1201, 2)}, /* Telit LE920, LE920A4 */ |
| 1262 | {QMI_QUIRK_SET_DTR(0x1bc7, 0x1260, 2)}, /* Telit LE910Cx */ | ||
| 1263 | {QMI_QUIRK_SET_DTR(0x1bc7, 0x1261, 2)}, /* Telit LE910Cx */ | ||
| 1262 | {QMI_QUIRK_SET_DTR(0x1bc7, 0x1900, 1)}, /* Telit LN940 series */ | 1264 | {QMI_QUIRK_SET_DTR(0x1bc7, 0x1900, 1)}, /* Telit LN940 series */ |
| 1263 | {QMI_FIXED_INTF(0x1c9e, 0x9801, 3)}, /* Telewell TW-3G HSPA+ */ | 1265 | {QMI_FIXED_INTF(0x1c9e, 0x9801, 3)}, /* Telewell TW-3G HSPA+ */ |
| 1264 | {QMI_FIXED_INTF(0x1c9e, 0x9803, 4)}, /* Telewell TW-3G HSPA+ */ | 1266 | {QMI_FIXED_INTF(0x1c9e, 0x9803, 4)}, /* Telewell TW-3G HSPA+ */ |
diff --git a/drivers/net/usb/rndis_host.c b/drivers/net/usb/rndis_host.c index b807c91abe1d..bd9c07888ebb 100644 --- a/drivers/net/usb/rndis_host.c +++ b/drivers/net/usb/rndis_host.c | |||
| @@ -1,19 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Host Side support for RNDIS Networking Links | 3 | * Host Side support for RNDIS Networking Links |
| 3 | * Copyright (C) 2005 by David Brownell | 4 | * Copyright (C) 2005 by David Brownell |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License as published by | ||
| 7 | * the Free Software Foundation; either version 2 of the License, or | ||
| 8 | * (at your option) any later version. | ||
| 9 | * | ||
| 10 | * This program is distributed in the hope that it will be useful, | ||
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | * GNU General Public License for more details. | ||
| 14 | * | ||
| 15 | * You should have received a copy of the GNU General Public License | ||
| 16 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | 5 | */ |
| 18 | #include <linux/module.h> | 6 | #include <linux/module.h> |
| 19 | #include <linux/netdevice.h> | 7 | #include <linux/netdevice.h> |
diff --git a/drivers/net/usb/sierra_net.c b/drivers/net/usb/sierra_net.c index c43087e06696..34c1eaba536c 100644 --- a/drivers/net/usb/sierra_net.c +++ b/drivers/net/usb/sierra_net.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * USB-to-WWAN Driver for Sierra Wireless modems | 3 | * USB-to-WWAN Driver for Sierra Wireless modems |
| 3 | * | 4 | * |
| @@ -9,19 +10,6 @@ | |||
| 9 | * | 10 | * |
| 10 | * IMPORTANT DISCLAIMER: This driver is not commercially supported by | 11 | * IMPORTANT DISCLAIMER: This driver is not commercially supported by |
| 11 | * Sierra Wireless. Use at your own risk. | 12 | * Sierra Wireless. Use at your own risk. |
| 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, see <http://www.gnu.org/licenses/>. | ||
| 25 | */ | 13 | */ |
| 26 | 14 | ||
| 27 | #define DRIVER_VERSION "v.2.0" | 15 | #define DRIVER_VERSION "v.2.0" |
diff --git a/drivers/net/usb/smsc75xx.c b/drivers/net/usb/smsc75xx.c index e4c2f3afce60..1417a22962a1 100644 --- a/drivers/net/usb/smsc75xx.c +++ b/drivers/net/usb/smsc75xx.c | |||
| @@ -1,20 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /*************************************************************************** | 2 | /*************************************************************************** |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2007-2010 SMSC | 4 | * Copyright (C) 2007-2010 SMSC |
| 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 | * as published by the Free Software Foundation; either version 2 | ||
| 8 | * of the License, or (at your option) any later version. | ||
| 9 | * | ||
| 10 | * This program is distributed in the hope that it will be useful, | ||
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | * GNU General Public License for more details. | ||
| 14 | * | ||
| 15 | * You should have received a copy of the GNU General Public License | ||
| 16 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 17 | * | ||
| 18 | *****************************************************************************/ | 6 | *****************************************************************************/ |
| 19 | 7 | ||
| 20 | #include <linux/module.h> | 8 | #include <linux/module.h> |
diff --git a/drivers/net/usb/smsc75xx.h b/drivers/net/usb/smsc75xx.h index 2c7ea8fd184f..49738cabad9a 100644 --- a/drivers/net/usb/smsc75xx.h +++ b/drivers/net/usb/smsc75xx.h | |||
| @@ -1,20 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /*************************************************************************** | 2 | /*************************************************************************** |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2007-2010 SMSC | 4 | * Copyright (C) 2007-2010 SMSC |
| 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 | * as published by the Free Software Foundation; either version 2 | ||
| 8 | * of the License, or (at your option) any later version. | ||
| 9 | * | ||
| 10 | * This program is distributed in the hope that it will be useful, | ||
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | * GNU General Public License for more details. | ||
| 14 | * | ||
| 15 | * You should have received a copy of the GNU General Public License | ||
| 16 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 17 | * | ||
| 18 | *****************************************************************************/ | 6 | *****************************************************************************/ |
| 19 | 7 | ||
| 20 | #ifndef _SMSC75XX_H | 8 | #ifndef _SMSC75XX_H |
diff --git a/drivers/net/usb/smsc95xx.c b/drivers/net/usb/smsc95xx.c index a0e119907c84..355be77f4241 100644 --- a/drivers/net/usb/smsc95xx.c +++ b/drivers/net/usb/smsc95xx.c | |||
| @@ -1,20 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /*************************************************************************** | 2 | /*************************************************************************** |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2007-2008 SMSC | 4 | * Copyright (C) 2007-2008 SMSC |
| 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 | * as published by the Free Software Foundation; either version 2 | ||
| 8 | * of the License, or (at your option) any later version. | ||
| 9 | * | ||
| 10 | * This program is distributed in the hope that it will be useful, | ||
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | * GNU General Public License for more details. | ||
| 14 | * | ||
| 15 | * You should have received a copy of the GNU General Public License | ||
| 16 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 17 | * | ||
| 18 | *****************************************************************************/ | 6 | *****************************************************************************/ |
| 19 | 7 | ||
| 20 | #include <linux/module.h> | 8 | #include <linux/module.h> |
diff --git a/drivers/net/usb/smsc95xx.h b/drivers/net/usb/smsc95xx.h index cfc704f3a460..013bf42e27f2 100644 --- a/drivers/net/usb/smsc95xx.h +++ b/drivers/net/usb/smsc95xx.h | |||
| @@ -1,20 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /*************************************************************************** | 2 | /*************************************************************************** |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2007-2008 SMSC | 4 | * Copyright (C) 2007-2008 SMSC |
| 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 | * as published by the Free Software Foundation; either version 2 | ||
| 8 | * of the License, or (at your option) any later version. | ||
| 9 | * | ||
| 10 | * This program is distributed in the hope that it will be useful, | ||
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | * GNU General Public License for more details. | ||
| 14 | * | ||
| 15 | * You should have received a copy of the GNU General Public License | ||
| 16 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 17 | * | ||
| 18 | *****************************************************************************/ | 6 | *****************************************************************************/ |
| 19 | 7 | ||
| 20 | #ifndef _SMSC95XX_H | 8 | #ifndef _SMSC95XX_H |
diff --git a/drivers/net/usb/usbnet.c b/drivers/net/usb/usbnet.c index 504282af27e5..72514c46b478 100644 --- a/drivers/net/usb/usbnet.c +++ b/drivers/net/usb/usbnet.c | |||
| @@ -1,20 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * USB Network driver infrastructure | 3 | * USB Network driver infrastructure |
| 3 | * Copyright (C) 2000-2005 by David Brownell | 4 | * Copyright (C) 2000-2005 by David Brownell |
| 4 | * Copyright (C) 2003-2005 David Hollis <dhollis@davehollis.com> | 5 | * Copyright (C) 2003-2005 David Hollis <dhollis@davehollis.com> |
| 5 | * | ||
| 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, see <http://www.gnu.org/licenses/>. | ||
| 18 | */ | 6 | */ |
| 19 | 7 | ||
| 20 | /* | 8 | /* |
| @@ -506,6 +494,7 @@ static int rx_submit (struct usbnet *dev, struct urb *urb, gfp_t flags) | |||
| 506 | 494 | ||
| 507 | if (netif_running (dev->net) && | 495 | if (netif_running (dev->net) && |
| 508 | netif_device_present (dev->net) && | 496 | netif_device_present (dev->net) && |
| 497 | test_bit(EVENT_DEV_OPEN, &dev->flags) && | ||
| 509 | !test_bit (EVENT_RX_HALT, &dev->flags) && | 498 | !test_bit (EVENT_RX_HALT, &dev->flags) && |
| 510 | !test_bit (EVENT_DEV_ASLEEP, &dev->flags)) { | 499 | !test_bit (EVENT_DEV_ASLEEP, &dev->flags)) { |
| 511 | switch (retval = usb_submit_urb (urb, GFP_ATOMIC)) { | 500 | switch (retval = usb_submit_urb (urb, GFP_ATOMIC)) { |
| @@ -1431,6 +1420,11 @@ netdev_tx_t usbnet_start_xmit (struct sk_buff *skb, | |||
| 1431 | spin_unlock_irqrestore(&dev->txq.lock, flags); | 1420 | spin_unlock_irqrestore(&dev->txq.lock, flags); |
| 1432 | goto drop; | 1421 | goto drop; |
| 1433 | } | 1422 | } |
| 1423 | if (netif_queue_stopped(net)) { | ||
| 1424 | usb_autopm_put_interface_async(dev->intf); | ||
| 1425 | spin_unlock_irqrestore(&dev->txq.lock, flags); | ||
| 1426 | goto drop; | ||
| 1427 | } | ||
| 1434 | 1428 | ||
| 1435 | #ifdef CONFIG_PM | 1429 | #ifdef CONFIG_PM |
| 1436 | /* if this triggers the device is still a sleep */ | 1430 | /* if this triggers the device is still a sleep */ |
diff --git a/drivers/net/usb/zaurus.c b/drivers/net/usb/zaurus.c index 9c2196c3fd11..8e717a0b559b 100644 --- a/drivers/net/usb/zaurus.c +++ b/drivers/net/usb/zaurus.c | |||
| @@ -1,19 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) 2002 Pavel Machek <pavel@ucw.cz> | 3 | * Copyright (C) 2002 Pavel Machek <pavel@ucw.cz> |
| 3 | * Copyright (C) 2002-2005 by David Brownell | 4 | * Copyright (C) 2002-2005 by David Brownell |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License as published by | ||
| 7 | * the Free Software Foundation; either version 2 of the License, or | ||
| 8 | * (at your option) any later version. | ||
| 9 | * | ||
| 10 | * This program is distributed in the hope that it will be useful, | ||
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | * GNU General Public License for more details. | ||
| 14 | * | ||
| 15 | * You should have received a copy of the GNU General Public License | ||
| 16 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | 5 | */ |
| 18 | 6 | ||
| 19 | // #define DEBUG // error path messages, extra info | 7 | // #define DEBUG // error path messages, extra info |
diff --git a/drivers/net/veth.c b/drivers/net/veth.c index 09a1433b0833..52110e54e621 100644 --- a/drivers/net/veth.c +++ b/drivers/net/veth.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * drivers/net/veth.c | 3 | * drivers/net/veth.c |
| 3 | * | 4 | * |
diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index 559c48e66afc..0d4115c9e20b 100644 --- a/drivers/net/virtio_net.c +++ b/drivers/net/virtio_net.c | |||
| @@ -1,19 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* A network driver using virtio. | 2 | /* A network driver using virtio. |
| 2 | * | 3 | * |
| 3 | * Copyright 2007 Rusty Russell <rusty@rustcorp.com.au> IBM Corporation | 4 | * Copyright 2007 Rusty Russell <rusty@rustcorp.com.au> IBM Corporation |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License as published by | ||
| 7 | * the Free Software Foundation; either version 2 of the License, or | ||
| 8 | * (at your option) any later version. | ||
| 9 | * | ||
| 10 | * This program is distributed in the hope that it will be useful, | ||
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | * GNU General Public License for more details. | ||
| 14 | * | ||
| 15 | * You should have received a copy of the GNU General Public License | ||
| 16 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | 5 | */ |
| 18 | //#define DEBUG | 6 | //#define DEBUG |
| 19 | #include <linux/netdevice.h> | 7 | #include <linux/netdevice.h> |
diff --git a/drivers/net/vsockmon.c b/drivers/net/vsockmon.c index 7bad5c95551f..14e324b84617 100644 --- a/drivers/net/vsockmon.c +++ b/drivers/net/vsockmon.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | #include <linux/module.h> | 2 | #include <linux/module.h> |
| 2 | #include <linux/kernel.h> | 3 | #include <linux/kernel.h> |
| 3 | #include <linux/if_arp.h> | 4 | #include <linux/if_arp.h> |
diff --git a/drivers/net/wan/Kconfig b/drivers/net/wan/Kconfig index 4e9fe75d7067..09fdd619ac67 100644 --- a/drivers/net/wan/Kconfig +++ b/drivers/net/wan/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # wan devices configuration | 3 | # wan devices configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/wan/cosa.c b/drivers/net/wan/cosa.c index 55f76e422fa0..af539151d663 100644 --- a/drivers/net/wan/cosa.c +++ b/drivers/net/wan/cosa.c | |||
| @@ -1,22 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* $Id: cosa.c,v 1.31 2000/03/08 17:47:16 kas Exp $ */ | 2 | /* $Id: cosa.c,v 1.31 2000/03/08 17:47:16 kas Exp $ */ |
| 2 | 3 | ||
| 3 | /* | 4 | /* |
| 4 | * Copyright (C) 1995-1997 Jan "Yenya" Kasprzak <kas@fi.muni.cz> | 5 | * Copyright (C) 1995-1997 Jan "Yenya" Kasprzak <kas@fi.muni.cz> |
| 5 | * Generic HDLC port Copyright (C) 2008 Krzysztof Halasa <khc@pm.waw.pl> | 6 | * Generic HDLC port Copyright (C) 2008 Krzysztof Halasa <khc@pm.waw.pl> |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License as published by | ||
| 9 | * the Free Software Foundation; either version 2 of the License, or | ||
| 10 | * (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program; if not, write to the Free Software | ||
| 19 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | ||
| 20 | */ | 7 | */ |
| 21 | 8 | ||
| 22 | /* | 9 | /* |
diff --git a/drivers/net/wan/cosa.h b/drivers/net/wan/cosa.h index 028f3d96b971..f57e0af9d56a 100644 --- a/drivers/net/wan/cosa.h +++ b/drivers/net/wan/cosa.h | |||
| @@ -1,21 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* $Id: cosa.h,v 1.6 1999/01/06 14:02:44 kas Exp $ */ | 2 | /* $Id: cosa.h,v 1.6 1999/01/06 14:02:44 kas Exp $ */ |
| 2 | 3 | ||
| 3 | /* | 4 | /* |
| 4 | * Copyright (C) 1995-1997 Jan "Yenya" Kasprzak <kas@fi.muni.cz> | 5 | * Copyright (C) 1995-1997 Jan "Yenya" Kasprzak <kas@fi.muni.cz> |
| 5 | * | ||
| 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., 675 Mass Ave, Cambridge, MA 02139, USA. | ||
| 19 | */ | 6 | */ |
| 20 | 7 | ||
| 21 | #ifndef COSA_H__ | 8 | #ifndef COSA_H__ |
diff --git a/drivers/net/wan/hostess_sv11.c b/drivers/net/wan/hostess_sv11.c index 4de0737fbf8a..6c05c4c8914a 100644 --- a/drivers/net/wan/hostess_sv11.c +++ b/drivers/net/wan/hostess_sv11.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Comtrol SV11 card driver | 3 | * Comtrol SV11 card driver |
| 3 | * | 4 | * |
diff --git a/drivers/net/wan/lapbether.c b/drivers/net/wan/lapbether.c index 0e3f8ed84660..0f1217b506ad 100644 --- a/drivers/net/wan/lapbether.c +++ b/drivers/net/wan/lapbether.c | |||
| @@ -1,14 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * "LAPB via ethernet" driver release 001 | 3 | * "LAPB via ethernet" driver release 001 |
| 3 | * | 4 | * |
| 4 | * This code REQUIRES 2.1.15 or higher/ NET3.038 | 5 | * This code REQUIRES 2.1.15 or higher/ NET3.038 |
| 5 | * | 6 | * |
| 6 | * This module: | ||
| 7 | * This module is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License | ||
| 9 | * as published by the Free Software Foundation; either version | ||
| 10 | * 2 of the License, or (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This is a "pseudo" network driver to allow LAPB over Ethernet. | 7 | * This is a "pseudo" network driver to allow LAPB over Ethernet. |
| 13 | * | 8 | * |
| 14 | * This driver can use any ethernet destination address, and can be | 9 | * This driver can use any ethernet destination address, and can be |
diff --git a/drivers/net/wan/lmc/Makefile b/drivers/net/wan/lmc/Makefile index 247f60c401ef..f00fe4491d69 100644 --- a/drivers/net/wan/lmc/Makefile +++ b/drivers/net/wan/lmc/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Lan Media 21140 based WAN cards | 3 | # Makefile for the Lan Media 21140 based WAN cards |
| 3 | # Specifically the 1000,1200,5200,5245 | 4 | # Specifically the 1000,1200,5200,5245 |
diff --git a/drivers/net/wan/x25_asy.c b/drivers/net/wan/x25_asy.c index 46c3d983b7b7..d78bc838d631 100644 --- a/drivers/net/wan/x25_asy.c +++ b/drivers/net/wan/x25_asy.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Things to sort out: | 3 | * Things to sort out: |
| 3 | * | 4 | * |
diff --git a/drivers/net/wimax/Kconfig b/drivers/net/wimax/Kconfig index 565018ec1e3b..2249e3d77a76 100644 --- a/drivers/net/wimax/Kconfig +++ b/drivers/net/wimax/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # WiMAX LAN device drivers configuration | 3 | # WiMAX LAN device drivers configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/wimax/Makefile b/drivers/net/wimax/Makefile index 692184dd674a..b4575bacf994 100644 --- a/drivers/net/wimax/Makefile +++ b/drivers/net/wimax/Makefile | |||
| @@ -1 +1,2 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_WIMAX_I2400M) += i2400m/ | 2 | obj-$(CONFIG_WIMAX_I2400M) += i2400m/ |
diff --git a/drivers/net/wimax/i2400m/Kconfig b/drivers/net/wimax/i2400m/Kconfig index 71453db14258..843b905a26a3 100644 --- a/drivers/net/wimax/i2400m/Kconfig +++ b/drivers/net/wimax/i2400m/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | 2 | ||
| 2 | config WIMAX_I2400M | 3 | config WIMAX_I2400M |
| 3 | tristate | 4 | tristate |
diff --git a/drivers/net/wireless/Kconfig b/drivers/net/wireless/Kconfig index 8c456a66ac3b..1c98d781ae49 100644 --- a/drivers/net/wireless/Kconfig +++ b/drivers/net/wireless/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Wireless LAN device configuration | 3 | # Wireless LAN device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/wireless/admtek/Kconfig b/drivers/net/wireless/admtek/Kconfig index 9317367e37f0..a91cc1459c96 100644 --- a/drivers/net/wireless/admtek/Kconfig +++ b/drivers/net/wireless/admtek/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config WLAN_VENDOR_ADMTEK | 2 | config WLAN_VENDOR_ADMTEK |
| 2 | bool "ADMtek devices" | 3 | bool "ADMtek devices" |
| 3 | default y | 4 | default y |
diff --git a/drivers/net/wireless/admtek/Makefile b/drivers/net/wireless/admtek/Makefile index 9cca7e571cdd..709c2bca53ed 100644 --- a/drivers/net/wireless/admtek/Makefile +++ b/drivers/net/wireless/admtek/Makefile | |||
| @@ -1 +1,2 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_ADM8211) += adm8211.o | 2 | obj-$(CONFIG_ADM8211) += adm8211.o |
diff --git a/drivers/net/wireless/ath/Kconfig b/drivers/net/wireless/ath/Kconfig index 82ab7c33cf97..af2049e99188 100644 --- a/drivers/net/wireless/ath/Kconfig +++ b/drivers/net/wireless/ath/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config ATH_COMMON | 2 | config ATH_COMMON |
| 2 | tristate | 3 | tristate |
| 3 | 4 | ||
diff --git a/drivers/net/wireless/ath/ar5523/Kconfig b/drivers/net/wireless/ath/ar5523/Kconfig index 0d320cc7769b..75fc66983da5 100644 --- a/drivers/net/wireless/ath/ar5523/Kconfig +++ b/drivers/net/wireless/ath/ar5523/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config AR5523 | 2 | config AR5523 |
| 2 | tristate "Atheros AR5523 wireless driver support" | 3 | tristate "Atheros AR5523 wireless driver support" |
| 3 | depends on MAC80211 && USB | 4 | depends on MAC80211 && USB |
diff --git a/drivers/net/wireless/ath/ar5523/Makefile b/drivers/net/wireless/ath/ar5523/Makefile index ebf7f3bf0a33..84fc88aa109e 100644 --- a/drivers/net/wireless/ath/ar5523/Makefile +++ b/drivers/net/wireless/ath/ar5523/Makefile | |||
| @@ -1 +1,2 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_AR5523) := ar5523.o | 2 | obj-$(CONFIG_AR5523) := ar5523.o |
diff --git a/drivers/net/wireless/ath/ath10k/Kconfig b/drivers/net/wireless/ath/ath10k/Kconfig index a7fb5441ced4..3522f251fa7f 100644 --- a/drivers/net/wireless/ath/ath10k/Kconfig +++ b/drivers/net/wireless/ath/ath10k/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config ATH10K | 2 | config ATH10K |
| 2 | tristate "Atheros 802.11ac wireless cards support" | 3 | tristate "Atheros 802.11ac wireless cards support" |
| 3 | depends on MAC80211 && HAS_DMA | 4 | depends on MAC80211 && HAS_DMA |
diff --git a/drivers/net/wireless/ath/ath5k/Kconfig b/drivers/net/wireless/ath/ath5k/Kconfig index b1278f9f24ba..c587146795f6 100644 --- a/drivers/net/wireless/ath/ath5k/Kconfig +++ b/drivers/net/wireless/ath/ath5k/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config ATH5K | 2 | config ATH5K |
| 2 | tristate "Atheros 5xxx wireless cards support" | 3 | tristate "Atheros 5xxx wireless cards support" |
| 3 | depends on (PCI || ATH25) && MAC80211 | 4 | depends on (PCI || ATH25) && MAC80211 |
diff --git a/drivers/net/wireless/ath/ath6kl/Kconfig b/drivers/net/wireless/ath/ath6kl/Kconfig index 9c125ff083f7..2b27a87e74f5 100644 --- a/drivers/net/wireless/ath/ath6kl/Kconfig +++ b/drivers/net/wireless/ath/ath6kl/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config ATH6KL | 2 | config ATH6KL |
| 2 | tristate "Atheros mobile chipsets support" | 3 | tristate "Atheros mobile chipsets support" |
| 3 | depends on CFG80211 | 4 | depends on CFG80211 |
diff --git a/drivers/net/wireless/ath/ath9k/Kconfig b/drivers/net/wireless/ath/ath9k/Kconfig index ceca23a851d5..a1ef8769983a 100644 --- a/drivers/net/wireless/ath/ath9k/Kconfig +++ b/drivers/net/wireless/ath/ath9k/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config ATH9K_HW | 2 | config ATH9K_HW |
| 2 | tristate | 3 | tristate |
| 3 | config ATH9K_COMMON | 4 | config ATH9K_COMMON |
diff --git a/drivers/net/wireless/ath/carl9170/Kconfig b/drivers/net/wireless/ath/carl9170/Kconfig index 2e34baeaf764..757eb765e17c 100644 --- a/drivers/net/wireless/ath/carl9170/Kconfig +++ b/drivers/net/wireless/ath/carl9170/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config CARL9170 | 2 | config CARL9170 |
| 2 | tristate "Linux Community AR9170 802.11n USB support" | 3 | tristate "Linux Community AR9170 802.11n USB support" |
| 3 | depends on USB && MAC80211 | 4 | depends on USB && MAC80211 |
diff --git a/drivers/net/wireless/ath/carl9170/Makefile b/drivers/net/wireless/ath/carl9170/Makefile index f64ed76af8ad..1a81868ce26d 100644 --- a/drivers/net/wireless/ath/carl9170/Makefile +++ b/drivers/net/wireless/ath/carl9170/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | carl9170-objs := main.o usb.o cmd.o mac.o phy.o led.o fw.o tx.o rx.o | 2 | carl9170-objs := main.o usb.o cmd.o mac.o phy.o led.o fw.o tx.o rx.o |
| 2 | carl9170-$(CONFIG_CARL9170_DEBUGFS) += debug.o | 3 | carl9170-$(CONFIG_CARL9170_DEBUGFS) += debug.o |
| 3 | 4 | ||
diff --git a/drivers/net/wireless/ath/carl9170/fw.c b/drivers/net/wireless/ath/carl9170/fw.c index 88045f93a76c..51934d191f33 100644 --- a/drivers/net/wireless/ath/carl9170/fw.c +++ b/drivers/net/wireless/ath/carl9170/fw.c | |||
| @@ -1,23 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Atheros CARL9170 driver | 3 | * Atheros CARL9170 driver |
| 3 | * | 4 | * |
| 4 | * firmware parser | 5 | * firmware parser |
| 5 | * | 6 | * |
| 6 | * Copyright 2009, 2010, Christian Lamparter <chunkeey@googlemail.com> | 7 | * Copyright 2009, 2010, Christian Lamparter <chunkeey@googlemail.com> |
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify | ||
| 9 | * it under the terms of the GNU General Public License as published by | ||
| 10 | * the Free Software Foundation; either version 2 of the License, or | ||
| 11 | * (at your option) any later version. | ||
| 12 | * | ||
| 13 | * This program is distributed in the hope that it will be useful, | ||
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public License | ||
| 19 | * along with this program; see the file COPYING. If not, see | ||
| 20 | * http://www.gnu.org/licenses/. | ||
| 21 | */ | 8 | */ |
| 22 | 9 | ||
| 23 | #include <linux/kernel.h> | 10 | #include <linux/kernel.h> |
diff --git a/drivers/net/wireless/ath/wcn36xx/Kconfig b/drivers/net/wireless/ath/wcn36xx/Kconfig index 20bf967a70b9..4ab2d59ff2ca 100644 --- a/drivers/net/wireless/ath/wcn36xx/Kconfig +++ b/drivers/net/wireless/ath/wcn36xx/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config WCN36XX | 2 | config WCN36XX |
| 2 | tristate "Qualcomm Atheros WCN3660/3680 support" | 3 | tristate "Qualcomm Atheros WCN3660/3680 support" |
| 3 | depends on MAC80211 && HAS_DMA | 4 | depends on MAC80211 && HAS_DMA |
diff --git a/drivers/net/wireless/ath/wil6210/Kconfig b/drivers/net/wireless/ath/wil6210/Kconfig index 3548e8d5e18e..b1a339859feb 100644 --- a/drivers/net/wireless/ath/wil6210/Kconfig +++ b/drivers/net/wireless/ath/wil6210/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config WIL6210 | 2 | config WIL6210 |
| 2 | tristate "Wilocity 60g WiFi card wil6210 support" | 3 | tristate "Wilocity 60g WiFi card wil6210 support" |
| 3 | select WANT_DEV_COREDUMP | 4 | select WANT_DEV_COREDUMP |
diff --git a/drivers/net/wireless/atmel/Kconfig b/drivers/net/wireless/atmel/Kconfig index 3e684f8c1f93..809bdf331848 100644 --- a/drivers/net/wireless/atmel/Kconfig +++ b/drivers/net/wireless/atmel/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config WLAN_VENDOR_ATMEL | 2 | config WLAN_VENDOR_ATMEL |
| 2 | bool "Atmel devices" | 3 | bool "Atmel devices" |
| 3 | default y | 4 | default y |
diff --git a/drivers/net/wireless/atmel/Makefile b/drivers/net/wireless/atmel/Makefile index e62e345f7af6..17e62805677d 100644 --- a/drivers/net/wireless/atmel/Makefile +++ b/drivers/net/wireless/atmel/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_ATMEL) += atmel.o | 2 | obj-$(CONFIG_ATMEL) += atmel.o |
| 2 | obj-$(CONFIG_PCI_ATMEL) += atmel_pci.o | 3 | obj-$(CONFIG_PCI_ATMEL) += atmel_pci.o |
| 3 | obj-$(CONFIG_PCMCIA_ATMEL) += atmel_cs.o | 4 | obj-$(CONFIG_PCMCIA_ATMEL) += atmel_cs.o |
diff --git a/drivers/net/wireless/atmel/atmel.h b/drivers/net/wireless/atmel/atmel.h index 96f7318cbb04..d2aa52cf6e8b 100644 --- a/drivers/net/wireless/atmel/atmel.h +++ b/drivers/net/wireless/atmel/atmel.h | |||
| @@ -1,22 +1,10 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /*** -*- linux-c -*- ********************************************************** | 2 | /*** -*- linux-c -*- ********************************************************** |
| 2 | 3 | ||
| 3 | Driver for Atmel at76c502 at76c504 and at76c506 wireless cards. | 4 | Driver for Atmel at76c502 at76c504 and at76c506 wireless cards. |
| 4 | 5 | ||
| 5 | Copyright 2005 Dan Williams and Red Hat, Inc. | 6 | Copyright 2005 Dan Williams and Red Hat, Inc. |
| 6 | 7 | ||
| 7 | This program is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 2 of the License, or | ||
| 10 | (at your option) any later version. | ||
| 11 | |||
| 12 | This software is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with Atmel wireless lan drivers; if not, see | ||
| 19 | <http://www.gnu.org/licenses/>. | ||
| 20 | 8 | ||
| 21 | ******************************************************************************/ | 9 | ******************************************************************************/ |
| 22 | 10 | ||
diff --git a/drivers/net/wireless/atmel/atmel_pci.c b/drivers/net/wireless/atmel/atmel_pci.c index 30df58a41a83..47f7ccb32414 100644 --- a/drivers/net/wireless/atmel/atmel_pci.c +++ b/drivers/net/wireless/atmel/atmel_pci.c | |||
| @@ -1,22 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /*** -*- linux-c -*- ********************************************************** | 2 | /*** -*- linux-c -*- ********************************************************** |
| 2 | 3 | ||
| 3 | Driver for Atmel at76c502 at76c504 and at76c506 wireless cards. | 4 | Driver for Atmel at76c502 at76c504 and at76c506 wireless cards. |
| 4 | 5 | ||
| 5 | Copyright 2004 Simon Kelley. | 6 | Copyright 2004 Simon Kelley. |
| 6 | 7 | ||
| 7 | This program is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 2 of the License, or | ||
| 10 | (at your option) any later version. | ||
| 11 | |||
| 12 | This software is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with Atmel wireless lan drivers; if not, see | ||
| 19 | <http://www.gnu.org/licenses/>. | ||
| 20 | 8 | ||
| 21 | ******************************************************************************/ | 9 | ******************************************************************************/ |
| 22 | #include <linux/pci.h> | 10 | #include <linux/pci.h> |
diff --git a/drivers/net/wireless/broadcom/Kconfig b/drivers/net/wireless/broadcom/Kconfig index eebe2864835f..bb1cb402a919 100644 --- a/drivers/net/wireless/broadcom/Kconfig +++ b/drivers/net/wireless/broadcom/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config WLAN_VENDOR_BROADCOM | 2 | config WLAN_VENDOR_BROADCOM |
| 2 | bool "Broadcom devices" | 3 | bool "Broadcom devices" |
| 3 | default y | 4 | default y |
diff --git a/drivers/net/wireless/broadcom/Makefile b/drivers/net/wireless/broadcom/Makefile index 9d5ac95710c3..1a8384daed2c 100644 --- a/drivers/net/wireless/broadcom/Makefile +++ b/drivers/net/wireless/broadcom/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_B43) += b43/ | 2 | obj-$(CONFIG_B43) += b43/ |
| 2 | obj-$(CONFIG_B43LEGACY) += b43legacy/ | 3 | obj-$(CONFIG_B43LEGACY) += b43legacy/ |
| 3 | 4 | ||
diff --git a/drivers/net/wireless/broadcom/b43/Kconfig b/drivers/net/wireless/broadcom/b43/Kconfig index 3e4145747b20..3b582e76762b 100644 --- a/drivers/net/wireless/broadcom/b43/Kconfig +++ b/drivers/net/wireless/broadcom/b43/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config B43 | 2 | config B43 |
| 2 | tristate "Broadcom 43xx wireless support (mac80211 stack)" | 3 | tristate "Broadcom 43xx wireless support (mac80211 stack)" |
| 3 | depends on (BCMA_POSSIBLE || SSB_POSSIBLE) && MAC80211 && HAS_DMA | 4 | depends on (BCMA_POSSIBLE || SSB_POSSIBLE) && MAC80211 && HAS_DMA |
diff --git a/drivers/net/wireless/broadcom/b43/bus.c b/drivers/net/wireless/broadcom/b43/bus.c index 17d16a391fe6..fdb1c82892d6 100644 --- a/drivers/net/wireless/broadcom/b43/bus.c +++ b/drivers/net/wireless/broadcom/b43/bus.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | 3 | ||
| 3 | Broadcom B43 wireless driver | 4 | Broadcom B43 wireless driver |
| @@ -5,20 +6,6 @@ | |||
| 5 | 6 | ||
| 6 | Copyright (c) 2011 Rafał Miłecki <zajec5@gmail.com> | 7 | Copyright (c) 2011 Rafał Miłecki <zajec5@gmail.com> |
| 7 | 8 | ||
| 8 | This program is free software; you can redistribute it and/or modify | ||
| 9 | it under the terms of the GNU General Public License as published by | ||
| 10 | the Free Software Foundation; either version 2 of the License, or | ||
| 11 | (at your option) any later version. | ||
| 12 | |||
| 13 | This program is distributed in the hope that it will be useful, | ||
| 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | GNU General Public License for more details. | ||
| 17 | |||
| 18 | You should have received a copy of the GNU General Public License | ||
| 19 | along with this program; see the file COPYING. If not, write to | ||
| 20 | the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, | ||
| 21 | Boston, MA 02110-1301, USA. | ||
| 22 | 9 | ||
| 23 | */ | 10 | */ |
| 24 | 11 | ||
diff --git a/drivers/net/wireless/broadcom/b43/debugfs.c b/drivers/net/wireless/broadcom/b43/debugfs.c index 976c8ec4e992..1325727a74ed 100644 --- a/drivers/net/wireless/broadcom/b43/debugfs.c +++ b/drivers/net/wireless/broadcom/b43/debugfs.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | 3 | ||
| 3 | Broadcom B43 wireless driver | 4 | Broadcom B43 wireless driver |
| @@ -6,20 +7,6 @@ | |||
| 6 | 7 | ||
| 7 | Copyright (c) 2005-2007 Michael Buesch <m@bues.ch> | 8 | Copyright (c) 2005-2007 Michael Buesch <m@bues.ch> |
| 8 | 9 | ||
| 9 | This program is free software; you can redistribute it and/or modify | ||
| 10 | it under the terms of the GNU General Public License as published by | ||
| 11 | the Free Software Foundation; either version 2 of the License, or | ||
| 12 | (at your option) any later version. | ||
| 13 | |||
| 14 | This program is distributed in the hope that it will be useful, | ||
| 15 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 17 | GNU General Public License for more details. | ||
| 18 | |||
| 19 | You should have received a copy of the GNU General Public License | ||
| 20 | along with this program; see the file COPYING. If not, write to | ||
| 21 | the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, | ||
| 22 | Boston, MA 02110-1301, USA. | ||
| 23 | 10 | ||
| 24 | */ | 11 | */ |
| 25 | 12 | ||
diff --git a/drivers/net/wireless/broadcom/b43/dma.c b/drivers/net/wireless/broadcom/b43/dma.c index b34e51933257..806406aab43d 100644 --- a/drivers/net/wireless/broadcom/b43/dma.c +++ b/drivers/net/wireless/broadcom/b43/dma.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | 3 | ||
| 3 | Broadcom B43 wireless driver | 4 | Broadcom B43 wireless driver |
| @@ -10,20 +11,6 @@ | |||
| 10 | Copyright (C) 2002 David S. Miller | 11 | Copyright (C) 2002 David S. Miller |
| 11 | Copyright (C) Pekka Pietikainen | 12 | Copyright (C) Pekka Pietikainen |
| 12 | 13 | ||
| 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; see the file COPYING. If not, write to | ||
| 25 | the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, | ||
| 26 | Boston, MA 02110-1301, USA. | ||
| 27 | 14 | ||
| 28 | */ | 15 | */ |
| 29 | 16 | ||
diff --git a/drivers/net/wireless/broadcom/b43/leds.c b/drivers/net/wireless/broadcom/b43/leds.c index 87131f663292..982a772a9d87 100644 --- a/drivers/net/wireless/broadcom/b43/leds.c +++ b/drivers/net/wireless/broadcom/b43/leds.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | 3 | ||
| 3 | Broadcom B43 wireless driver | 4 | Broadcom B43 wireless driver |
| @@ -9,20 +10,6 @@ | |||
| 9 | Copyright (c) 2005 Danny van Dyk <kugelfang@gentoo.org> | 10 | Copyright (c) 2005 Danny van Dyk <kugelfang@gentoo.org> |
| 10 | Copyright (c) 2005 Andreas Jaggi <andreas.jaggi@waterwave.ch> | 11 | Copyright (c) 2005 Andreas Jaggi <andreas.jaggi@waterwave.ch> |
| 11 | 12 | ||
| 12 | This program is free software; you can redistribute it and/or modify | ||
| 13 | it under the terms of the GNU General Public License as published by | ||
| 14 | the Free Software Foundation; either version 2 of the License, or | ||
| 15 | (at your option) any later version. | ||
| 16 | |||
| 17 | This program is distributed in the hope that it will be useful, | ||
| 18 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 19 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 20 | GNU General Public License for more details. | ||
| 21 | |||
| 22 | You should have received a copy of the GNU General Public License | ||
| 23 | along with this program; see the file COPYING. If not, write to | ||
| 24 | the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, | ||
| 25 | Boston, MA 02110-1301, USA. | ||
| 26 | 13 | ||
| 27 | */ | 14 | */ |
| 28 | 15 | ||
diff --git a/drivers/net/wireless/broadcom/b43/lo.c b/drivers/net/wireless/broadcom/b43/lo.c index a335f94c72ff..5d97cf06eceb 100644 --- a/drivers/net/wireless/broadcom/b43/lo.c +++ b/drivers/net/wireless/broadcom/b43/lo.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | 3 | ||
| 3 | Broadcom B43 wireless driver | 4 | Broadcom B43 wireless driver |
| @@ -10,20 +11,6 @@ | |||
| 10 | Copyright (c) 2005, 2006 Danny van Dyk <kugelfang@gentoo.org> | 11 | Copyright (c) 2005, 2006 Danny van Dyk <kugelfang@gentoo.org> |
| 11 | Copyright (c) 2005, 2006 Andreas Jaggi <andreas.jaggi@waterwave.ch> | 12 | Copyright (c) 2005, 2006 Andreas Jaggi <andreas.jaggi@waterwave.ch> |
| 12 | 13 | ||
| 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; see the file COPYING. If not, write to | ||
| 25 | the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, | ||
| 26 | Boston, MA 02110-1301, USA. | ||
| 27 | 14 | ||
| 28 | */ | 15 | */ |
| 29 | 16 | ||
diff --git a/drivers/net/wireless/broadcom/b43/main.c b/drivers/net/wireless/broadcom/b43/main.c index 4c7980f84591..20815a71680b 100644 --- a/drivers/net/wireless/broadcom/b43/main.c +++ b/drivers/net/wireless/broadcom/b43/main.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | 3 | ||
| 3 | Broadcom B43 wireless driver | 4 | Broadcom B43 wireless driver |
| @@ -15,20 +16,6 @@ | |||
| 15 | Some parts of the code in this file are derived from the ipw2200 | 16 | Some parts of the code in this file are derived from the ipw2200 |
| 16 | driver Copyright(c) 2003 - 2004 Intel Corporation. | 17 | driver Copyright(c) 2003 - 2004 Intel Corporation. |
| 17 | 18 | ||
| 18 | This program is free software; you can redistribute it and/or modify | ||
| 19 | it under the terms of the GNU General Public License as published by | ||
| 20 | the Free Software Foundation; either version 2 of the License, or | ||
| 21 | (at your option) any later version. | ||
| 22 | |||
| 23 | This program is distributed in the hope that it will be useful, | ||
| 24 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 25 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 26 | GNU General Public License for more details. | ||
| 27 | |||
| 28 | You should have received a copy of the GNU General Public License | ||
| 29 | along with this program; see the file COPYING. If not, write to | ||
| 30 | the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, | ||
| 31 | Boston, MA 02110-1301, USA. | ||
| 32 | 19 | ||
| 33 | */ | 20 | */ |
| 34 | 21 | ||
diff --git a/drivers/net/wireless/broadcom/b43/main.h b/drivers/net/wireless/broadcom/b43/main.h index c46430cc725c..d94ab86e8495 100644 --- a/drivers/net/wireless/broadcom/b43/main.h +++ b/drivers/net/wireless/broadcom/b43/main.h | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | 3 | ||
| 3 | Broadcom B43 wireless driver | 4 | Broadcom B43 wireless driver |
| @@ -11,20 +12,6 @@ | |||
| 11 | Some parts of the code in this file are derived from the ipw2200 | 12 | Some parts of the code in this file are derived from the ipw2200 |
| 12 | driver Copyright(c) 2003 - 2004 Intel Corporation. | 13 | driver Copyright(c) 2003 - 2004 Intel Corporation. |
| 13 | 14 | ||
| 14 | This program is free software; you can redistribute it and/or modify | ||
| 15 | it under the terms of the GNU General Public License as published by | ||
| 16 | the Free Software Foundation; either version 2 of the License, or | ||
| 17 | (at your option) any later version. | ||
| 18 | |||
| 19 | This program is distributed in the hope that it will be useful, | ||
| 20 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | GNU General Public License for more details. | ||
| 23 | |||
| 24 | You should have received a copy of the GNU General Public License | ||
| 25 | along with this program; see the file COPYING. If not, write to | ||
| 26 | the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, | ||
| 27 | Boston, MA 02110-1301, USA. | ||
| 28 | 15 | ||
| 29 | */ | 16 | */ |
| 30 | 17 | ||
diff --git a/drivers/net/wireless/broadcom/b43/phy_common.c b/drivers/net/wireless/broadcom/b43/phy_common.c index 98c4fa5b919c..923d4cb9fc30 100644 --- a/drivers/net/wireless/broadcom/b43/phy_common.c +++ b/drivers/net/wireless/broadcom/b43/phy_common.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | 3 | ||
| 3 | Broadcom B43 wireless driver | 4 | Broadcom B43 wireless driver |
| @@ -9,20 +10,6 @@ | |||
| 9 | Copyright (c) 2005, 2006 Danny van Dyk <kugelfang@gentoo.org> | 10 | Copyright (c) 2005, 2006 Danny van Dyk <kugelfang@gentoo.org> |
| 10 | Copyright (c) 2005, 2006 Andreas Jaggi <andreas.jaggi@waterwave.ch> | 11 | Copyright (c) 2005, 2006 Andreas Jaggi <andreas.jaggi@waterwave.ch> |
| 11 | 12 | ||
| 12 | This program is free software; you can redistribute it and/or modify | ||
| 13 | it under the terms of the GNU General Public License as published by | ||
| 14 | the Free Software Foundation; either version 2 of the License, or | ||
| 15 | (at your option) any later version. | ||
| 16 | |||
| 17 | This program is distributed in the hope that it will be useful, | ||
| 18 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 19 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 20 | GNU General Public License for more details. | ||
| 21 | |||
| 22 | You should have received a copy of the GNU General Public License | ||
| 23 | along with this program; see the file COPYING. If not, write to | ||
| 24 | the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, | ||
| 25 | Boston, MA 02110-1301, USA. | ||
| 26 | 13 | ||
| 27 | */ | 14 | */ |
| 28 | 15 | ||
diff --git a/drivers/net/wireless/broadcom/b43/phy_g.c b/drivers/net/wireless/broadcom/b43/phy_g.c index f59c02166462..1e022ec733a3 100644 --- a/drivers/net/wireless/broadcom/b43/phy_g.c +++ b/drivers/net/wireless/broadcom/b43/phy_g.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | 3 | ||
| 3 | Broadcom B43 wireless driver | 4 | Broadcom B43 wireless driver |
| @@ -9,20 +10,6 @@ | |||
| 9 | Copyright (c) 2005, 2006 Danny van Dyk <kugelfang@gentoo.org> | 10 | Copyright (c) 2005, 2006 Danny van Dyk <kugelfang@gentoo.org> |
| 10 | Copyright (c) 2005, 2006 Andreas Jaggi <andreas.jaggi@waterwave.ch> | 11 | Copyright (c) 2005, 2006 Andreas Jaggi <andreas.jaggi@waterwave.ch> |
| 11 | 12 | ||
| 12 | This program is free software; you can redistribute it and/or modify | ||
| 13 | it under the terms of the GNU General Public License as published by | ||
| 14 | the Free Software Foundation; either version 2 of the License, or | ||
| 15 | (at your option) any later version. | ||
| 16 | |||
| 17 | This program is distributed in the hope that it will be useful, | ||
| 18 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 19 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 20 | GNU General Public License for more details. | ||
| 21 | |||
| 22 | You should have received a copy of the GNU General Public License | ||
| 23 | along with this program; see the file COPYING. If not, write to | ||
| 24 | the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, | ||
| 25 | Boston, MA 02110-1301, USA. | ||
| 26 | 13 | ||
| 27 | */ | 14 | */ |
| 28 | 15 | ||
diff --git a/drivers/net/wireless/broadcom/b43/phy_ht.c b/drivers/net/wireless/broadcom/b43/phy_ht.c index c3158d085c2b..6033df1c3053 100644 --- a/drivers/net/wireless/broadcom/b43/phy_ht.c +++ b/drivers/net/wireless/broadcom/b43/phy_ht.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | 3 | ||
| 3 | Broadcom B43 wireless driver | 4 | Broadcom B43 wireless driver |
| @@ -5,20 +6,6 @@ | |||
| 5 | 6 | ||
| 6 | Copyright (c) 2011 Rafał Miłecki <zajec5@gmail.com> | 7 | Copyright (c) 2011 Rafał Miłecki <zajec5@gmail.com> |
| 7 | 8 | ||
| 8 | This program is free software; you can redistribute it and/or modify | ||
| 9 | it under the terms of the GNU General Public License as published by | ||
| 10 | the Free Software Foundation; either version 2 of the License, or | ||
| 11 | (at your option) any later version. | ||
| 12 | |||
| 13 | This program is distributed in the hope that it will be useful, | ||
| 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | GNU General Public License for more details. | ||
| 17 | |||
| 18 | You should have received a copy of the GNU General Public License | ||
| 19 | along with this program; see the file COPYING. If not, write to | ||
| 20 | the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, | ||
| 21 | Boston, MA 02110-1301, USA. | ||
| 22 | 9 | ||
| 23 | */ | 10 | */ |
| 24 | 11 | ||
diff --git a/drivers/net/wireless/broadcom/b43/phy_lp.c b/drivers/net/wireless/broadcom/b43/phy_lp.c index 6b7f0238723f..cfb953d61dc5 100644 --- a/drivers/net/wireless/broadcom/b43/phy_lp.c +++ b/drivers/net/wireless/broadcom/b43/phy_lp.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | 3 | ||
| 3 | Broadcom B43 wireless driver | 4 | Broadcom B43 wireless driver |
| @@ -6,20 +7,6 @@ | |||
| 6 | Copyright (c) 2008-2009 Michael Buesch <m@bues.ch> | 7 | Copyright (c) 2008-2009 Michael Buesch <m@bues.ch> |
| 7 | Copyright (c) 2009 Gábor Stefanik <netrolller.3d@gmail.com> | 8 | Copyright (c) 2009 Gábor Stefanik <netrolller.3d@gmail.com> |
| 8 | 9 | ||
| 9 | This program is free software; you can redistribute it and/or modify | ||
| 10 | it under the terms of the GNU General Public License as published by | ||
| 11 | the Free Software Foundation; either version 2 of the License, or | ||
| 12 | (at your option) any later version. | ||
| 13 | |||
| 14 | This program is distributed in the hope that it will be useful, | ||
| 15 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 17 | GNU General Public License for more details. | ||
| 18 | |||
| 19 | You should have received a copy of the GNU General Public License | ||
| 20 | along with this program; see the file COPYING. If not, write to | ||
| 21 | the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, | ||
| 22 | Boston, MA 02110-1301, USA. | ||
| 23 | 10 | ||
| 24 | */ | 11 | */ |
| 25 | 12 | ||
diff --git a/drivers/net/wireless/broadcom/b43/phy_n.c b/drivers/net/wireless/broadcom/b43/phy_n.c index 77d7cd5563c4..d3c001fa8eb4 100644 --- a/drivers/net/wireless/broadcom/b43/phy_n.c +++ b/drivers/net/wireless/broadcom/b43/phy_n.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | 3 | ||
| 3 | Broadcom B43 wireless driver | 4 | Broadcom B43 wireless driver |
| @@ -6,20 +7,6 @@ | |||
| 6 | Copyright (c) 2008 Michael Buesch <m@bues.ch> | 7 | Copyright (c) 2008 Michael Buesch <m@bues.ch> |
| 7 | Copyright (c) 2010-2011 Rafał Miłecki <zajec5@gmail.com> | 8 | Copyright (c) 2010-2011 Rafał Miłecki <zajec5@gmail.com> |
| 8 | 9 | ||
| 9 | This program is free software; you can redistribute it and/or modify | ||
| 10 | it under the terms of the GNU General Public License as published by | ||
| 11 | the Free Software Foundation; either version 2 of the License, or | ||
| 12 | (at your option) any later version. | ||
| 13 | |||
| 14 | This program is distributed in the hope that it will be useful, | ||
| 15 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 17 | GNU General Public License for more details. | ||
| 18 | |||
| 19 | You should have received a copy of the GNU General Public License | ||
| 20 | along with this program; see the file COPYING. If not, write to | ||
| 21 | the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, | ||
| 22 | Boston, MA 02110-1301, USA. | ||
| 23 | 10 | ||
| 24 | */ | 11 | */ |
| 25 | 12 | ||
diff --git a/drivers/net/wireless/broadcom/b43/pio.c b/drivers/net/wireless/broadcom/b43/pio.c index a4ff5e2a42b9..69f8b46c9015 100644 --- a/drivers/net/wireless/broadcom/b43/pio.c +++ b/drivers/net/wireless/broadcom/b43/pio.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | 3 | ||
| 3 | Broadcom B43 wireless driver | 4 | Broadcom B43 wireless driver |
| @@ -6,20 +7,6 @@ | |||
| 6 | 7 | ||
| 7 | Copyright (c) 2005-2008 Michael Buesch <m@bues.ch> | 8 | Copyright (c) 2005-2008 Michael Buesch <m@bues.ch> |
| 8 | 9 | ||
| 9 | This program is free software; you can redistribute it and/or modify | ||
| 10 | it under the terms of the GNU General Public License as published by | ||
| 11 | the Free Software Foundation; either version 2 of the License, or | ||
| 12 | (at your option) any later version. | ||
| 13 | |||
| 14 | This program is distributed in the hope that it will be useful, | ||
| 15 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 17 | GNU General Public License for more details. | ||
| 18 | |||
| 19 | You should have received a copy of the GNU General Public License | ||
| 20 | along with this program; see the file COPYING. If not, write to | ||
| 21 | the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, | ||
| 22 | Boston, MA 02110-1301, USA. | ||
| 23 | 10 | ||
| 24 | */ | 11 | */ |
| 25 | 12 | ||
diff --git a/drivers/net/wireless/broadcom/b43/radio_2055.c b/drivers/net/wireless/broadcom/b43/radio_2055.c index 5289a18ddd8c..be841f891900 100644 --- a/drivers/net/wireless/broadcom/b43/radio_2055.c +++ b/drivers/net/wireless/broadcom/b43/radio_2055.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | 3 | ||
| 3 | Broadcom B43 wireless driver | 4 | Broadcom B43 wireless driver |
| @@ -6,20 +7,6 @@ | |||
| 6 | Copyright (c) 2008 Michael Buesch <m@bues.ch> | 7 | Copyright (c) 2008 Michael Buesch <m@bues.ch> |
| 7 | Copyright (c) 2010 Rafał Miłecki <zajec5@gmail.com> | 8 | Copyright (c) 2010 Rafał Miłecki <zajec5@gmail.com> |
| 8 | 9 | ||
| 9 | This program is free software; you can redistribute it and/or modify | ||
| 10 | it under the terms of the GNU General Public License as published by | ||
| 11 | the Free Software Foundation; either version 2 of the License, or | ||
| 12 | (at your option) any later version. | ||
| 13 | |||
| 14 | This program is distributed in the hope that it will be useful, | ||
| 15 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 17 | GNU General Public License for more details. | ||
| 18 | |||
| 19 | You should have received a copy of the GNU General Public License | ||
| 20 | along with this program; see the file COPYING. If not, write to | ||
| 21 | the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, | ||
| 22 | Boston, MA 02110-1301, USA. | ||
| 23 | 10 | ||
| 24 | */ | 11 | */ |
| 25 | 12 | ||
diff --git a/drivers/net/wireless/broadcom/b43/radio_2056.c b/drivers/net/wireless/broadcom/b43/radio_2056.c index 2ce25607c60d..575c696b7cdf 100644 --- a/drivers/net/wireless/broadcom/b43/radio_2056.c +++ b/drivers/net/wireless/broadcom/b43/radio_2056.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | 3 | ||
| 3 | Broadcom B43 wireless driver | 4 | Broadcom B43 wireless driver |
| @@ -5,20 +6,6 @@ | |||
| 5 | 6 | ||
| 6 | Copyright (c) 2010 Rafał Miłecki <zajec5@gmail.com> | 7 | Copyright (c) 2010 Rafał Miłecki <zajec5@gmail.com> |
| 7 | 8 | ||
| 8 | This program is free software; you can redistribute it and/or modify | ||
| 9 | it under the terms of the GNU General Public License as published by | ||
| 10 | the Free Software Foundation; either version 2 of the License, or | ||
| 11 | (at your option) any later version. | ||
| 12 | |||
| 13 | This program is distributed in the hope that it will be useful, | ||
| 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | GNU General Public License for more details. | ||
| 17 | |||
| 18 | You should have received a copy of the GNU General Public License | ||
| 19 | along with this program; see the file COPYING. If not, write to | ||
| 20 | the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, | ||
| 21 | Boston, MA 02110-1301, USA. | ||
| 22 | 9 | ||
| 23 | */ | 10 | */ |
| 24 | 11 | ||
diff --git a/drivers/net/wireless/broadcom/b43/radio_2057.c b/drivers/net/wireless/broadcom/b43/radio_2057.c index ff1e026a61a1..bd7dafb567ff 100644 --- a/drivers/net/wireless/broadcom/b43/radio_2057.c +++ b/drivers/net/wireless/broadcom/b43/radio_2057.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | 3 | ||
| 3 | Broadcom B43 wireless driver | 4 | Broadcom B43 wireless driver |
| @@ -5,20 +6,6 @@ | |||
| 5 | 6 | ||
| 6 | Copyright (c) 2010 Rafał Miłecki <zajec5@gmail.com> | 7 | Copyright (c) 2010 Rafał Miłecki <zajec5@gmail.com> |
| 7 | 8 | ||
| 8 | This program is free software; you can redistribute it and/or modify | ||
| 9 | it under the terms of the GNU General Public License as published by | ||
| 10 | the Free Software Foundation; either version 2 of the License, or | ||
| 11 | (at your option) any later version. | ||
| 12 | |||
| 13 | This program is distributed in the hope that it will be useful, | ||
| 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | GNU General Public License for more details. | ||
| 17 | |||
| 18 | You should have received a copy of the GNU General Public License | ||
| 19 | along with this program; see the file COPYING. If not, write to | ||
| 20 | the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, | ||
| 21 | Boston, MA 02110-1301, USA. | ||
| 22 | 9 | ||
| 23 | */ | 10 | */ |
| 24 | 11 | ||
diff --git a/drivers/net/wireless/broadcom/b43/radio_2059.c b/drivers/net/wireless/broadcom/b43/radio_2059.c index a3cf9efd7e21..d82fc9b1c166 100644 --- a/drivers/net/wireless/broadcom/b43/radio_2059.c +++ b/drivers/net/wireless/broadcom/b43/radio_2059.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | 3 | ||
| 3 | Broadcom B43 wireless driver | 4 | Broadcom B43 wireless driver |
| @@ -5,20 +6,6 @@ | |||
| 5 | 6 | ||
| 6 | Copyright (c) 2011 Rafał Miłecki <zajec5@gmail.com> | 7 | Copyright (c) 2011 Rafał Miłecki <zajec5@gmail.com> |
| 7 | 8 | ||
| 8 | This program is free software; you can redistribute it and/or modify | ||
| 9 | it under the terms of the GNU General Public License as published by | ||
| 10 | the Free Software Foundation; either version 2 of the License, or | ||
| 11 | (at your option) any later version. | ||
| 12 | |||
| 13 | This program is distributed in the hope that it will be useful, | ||
| 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | GNU General Public License for more details. | ||
| 17 | |||
| 18 | You should have received a copy of the GNU General Public License | ||
| 19 | along with this program; see the file COPYING. If not, write to | ||
| 20 | the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, | ||
| 21 | Boston, MA 02110-1301, USA. | ||
| 22 | 9 | ||
| 23 | */ | 10 | */ |
| 24 | 11 | ||
diff --git a/drivers/net/wireless/broadcom/b43/rfkill.c b/drivers/net/wireless/broadcom/b43/rfkill.c index 70c2fcedd1bb..f0c968703613 100644 --- a/drivers/net/wireless/broadcom/b43/rfkill.c +++ b/drivers/net/wireless/broadcom/b43/rfkill.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | 3 | ||
| 3 | Broadcom B43 wireless driver | 4 | Broadcom B43 wireless driver |
| @@ -5,20 +6,6 @@ | |||
| 5 | 6 | ||
| 6 | Copyright (c) 2007 Michael Buesch <m@bues.ch> | 7 | Copyright (c) 2007 Michael Buesch <m@bues.ch> |
| 7 | 8 | ||
| 8 | This program is free software; you can redistribute it and/or modify | ||
| 9 | it under the terms of the GNU General Public License as published by | ||
| 10 | the Free Software Foundation; either version 2 of the License, or | ||
| 11 | (at your option) any later version. | ||
| 12 | |||
| 13 | This program is distributed in the hope that it will be useful, | ||
| 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | GNU General Public License for more details. | ||
| 17 | |||
| 18 | You should have received a copy of the GNU General Public License | ||
| 19 | along with this program; see the file COPYING. If not, write to | ||
| 20 | the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, | ||
| 21 | Boston, MA 02110-1301, USA. | ||
| 22 | 9 | ||
| 23 | */ | 10 | */ |
| 24 | 11 | ||
diff --git a/drivers/net/wireless/broadcom/b43/sysfs.c b/drivers/net/wireless/broadcom/b43/sysfs.c index 93d03b673670..0679d132968f 100644 --- a/drivers/net/wireless/broadcom/b43/sysfs.c +++ b/drivers/net/wireless/broadcom/b43/sysfs.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | 3 | ||
| 3 | Broadcom B43 wireless driver | 4 | Broadcom B43 wireless driver |
| @@ -6,20 +7,6 @@ | |||
| 6 | 7 | ||
| 7 | Copyright (c) 2006 Michael Buesch <m@bues.ch> | 8 | Copyright (c) 2006 Michael Buesch <m@bues.ch> |
| 8 | 9 | ||
| 9 | This program is free software; you can redistribute it and/or modify | ||
| 10 | it under the terms of the GNU General Public License as published by | ||
| 11 | the Free Software Foundation; either version 2 of the License, or | ||
| 12 | (at your option) any later version. | ||
| 13 | |||
| 14 | This program is distributed in the hope that it will be useful, | ||
| 15 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 17 | GNU General Public License for more details. | ||
| 18 | |||
| 19 | You should have received a copy of the GNU General Public License | ||
| 20 | along with this program; see the file COPYING. If not, write to | ||
| 21 | the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, | ||
| 22 | Boston, MA 02110-1301, USA. | ||
| 23 | 10 | ||
| 24 | */ | 11 | */ |
| 25 | 12 | ||
diff --git a/drivers/net/wireless/broadcom/b43/tables.c b/drivers/net/wireless/broadcom/b43/tables.c index ea288df8aee9..25c891e2cbfa 100644 --- a/drivers/net/wireless/broadcom/b43/tables.c +++ b/drivers/net/wireless/broadcom/b43/tables.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | 3 | ||
| 3 | Broadcom B43 wireless driver | 4 | Broadcom B43 wireless driver |
| @@ -8,20 +9,6 @@ | |||
| 8 | Copyright (c) 2005 Danny van Dyk <kugelfang@gentoo.org> | 9 | Copyright (c) 2005 Danny van Dyk <kugelfang@gentoo.org> |
| 9 | Copyright (c) 2005 Andreas Jaggi <andreas.jaggi@waterwave.ch> | 10 | Copyright (c) 2005 Andreas Jaggi <andreas.jaggi@waterwave.ch> |
| 10 | 11 | ||
| 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; see the file COPYING. If not, write to | ||
| 23 | the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, | ||
| 24 | Boston, MA 02110-1301, USA. | ||
| 25 | 12 | ||
| 26 | */ | 13 | */ |
| 27 | 14 | ||
diff --git a/drivers/net/wireless/broadcom/b43/tables_lpphy.c b/drivers/net/wireless/broadcom/b43/tables_lpphy.c index ce01e1645df7..71a7cd8dc787 100644 --- a/drivers/net/wireless/broadcom/b43/tables_lpphy.c +++ b/drivers/net/wireless/broadcom/b43/tables_lpphy.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | 3 | ||
| 3 | Broadcom B43 wireless driver | 4 | Broadcom B43 wireless driver |
| @@ -6,20 +7,6 @@ | |||
| 6 | Copyright (c) 2009 Michael Buesch <m@bues.ch> | 7 | Copyright (c) 2009 Michael Buesch <m@bues.ch> |
| 7 | Copyright (c) 2009 Gábor Stefanik <netrolller.3d@gmail.com> | 8 | Copyright (c) 2009 Gábor Stefanik <netrolller.3d@gmail.com> |
| 8 | 9 | ||
| 9 | This program is free software; you can redistribute it and/or modify | ||
| 10 | it under the terms of the GNU General Public License as published by | ||
| 11 | the Free Software Foundation; either version 2 of the License, or | ||
| 12 | (at your option) any later version. | ||
| 13 | |||
| 14 | This program is distributed in the hope that it will be useful, | ||
| 15 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 17 | GNU General Public License for more details. | ||
| 18 | |||
| 19 | You should have received a copy of the GNU General Public License | ||
| 20 | along with this program; see the file COPYING. If not, write to | ||
| 21 | the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, | ||
| 22 | Boston, MA 02110-1301, USA. | ||
| 23 | 10 | ||
| 24 | */ | 11 | */ |
| 25 | 12 | ||
diff --git a/drivers/net/wireless/broadcom/b43/tables_nphy.c b/drivers/net/wireless/broadcom/b43/tables_nphy.c index 44e0957a70cc..dad405abf9b1 100644 --- a/drivers/net/wireless/broadcom/b43/tables_nphy.c +++ b/drivers/net/wireless/broadcom/b43/tables_nphy.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | 3 | ||
| 3 | Broadcom B43 wireless driver | 4 | Broadcom B43 wireless driver |
| @@ -6,20 +7,6 @@ | |||
| 6 | Copyright (c) 2008 Michael Buesch <m@bues.ch> | 7 | Copyright (c) 2008 Michael Buesch <m@bues.ch> |
| 7 | Copyright (c) 2010 Rafał Miłecki <zajec5@gmail.com> | 8 | Copyright (c) 2010 Rafał Miłecki <zajec5@gmail.com> |
| 8 | 9 | ||
| 9 | This program is free software; you can redistribute it and/or modify | ||
| 10 | it under the terms of the GNU General Public License as published by | ||
| 11 | the Free Software Foundation; either version 2 of the License, or | ||
| 12 | (at your option) any later version. | ||
| 13 | |||
| 14 | This program is distributed in the hope that it will be useful, | ||
| 15 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 17 | GNU General Public License for more details. | ||
| 18 | |||
| 19 | You should have received a copy of the GNU General Public License | ||
| 20 | along with this program; see the file COPYING. If not, write to | ||
| 21 | the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, | ||
| 22 | Boston, MA 02110-1301, USA. | ||
| 23 | 10 | ||
| 24 | */ | 11 | */ |
| 25 | 12 | ||
diff --git a/drivers/net/wireless/broadcom/b43/tables_phy_ht.c b/drivers/net/wireless/broadcom/b43/tables_phy_ht.c index 176c49d74ef4..1acf2df66e5e 100644 --- a/drivers/net/wireless/broadcom/b43/tables_phy_ht.c +++ b/drivers/net/wireless/broadcom/b43/tables_phy_ht.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | 3 | ||
| 3 | Broadcom B43 wireless driver | 4 | Broadcom B43 wireless driver |
| @@ -5,20 +6,6 @@ | |||
| 5 | 6 | ||
| 6 | Copyright (c) 2011 Rafał Miłecki <zajec5@gmail.com> | 7 | Copyright (c) 2011 Rafał Miłecki <zajec5@gmail.com> |
| 7 | 8 | ||
| 8 | This program is free software; you can redistribute it and/or modify | ||
| 9 | it under the terms of the GNU General Public License as published by | ||
| 10 | the Free Software Foundation; either version 2 of the License, or | ||
| 11 | (at your option) any later version. | ||
| 12 | |||
| 13 | This program is distributed in the hope that it will be useful, | ||
| 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | GNU General Public License for more details. | ||
| 17 | |||
| 18 | You should have received a copy of the GNU General Public License | ||
| 19 | along with this program; see the file COPYING. If not, write to | ||
| 20 | the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, | ||
| 21 | Boston, MA 02110-1301, USA. | ||
| 22 | 9 | ||
| 23 | */ | 10 | */ |
| 24 | 11 | ||
diff --git a/drivers/net/wireless/broadcom/b43/tables_phy_lcn.c b/drivers/net/wireless/broadcom/b43/tables_phy_lcn.c index 704ef1bcb5b1..c7b7722e1b05 100644 --- a/drivers/net/wireless/broadcom/b43/tables_phy_lcn.c +++ b/drivers/net/wireless/broadcom/b43/tables_phy_lcn.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | 3 | ||
| 3 | Broadcom B43 wireless driver | 4 | Broadcom B43 wireless driver |
| @@ -5,20 +6,6 @@ | |||
| 5 | 6 | ||
| 6 | Copyright (c) 2011 Rafał Miłecki <zajec5@gmail.com> | 7 | Copyright (c) 2011 Rafał Miłecki <zajec5@gmail.com> |
| 7 | 8 | ||
| 8 | This program is free software; you can redistribute it and/or modify | ||
| 9 | it under the terms of the GNU General Public License as published by | ||
| 10 | the Free Software Foundation; either version 2 of the License, or | ||
| 11 | (at your option) any later version. | ||
| 12 | |||
| 13 | This program is distributed in the hope that it will be useful, | ||
| 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | GNU General Public License for more details. | ||
| 17 | |||
| 18 | You should have received a copy of the GNU General Public License | ||
| 19 | along with this program; see the file COPYING. If not, write to | ||
| 20 | the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, | ||
| 21 | Boston, MA 02110-1301, USA. | ||
| 22 | 9 | ||
| 23 | */ | 10 | */ |
| 24 | 11 | ||
diff --git a/drivers/net/wireless/broadcom/b43/wa.c b/drivers/net/wireless/broadcom/b43/wa.c index 0e96c08d1e17..f9209b863e35 100644 --- a/drivers/net/wireless/broadcom/b43/wa.c +++ b/drivers/net/wireless/broadcom/b43/wa.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | 3 | ||
| 3 | Broadcom B43 wireless driver | 4 | Broadcom B43 wireless driver |
| @@ -7,20 +8,6 @@ | |||
| 7 | Copyright (c) 2005-2007 Stefano Brivio <stefano.brivio@polimi.it> | 8 | Copyright (c) 2005-2007 Stefano Brivio <stefano.brivio@polimi.it> |
| 8 | Copyright (c) 2005-2007 Michael Buesch <m@bues.ch> | 9 | Copyright (c) 2005-2007 Michael Buesch <m@bues.ch> |
| 9 | 10 | ||
| 10 | This program is free software; you can redistribute it and/or modify | ||
| 11 | it under the terms of the GNU General Public License as published by | ||
| 12 | the Free Software Foundation; either version 2 of the License, or | ||
| 13 | (at your option) any later version. | ||
| 14 | |||
| 15 | This program is distributed in the hope that it will be useful, | ||
| 16 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 17 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 18 | GNU General Public License for more details. | ||
| 19 | |||
| 20 | You should have received a copy of the GNU General Public License | ||
| 21 | along with this program; see the file COPYING. If not, write to | ||
| 22 | the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, | ||
| 23 | Boston, MA 02110-1301, USA. | ||
| 24 | 11 | ||
| 25 | */ | 12 | */ |
| 26 | 13 | ||
diff --git a/drivers/net/wireless/broadcom/b43/xmit.c b/drivers/net/wireless/broadcom/b43/xmit.c index 1b9c191e2a22..058745219516 100644 --- a/drivers/net/wireless/broadcom/b43/xmit.c +++ b/drivers/net/wireless/broadcom/b43/xmit.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | 3 | ||
| 3 | Broadcom B43 wireless driver | 4 | Broadcom B43 wireless driver |
| @@ -10,20 +11,6 @@ | |||
| 10 | Copyright (C) 2005 Danny van Dyk <kugelfang@gentoo.org> | 11 | Copyright (C) 2005 Danny van Dyk <kugelfang@gentoo.org> |
| 11 | Copyright (C) 2005 Andreas Jaggi <andreas.jaggi@waterwave.ch> | 12 | Copyright (C) 2005 Andreas Jaggi <andreas.jaggi@waterwave.ch> |
| 12 | 13 | ||
| 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; see the file COPYING. If not, write to | ||
| 25 | the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, | ||
| 26 | Boston, MA 02110-1301, USA. | ||
| 27 | 14 | ||
| 28 | */ | 15 | */ |
| 29 | 16 | ||
diff --git a/drivers/net/wireless/broadcom/b43legacy/Kconfig b/drivers/net/wireless/broadcom/b43legacy/Kconfig index 1ffa28835c58..bfac34142ab5 100644 --- a/drivers/net/wireless/broadcom/b43legacy/Kconfig +++ b/drivers/net/wireless/broadcom/b43legacy/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config B43LEGACY | 2 | config B43LEGACY |
| 2 | tristate "Broadcom 43xx-legacy wireless support (mac80211 stack)" | 3 | tristate "Broadcom 43xx-legacy wireless support (mac80211 stack)" |
| 3 | depends on SSB_POSSIBLE && MAC80211 && HAS_DMA | 4 | depends on SSB_POSSIBLE && MAC80211 && HAS_DMA |
diff --git a/drivers/net/wireless/broadcom/b43legacy/debugfs.c b/drivers/net/wireless/broadcom/b43legacy/debugfs.c index 8150adee3e34..082aab8353b8 100644 --- a/drivers/net/wireless/broadcom/b43legacy/debugfs.c +++ b/drivers/net/wireless/broadcom/b43legacy/debugfs.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | 3 | ||
| 3 | Broadcom B43legacy wireless driver | 4 | Broadcom B43legacy wireless driver |
| @@ -6,20 +7,6 @@ | |||
| 6 | 7 | ||
| 7 | Copyright (c) 2005-2007 Michael Buesch <m@bues.ch> | 8 | Copyright (c) 2005-2007 Michael Buesch <m@bues.ch> |
| 8 | 9 | ||
| 9 | This program is free software; you can redistribute it and/or modify | ||
| 10 | it under the terms of the GNU General Public License as published by | ||
| 11 | the Free Software Foundation; either version 2 of the License, or | ||
| 12 | (at your option) any later version. | ||
| 13 | |||
| 14 | This program is distributed in the hope that it will be useful, | ||
| 15 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 17 | GNU General Public License for more details. | ||
| 18 | |||
| 19 | You should have received a copy of the GNU General Public License | ||
| 20 | along with this program; see the file COPYING. If not, write to | ||
| 21 | the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, | ||
| 22 | Boston, MA 02110-1301, USA. | ||
| 23 | 10 | ||
| 24 | */ | 11 | */ |
| 25 | 12 | ||
diff --git a/drivers/net/wireless/broadcom/b43legacy/dma.c b/drivers/net/wireless/broadcom/b43legacy/dma.c index 2ce1537d983c..1cc25f44dd9a 100644 --- a/drivers/net/wireless/broadcom/b43legacy/dma.c +++ b/drivers/net/wireless/broadcom/b43legacy/dma.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | 3 | ||
| 3 | Broadcom B43legacy wireless driver | 4 | Broadcom B43legacy wireless driver |
| @@ -10,20 +11,6 @@ | |||
| 10 | Copyright (C) 2002 David S. Miller | 11 | Copyright (C) 2002 David S. Miller |
| 11 | Copyright (C) Pekka Pietikainen | 12 | Copyright (C) Pekka Pietikainen |
| 12 | 13 | ||
| 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; see the file COPYING. If not, write to | ||
| 25 | the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, | ||
| 26 | Boston, MA 02110-1301, USA. | ||
| 27 | 14 | ||
| 28 | */ | 15 | */ |
| 29 | 16 | ||
diff --git a/drivers/net/wireless/broadcom/b43legacy/ilt.c b/drivers/net/wireless/broadcom/b43legacy/ilt.c index 6d15fb4d30c6..f62d6886a003 100644 --- a/drivers/net/wireless/broadcom/b43legacy/ilt.c +++ b/drivers/net/wireless/broadcom/b43legacy/ilt.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | 3 | ||
| 3 | Broadcom B43legacy wireless driver | 4 | Broadcom B43legacy wireless driver |
| @@ -8,20 +9,6 @@ | |||
| 8 | Danny van Dyk <kugelfang@gentoo.org> | 9 | Danny van Dyk <kugelfang@gentoo.org> |
| 9 | Andreas Jaggi <andreas.jaggi@waterwave.ch> | 10 | Andreas Jaggi <andreas.jaggi@waterwave.ch> |
| 10 | 11 | ||
| 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; see the file COPYING. If not, write to | ||
| 23 | the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, | ||
| 24 | Boston, MA 02110-1301, USA. | ||
| 25 | 12 | ||
| 26 | */ | 13 | */ |
| 27 | 14 | ||
diff --git a/drivers/net/wireless/broadcom/b43legacy/leds.c b/drivers/net/wireless/broadcom/b43legacy/leds.c index bc922118b6ac..38b5be3a84e2 100644 --- a/drivers/net/wireless/broadcom/b43legacy/leds.c +++ b/drivers/net/wireless/broadcom/b43legacy/leds.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | 3 | ||
| 3 | Broadcom B43 wireless driver | 4 | Broadcom B43 wireless driver |
| @@ -9,20 +10,6 @@ | |||
| 9 | Copyright (c) 2005 Danny van Dyk <kugelfang@gentoo.org> | 10 | Copyright (c) 2005 Danny van Dyk <kugelfang@gentoo.org> |
| 10 | Copyright (c) 2005 Andreas Jaggi <andreas.jaggi@waterwave.ch> | 11 | Copyright (c) 2005 Andreas Jaggi <andreas.jaggi@waterwave.ch> |
| 11 | 12 | ||
| 12 | This program is free software; you can redistribute it and/or modify | ||
| 13 | it under the terms of the GNU General Public License as published by | ||
| 14 | the Free Software Foundation; either version 2 of the License, or | ||
| 15 | (at your option) any later version. | ||
| 16 | |||
| 17 | This program is distributed in the hope that it will be useful, | ||
| 18 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 19 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 20 | GNU General Public License for more details. | ||
| 21 | |||
| 22 | You should have received a copy of the GNU General Public License | ||
| 23 | along with this program; see the file COPYING. If not, write to | ||
| 24 | the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, | ||
| 25 | Boston, MA 02110-1301, USA. | ||
| 26 | 13 | ||
| 27 | */ | 14 | */ |
| 28 | 15 | ||
diff --git a/drivers/net/wireless/broadcom/b43legacy/main.c b/drivers/net/wireless/broadcom/b43legacy/main.c index c777efc6dc13..4325e91736eb 100644 --- a/drivers/net/wireless/broadcom/b43legacy/main.c +++ b/drivers/net/wireless/broadcom/b43legacy/main.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * | 3 | * |
| 3 | * Broadcom B43legacy wireless driver | 4 | * Broadcom B43legacy wireless driver |
| @@ -12,21 +13,6 @@ | |||
| 12 | * Some parts of the code in this file are derived from the ipw2200 | 13 | * Some parts of the code in this file are derived from the ipw2200 |
| 13 | * driver Copyright(c) 2003 - 2004 Intel Corporation. | 14 | * driver Copyright(c) 2003 - 2004 Intel Corporation. |
| 14 | 15 | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2 of the License, or | ||
| 18 | * (at your option) any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | * | ||
| 25 | * You should have received a copy of the GNU General Public License | ||
| 26 | * along with this program; see the file COPYING. If not, write to | ||
| 27 | * the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, | ||
| 28 | * Boston, MA 02110-1301, USA. | ||
| 29 | * | ||
| 30 | */ | 16 | */ |
| 31 | 17 | ||
| 32 | #include <linux/delay.h> | 18 | #include <linux/delay.h> |
diff --git a/drivers/net/wireless/broadcom/b43legacy/main.h b/drivers/net/wireless/broadcom/b43legacy/main.h index b74a058d7bac..85edbc8c121a 100644 --- a/drivers/net/wireless/broadcom/b43legacy/main.h +++ b/drivers/net/wireless/broadcom/b43legacy/main.h | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | 3 | ||
| 3 | Broadcom B43legacy wireless driver | 4 | Broadcom B43legacy wireless driver |
| @@ -12,20 +13,6 @@ | |||
| 12 | Some parts of the code in this file are derived from the ipw2200 | 13 | Some parts of the code in this file are derived from the ipw2200 |
| 13 | driver Copyright(c) 2003 - 2004 Intel Corporation. | 14 | driver Copyright(c) 2003 - 2004 Intel Corporation. |
| 14 | 15 | ||
| 15 | This program is free software; you can redistribute it and/or modify | ||
| 16 | it under the terms of the GNU General Public License as published by | ||
| 17 | the Free Software Foundation; either version 2 of the License, or | ||
| 18 | (at your option) any later version. | ||
| 19 | |||
| 20 | This program is distributed in the hope that it will be useful, | ||
| 21 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | GNU General Public License for more details. | ||
| 24 | |||
| 25 | You should have received a copy of the GNU General Public License | ||
| 26 | along with this program; see the file COPYING. If not, write to | ||
| 27 | the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, | ||
| 28 | Boston, MA 02110-1301, USA. | ||
| 29 | 16 | ||
| 30 | */ | 17 | */ |
| 31 | 18 | ||
diff --git a/drivers/net/wireless/broadcom/b43legacy/phy.c b/drivers/net/wireless/broadcom/b43legacy/phy.c index f949766d27ca..add7a0ff75b8 100644 --- a/drivers/net/wireless/broadcom/b43legacy/phy.c +++ b/drivers/net/wireless/broadcom/b43legacy/phy.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | 3 | ||
| 3 | Broadcom B43legacy wireless driver | 4 | Broadcom B43legacy wireless driver |
| @@ -12,20 +13,6 @@ | |||
| 12 | Some parts of the code in this file are derived from the ipw2200 | 13 | Some parts of the code in this file are derived from the ipw2200 |
| 13 | driver Copyright(c) 2003 - 2004 Intel Corporation. | 14 | driver Copyright(c) 2003 - 2004 Intel Corporation. |
| 14 | 15 | ||
| 15 | This program is free software; you can redistribute it and/or modify | ||
| 16 | it under the terms of the GNU General Public License as published by | ||
| 17 | the Free Software Foundation; either version 2 of the License, or | ||
| 18 | (at your option) any later version. | ||
| 19 | |||
| 20 | This program is distributed in the hope that it will be useful, | ||
| 21 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | GNU General Public License for more details. | ||
| 24 | |||
| 25 | You should have received a copy of the GNU General Public License | ||
| 26 | along with this program; see the file COPYING. If not, write to | ||
| 27 | the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, | ||
| 28 | Boston, MA 02110-1301, USA. | ||
| 29 | 16 | ||
| 30 | */ | 17 | */ |
| 31 | 18 | ||
diff --git a/drivers/net/wireless/broadcom/b43legacy/phy.h b/drivers/net/wireless/broadcom/b43legacy/phy.h index 831a7a4760e5..bb2c492dab36 100644 --- a/drivers/net/wireless/broadcom/b43legacy/phy.h +++ b/drivers/net/wireless/broadcom/b43legacy/phy.h | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | 3 | ||
| 3 | Broadcom B43legacy wireless driver | 4 | Broadcom B43legacy wireless driver |
| @@ -12,20 +13,6 @@ | |||
| 12 | Some parts of the code in this file are derived from the ipw2200 | 13 | Some parts of the code in this file are derived from the ipw2200 |
| 13 | driver Copyright(c) 2003 - 2004 Intel Corporation. | 14 | driver Copyright(c) 2003 - 2004 Intel Corporation. |
| 14 | 15 | ||
| 15 | This program is free software; you can redistribute it and/or modify | ||
| 16 | it under the terms of the GNU General Public License as published by | ||
| 17 | the Free Software Foundation; either version 2 of the License, or | ||
| 18 | (at your option) any later version. | ||
| 19 | |||
| 20 | This program is distributed in the hope that it will be useful, | ||
| 21 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | GNU General Public License for more details. | ||
| 24 | |||
| 25 | You should have received a copy of the GNU General Public License | ||
| 26 | along with this program; see the file COPYING. If not, write to | ||
| 27 | the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, | ||
| 28 | Boston, MA 02110-1301, USA. | ||
| 29 | 16 | ||
| 30 | */ | 17 | */ |
| 31 | 18 | ||
diff --git a/drivers/net/wireless/broadcom/b43legacy/pio.c b/drivers/net/wireless/broadcom/b43legacy/pio.c index 282eedec675e..cbb761378619 100644 --- a/drivers/net/wireless/broadcom/b43legacy/pio.c +++ b/drivers/net/wireless/broadcom/b43legacy/pio.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | 3 | ||
| 3 | Broadcom B43legacy wireless driver | 4 | Broadcom B43legacy wireless driver |
| @@ -6,20 +7,6 @@ | |||
| 6 | 7 | ||
| 7 | Copyright (c) 2005 Michael Buesch <m@bues.ch> | 8 | Copyright (c) 2005 Michael Buesch <m@bues.ch> |
| 8 | 9 | ||
| 9 | This program is free software; you can redistribute it and/or modify | ||
| 10 | it under the terms of the GNU General Public License as published by | ||
| 11 | the Free Software Foundation; either version 2 of the License, or | ||
| 12 | (at your option) any later version. | ||
| 13 | |||
| 14 | This program is distributed in the hope that it will be useful, | ||
| 15 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 17 | GNU General Public License for more details. | ||
| 18 | |||
| 19 | You should have received a copy of the GNU General Public License | ||
| 20 | along with this program; see the file COPYING. If not, write to | ||
| 21 | the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, | ||
| 22 | Boston, MA 02110-1301, USA. | ||
| 23 | 10 | ||
| 24 | */ | 11 | */ |
| 25 | 12 | ||
diff --git a/drivers/net/wireless/broadcom/b43legacy/radio.c b/drivers/net/wireless/broadcom/b43legacy/radio.c index c6db444ea07e..da40d1ca8723 100644 --- a/drivers/net/wireless/broadcom/b43legacy/radio.c +++ b/drivers/net/wireless/broadcom/b43legacy/radio.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | 3 | ||
| 3 | Broadcom B43legacy wireless driver | 4 | Broadcom B43legacy wireless driver |
| @@ -12,20 +13,6 @@ | |||
| 12 | Some parts of the code in this file are derived from the ipw2200 | 13 | Some parts of the code in this file are derived from the ipw2200 |
| 13 | driver Copyright(c) 2003 - 2004 Intel Corporation. | 14 | driver Copyright(c) 2003 - 2004 Intel Corporation. |
| 14 | 15 | ||
| 15 | This program is free software; you can redistribute it and/or modify | ||
| 16 | it under the terms of the GNU General Public License as published by | ||
| 17 | the Free Software Foundation; either version 2 of the License, or | ||
| 18 | (at your option) any later version. | ||
| 19 | |||
| 20 | This program is distributed in the hope that it will be useful, | ||
| 21 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | GNU General Public License for more details. | ||
| 24 | |||
| 25 | You should have received a copy of the GNU General Public License | ||
| 26 | along with this program; see the file COPYING. If not, write to | ||
| 27 | the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, | ||
| 28 | Boston, MA 02110-1301, USA. | ||
| 29 | 16 | ||
| 30 | */ | 17 | */ |
| 31 | 18 | ||
diff --git a/drivers/net/wireless/broadcom/b43legacy/radio.h b/drivers/net/wireless/broadcom/b43legacy/radio.h index dd2976d1d561..ee8b2c8d1602 100644 --- a/drivers/net/wireless/broadcom/b43legacy/radio.h +++ b/drivers/net/wireless/broadcom/b43legacy/radio.h | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | 3 | ||
| 3 | Broadcom B43legacy wireless driver | 4 | Broadcom B43legacy wireless driver |
| @@ -11,20 +12,6 @@ | |||
| 11 | Some parts of the code in this file are derived from the ipw2200 | 12 | Some parts of the code in this file are derived from the ipw2200 |
| 12 | driver Copyright(c) 2003 - 2004 Intel Corporation. | 13 | driver Copyright(c) 2003 - 2004 Intel Corporation. |
| 13 | 14 | ||
| 14 | This program is free software; you can redistribute it and/or modify | ||
| 15 | it under the terms of the GNU General Public License as published by | ||
| 16 | the Free Software Foundation; either version 2 of the License, or | ||
| 17 | (at your option) any later version. | ||
| 18 | |||
| 19 | This program is distributed in the hope that it will be useful, | ||
| 20 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | GNU General Public License for more details. | ||
| 23 | |||
| 24 | You should have received a copy of the GNU General Public License | ||
| 25 | along with this program; see the file COPYING. If not, write to | ||
| 26 | the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, | ||
| 27 | Boston, MA 02110-1301, USA. | ||
| 28 | 15 | ||
| 29 | */ | 16 | */ |
| 30 | 17 | ||
diff --git a/drivers/net/wireless/broadcom/b43legacy/rfkill.c b/drivers/net/wireless/broadcom/b43legacy/rfkill.c index 7c1bdbc02569..1f532105052e 100644 --- a/drivers/net/wireless/broadcom/b43legacy/rfkill.c +++ b/drivers/net/wireless/broadcom/b43legacy/rfkill.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | 3 | ||
| 3 | Broadcom B43 wireless driver | 4 | Broadcom B43 wireless driver |
| @@ -5,20 +6,6 @@ | |||
| 5 | 6 | ||
| 6 | Copyright (c) 2007 Michael Buesch <m@bues.ch> | 7 | Copyright (c) 2007 Michael Buesch <m@bues.ch> |
| 7 | 8 | ||
| 8 | This program is free software; you can redistribute it and/or modify | ||
| 9 | it under the terms of the GNU General Public License as published by | ||
| 10 | the Free Software Foundation; either version 2 of the License, or | ||
| 11 | (at your option) any later version. | ||
| 12 | |||
| 13 | This program is distributed in the hope that it will be useful, | ||
| 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | GNU General Public License for more details. | ||
| 17 | |||
| 18 | You should have received a copy of the GNU General Public License | ||
| 19 | along with this program; see the file COPYING. If not, write to | ||
| 20 | the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, | ||
| 21 | Boston, MA 02110-1301, USA. | ||
| 22 | 9 | ||
| 23 | */ | 10 | */ |
| 24 | 11 | ||
diff --git a/drivers/net/wireless/broadcom/b43legacy/sysfs.c b/drivers/net/wireless/broadcom/b43legacy/sysfs.c index 2db83eec7a11..9312c1dd3417 100644 --- a/drivers/net/wireless/broadcom/b43legacy/sysfs.c +++ b/drivers/net/wireless/broadcom/b43legacy/sysfs.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | 3 | ||
| 3 | Broadcom B43legacy wireless driver | 4 | Broadcom B43legacy wireless driver |
| @@ -6,20 +7,6 @@ | |||
| 6 | 7 | ||
| 7 | Copyright (c) 2006 Michael Buesch <m@bues.ch> | 8 | Copyright (c) 2006 Michael Buesch <m@bues.ch> |
| 8 | 9 | ||
| 9 | This program is free software; you can redistribute it and/or modify | ||
| 10 | it under the terms of the GNU General Public License as published by | ||
| 11 | the Free Software Foundation; either version 2 of the License, or | ||
| 12 | (at your option) any later version. | ||
| 13 | |||
| 14 | This program is distributed in the hope that it will be useful, | ||
| 15 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 17 | GNU General Public License for more details. | ||
| 18 | |||
| 19 | You should have received a copy of the GNU General Public License | ||
| 20 | along with this program; see the file COPYING. If not, write to | ||
| 21 | the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, | ||
| 22 | Boston, MA 02110-1301, USA. | ||
| 23 | 10 | ||
| 24 | */ | 11 | */ |
| 25 | 12 | ||
diff --git a/drivers/net/wireless/broadcom/b43legacy/xmit.c b/drivers/net/wireless/broadcom/b43legacy/xmit.c index 35ccf400b02c..e9b23c2e5bd4 100644 --- a/drivers/net/wireless/broadcom/b43legacy/xmit.c +++ b/drivers/net/wireless/broadcom/b43legacy/xmit.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | 3 | ||
| 3 | Broadcom B43legacy wireless driver | 4 | Broadcom B43legacy wireless driver |
| @@ -11,20 +12,6 @@ | |||
| 11 | Copyright (C) 2005 Andreas Jaggi <andreas.jaggi@waterwave.ch> | 12 | Copyright (C) 2005 Andreas Jaggi <andreas.jaggi@waterwave.ch> |
| 12 | Copyright (C) 2007 Larry Finger <Larry.Finger@lwfinger.net> | 13 | Copyright (C) 2007 Larry Finger <Larry.Finger@lwfinger.net> |
| 13 | 14 | ||
| 14 | This program is free software; you can redistribute it and/or modify | ||
| 15 | it under the terms of the GNU General Public License as published by | ||
| 16 | the Free Software Foundation; either version 2 of the License, or | ||
| 17 | (at your option) any later version. | ||
| 18 | |||
| 19 | This program is distributed in the hope that it will be useful, | ||
| 20 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | GNU General Public License for more details. | ||
| 23 | |||
| 24 | You should have received a copy of the GNU General Public License | ||
| 25 | along with this program; see the file COPYING. If not, write to | ||
| 26 | the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, | ||
| 27 | Boston, MA 02110-1301, USA. | ||
| 28 | 15 | ||
| 29 | */ | 16 | */ |
| 30 | 17 | ||
diff --git a/drivers/net/wireless/broadcom/brcm80211/Kconfig b/drivers/net/wireless/broadcom/brcm80211/Kconfig index 6acba67bca07..1df56d1f5e00 100644 --- a/drivers/net/wireless/broadcom/brcm80211/Kconfig +++ b/drivers/net/wireless/broadcom/brcm80211/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config BRCMUTIL | 2 | config BRCMUTIL |
| 2 | tristate | 3 | tristate |
| 3 | 4 | ||
diff --git a/drivers/net/wireless/cisco/Kconfig b/drivers/net/wireless/cisco/Kconfig index e210ee8aa63b..7329830ed7cc 100644 --- a/drivers/net/wireless/cisco/Kconfig +++ b/drivers/net/wireless/cisco/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config WLAN_VENDOR_CISCO | 2 | config WLAN_VENDOR_CISCO |
| 2 | bool "Cisco devices" | 3 | bool "Cisco devices" |
| 3 | default y | 4 | default y |
diff --git a/drivers/net/wireless/cisco/Makefile b/drivers/net/wireless/cisco/Makefile index d4110b19d6ef..506a19ce375f 100644 --- a/drivers/net/wireless/cisco/Makefile +++ b/drivers/net/wireless/cisco/Makefile | |||
| @@ -1,2 +1,3 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_AIRO) += airo.o | 2 | obj-$(CONFIG_AIRO) += airo.o |
| 2 | obj-$(CONFIG_AIRO_CS) += airo_cs.o airo.o | 3 | obj-$(CONFIG_AIRO_CS) += airo_cs.o airo.o |
diff --git a/drivers/net/wireless/intel/Kconfig b/drivers/net/wireless/intel/Kconfig index 6fdc14b08b8e..6ec42f67d0f2 100644 --- a/drivers/net/wireless/intel/Kconfig +++ b/drivers/net/wireless/intel/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config WLAN_VENDOR_INTEL | 2 | config WLAN_VENDOR_INTEL |
| 2 | bool "Intel devices" | 3 | bool "Intel devices" |
| 3 | default y | 4 | default y |
diff --git a/drivers/net/wireless/intel/Makefile b/drivers/net/wireless/intel/Makefile index c9cbcc85b569..1364b0014488 100644 --- a/drivers/net/wireless/intel/Makefile +++ b/drivers/net/wireless/intel/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_IPW2100) += ipw2x00/ | 2 | obj-$(CONFIG_IPW2100) += ipw2x00/ |
| 2 | obj-$(CONFIG_IPW2200) += ipw2x00/ | 3 | obj-$(CONFIG_IPW2200) += ipw2x00/ |
| 3 | 4 | ||
diff --git a/drivers/net/wireless/intel/ipw2x00/Kconfig b/drivers/net/wireless/intel/ipw2x00/Kconfig index 562395517e6c..5d2878a73732 100644 --- a/drivers/net/wireless/intel/ipw2x00/Kconfig +++ b/drivers/net/wireless/intel/ipw2x00/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Intel Centrino wireless drivers | 3 | # Intel Centrino wireless drivers |
| 3 | # | 4 | # |
diff --git a/drivers/net/wireless/intel/iwlegacy/Kconfig b/drivers/net/wireless/intel/iwlegacy/Kconfig index fb919727b8bb..aa01c83e0060 100644 --- a/drivers/net/wireless/intel/iwlegacy/Kconfig +++ b/drivers/net/wireless/intel/iwlegacy/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config IWLEGACY | 2 | config IWLEGACY |
| 2 | tristate | 3 | tristate |
| 3 | select FW_LOADER | 4 | select FW_LOADER |
diff --git a/drivers/net/wireless/intel/iwlwifi/Kconfig b/drivers/net/wireless/intel/iwlwifi/Kconfig index 83d5bceea08f..e5528189163f 100644 --- a/drivers/net/wireless/intel/iwlwifi/Kconfig +++ b/drivers/net/wireless/intel/iwlwifi/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config IWLWIFI | 2 | config IWLWIFI |
| 2 | tristate "Intel Wireless WiFi Next Gen AGN - Wireless-N/Advanced-N/Ultimate-N (iwlwifi) " | 3 | tristate "Intel Wireless WiFi Next Gen AGN - Wireless-N/Advanced-N/Ultimate-N (iwlwifi) " |
| 3 | depends on PCI && HAS_IOMEM && CFG80211 | 4 | depends on PCI && HAS_IOMEM && CFG80211 |
diff --git a/drivers/net/wireless/intersil/Kconfig b/drivers/net/wireless/intersil/Kconfig index e89fce1d4f27..4e968912e27c 100644 --- a/drivers/net/wireless/intersil/Kconfig +++ b/drivers/net/wireless/intersil/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config WLAN_VENDOR_INTERSIL | 2 | config WLAN_VENDOR_INTERSIL |
| 2 | bool "Intersil devices" | 3 | bool "Intersil devices" |
| 3 | default y | 4 | default y |
diff --git a/drivers/net/wireless/intersil/Makefile b/drivers/net/wireless/intersil/Makefile index 9a8cbfee3ea5..aa630e9c3d3d 100644 --- a/drivers/net/wireless/intersil/Makefile +++ b/drivers/net/wireless/intersil/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_HOSTAP) += hostap/ | 2 | obj-$(CONFIG_HOSTAP) += hostap/ |
| 2 | obj-$(CONFIG_HERMES) += orinoco/ | 3 | obj-$(CONFIG_HERMES) += orinoco/ |
| 3 | obj-$(CONFIG_P54_COMMON) += p54/ | 4 | obj-$(CONFIG_P54_COMMON) += p54/ |
diff --git a/drivers/net/wireless/intersil/hostap/Kconfig b/drivers/net/wireless/intersil/hostap/Kconfig index 287d82728bc3..c70dc168dc63 100644 --- a/drivers/net/wireless/intersil/hostap/Kconfig +++ b/drivers/net/wireless/intersil/hostap/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config HOSTAP | 2 | config HOSTAP |
| 2 | tristate "IEEE 802.11 for Host AP (Prism2/2.5/3 and WEP/TKIP/CCMP)" | 3 | tristate "IEEE 802.11 for Host AP (Prism2/2.5/3 and WEP/TKIP/CCMP)" |
| 3 | select WIRELESS_EXT | 4 | select WIRELESS_EXT |
diff --git a/drivers/net/wireless/intersil/hostap/hostap_cs.c b/drivers/net/wireless/intersil/hostap/hostap_cs.c index 74f63b7bf7b4..1a748670835a 100644 --- a/drivers/net/wireless/intersil/hostap/hostap_cs.c +++ b/drivers/net/wireless/intersil/hostap/hostap_cs.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | #define PRISM2_PCCARD | 2 | #define PRISM2_PCCARD |
| 2 | 3 | ||
| 3 | #include <linux/module.h> | 4 | #include <linux/module.h> |
diff --git a/drivers/net/wireless/intersil/hostap/hostap_pci.c b/drivers/net/wireless/intersil/hostap/hostap_pci.c index c864ef4b0015..0c2aa880e32a 100644 --- a/drivers/net/wireless/intersil/hostap/hostap_pci.c +++ b/drivers/net/wireless/intersil/hostap/hostap_pci.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | #define PRISM2_PCI | 2 | #define PRISM2_PCI |
| 2 | 3 | ||
| 3 | /* Host AP driver's support for Intersil Prism2.5 PCI cards is based on | 4 | /* Host AP driver's support for Intersil Prism2.5 PCI cards is based on |
diff --git a/drivers/net/wireless/intersil/hostap/hostap_plx.c b/drivers/net/wireless/intersil/hostap/hostap_plx.c index 4901a99c6c59..943070d39b1e 100644 --- a/drivers/net/wireless/intersil/hostap/hostap_plx.c +++ b/drivers/net/wireless/intersil/hostap/hostap_plx.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | #define PRISM2_PLX | 2 | #define PRISM2_PLX |
| 2 | 3 | ||
| 3 | /* Host AP driver's support for PC Cards on PCI adapters using PLX9052 is | 4 | /* Host AP driver's support for PC Cards on PCI adapters using PLX9052 is |
diff --git a/drivers/net/wireless/intersil/orinoco/Kconfig b/drivers/net/wireless/intersil/orinoco/Kconfig index f6fa3f4e294f..c430d7a46730 100644 --- a/drivers/net/wireless/intersil/orinoco/Kconfig +++ b/drivers/net/wireless/intersil/orinoco/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config HERMES | 2 | config HERMES |
| 2 | tristate "Hermes chipset 802.11b support (Orinoco/Prism2/Symbol)" | 3 | tristate "Hermes chipset 802.11b support (Orinoco/Prism2/Symbol)" |
| 3 | depends on (PPC_PMAC || PCI || PCMCIA) | 4 | depends on (PPC_PMAC || PCI || PCMCIA) |
diff --git a/drivers/net/wireless/intersil/p54/Kconfig b/drivers/net/wireless/intersil/p54/Kconfig index cdafb8c73e82..26cd80732afa 100644 --- a/drivers/net/wireless/intersil/p54/Kconfig +++ b/drivers/net/wireless/intersil/p54/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config P54_COMMON | 2 | config P54_COMMON |
| 2 | tristate "Softmac Prism54 support" | 3 | tristate "Softmac Prism54 support" |
| 3 | depends on MAC80211 | 4 | depends on MAC80211 |
diff --git a/drivers/net/wireless/intersil/prism54/Makefile b/drivers/net/wireless/intersil/prism54/Makefile index fad305c76737..4f5572dffb5e 100644 --- a/drivers/net/wireless/intersil/prism54/Makefile +++ b/drivers/net/wireless/intersil/prism54/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # $Id: Makefile.k26,v 1.7 2004/01/30 16:24:00 ajfa Exp $ | 2 | # $Id: Makefile.k26,v 1.7 2004/01/30 16:24:00 ajfa Exp $ |
| 2 | 3 | ||
| 3 | prism54-objs := islpci_eth.o islpci_mgt.o \ | 4 | prism54-objs := islpci_eth.o islpci_mgt.o \ |
diff --git a/drivers/net/wireless/marvell/Kconfig b/drivers/net/wireless/marvell/Kconfig index 27038901d3ee..dff82fdbea78 100644 --- a/drivers/net/wireless/marvell/Kconfig +++ b/drivers/net/wireless/marvell/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config WLAN_VENDOR_MARVELL | 2 | config WLAN_VENDOR_MARVELL |
| 2 | bool "Marvell devices" | 3 | bool "Marvell devices" |
| 3 | default y | 4 | default y |
diff --git a/drivers/net/wireless/marvell/Makefile b/drivers/net/wireless/marvell/Makefile index 1b0a7d2bc8e6..25f6d5d2fa0c 100644 --- a/drivers/net/wireless/marvell/Makefile +++ b/drivers/net/wireless/marvell/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_LIBERTAS) += libertas/ | 2 | obj-$(CONFIG_LIBERTAS) += libertas/ |
| 2 | 3 | ||
| 3 | obj-$(CONFIG_LIBERTAS_THINFIRM) += libertas_tf/ | 4 | obj-$(CONFIG_LIBERTAS_THINFIRM) += libertas_tf/ |
diff --git a/drivers/net/wireless/marvell/libertas/Kconfig b/drivers/net/wireless/marvell/libertas/Kconfig index e6268ceacbf1..b9fe598130c3 100644 --- a/drivers/net/wireless/marvell/libertas/Kconfig +++ b/drivers/net/wireless/marvell/libertas/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config LIBERTAS | 2 | config LIBERTAS |
| 2 | tristate "Marvell 8xxx Libertas WLAN driver support" | 3 | tristate "Marvell 8xxx Libertas WLAN driver support" |
| 3 | depends on CFG80211 | 4 | depends on CFG80211 |
diff --git a/drivers/net/wireless/marvell/libertas/cmd.c b/drivers/net/wireless/marvell/libertas/cmd.c index c1f422918737..a4d9dd73b258 100644 --- a/drivers/net/wireless/marvell/libertas/cmd.c +++ b/drivers/net/wireless/marvell/libertas/cmd.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * This file contains the handling of command. | 3 | * This file contains the handling of command. |
| 3 | * It prepares command and sends it to firmware when it is ready. | 4 | * It prepares command and sends it to firmware when it is ready. |
diff --git a/drivers/net/wireless/marvell/libertas/firmware.c b/drivers/net/wireless/marvell/libertas/firmware.c index 51b92b5df119..69029c59a272 100644 --- a/drivers/net/wireless/marvell/libertas/firmware.c +++ b/drivers/net/wireless/marvell/libertas/firmware.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Firmware loading and handling functions. | 3 | * Firmware loading and handling functions. |
| 3 | */ | 4 | */ |
diff --git a/drivers/net/wireless/marvell/libertas/if_cs.c b/drivers/net/wireless/marvell/libertas/if_cs.c index cebf03c6a622..4103f15bca6b 100644 --- a/drivers/net/wireless/marvell/libertas/if_cs.c +++ b/drivers/net/wireless/marvell/libertas/if_cs.c | |||
| @@ -1,23 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | 3 | ||
| 3 | Driver for the Marvell 8385 based compact flash WLAN cards. | 4 | Driver for the Marvell 8385 based compact flash WLAN cards. |
| 4 | 5 | ||
| 5 | (C) 2007 by Holger Schurig <hs4233@mail.mn-solutions.de> | 6 | (C) 2007 by Holger Schurig <hs4233@mail.mn-solutions.de> |
| 6 | 7 | ||
| 7 | This program is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 2 of the License, or | ||
| 10 | (at your option) any later version. | ||
| 11 | |||
| 12 | This program is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with this program; see the file COPYING. If not, write to | ||
| 19 | the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, | ||
| 20 | Boston, MA 02110-1301, USA. | ||
| 21 | 8 | ||
| 22 | */ | 9 | */ |
| 23 | 10 | ||
diff --git a/drivers/net/wireless/marvell/libertas/if_usb.c b/drivers/net/wireless/marvell/libertas/if_usb.c index 220dcdee8d2b..f1622f0ff8c9 100644 --- a/drivers/net/wireless/marvell/libertas/if_usb.c +++ b/drivers/net/wireless/marvell/libertas/if_usb.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * This file contains functions used in USB interface module. | 3 | * This file contains functions used in USB interface module. |
| 3 | */ | 4 | */ |
diff --git a/drivers/net/wireless/marvell/libertas/main.c b/drivers/net/wireless/marvell/libertas/main.c index f7db60bc7c7f..5968852b65a7 100644 --- a/drivers/net/wireless/marvell/libertas/main.c +++ b/drivers/net/wireless/marvell/libertas/main.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * This file contains the major functions in WLAN | 3 | * This file contains the major functions in WLAN |
| 3 | * driver. It includes init, exit, open, close and main | 4 | * driver. It includes init, exit, open, close and main |
diff --git a/drivers/net/wireless/marvell/libertas/rx.c b/drivers/net/wireless/marvell/libertas/rx.c index 7586ff681b23..58a1fc433b73 100644 --- a/drivers/net/wireless/marvell/libertas/rx.c +++ b/drivers/net/wireless/marvell/libertas/rx.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * This file contains the handling of RX in wlan driver. | 3 | * This file contains the handling of RX in wlan driver. |
| 3 | */ | 4 | */ |
diff --git a/drivers/net/wireless/marvell/libertas/tx.c b/drivers/net/wireless/marvell/libertas/tx.c index 723ba5fd0bfe..aeb481740df6 100644 --- a/drivers/net/wireless/marvell/libertas/tx.c +++ b/drivers/net/wireless/marvell/libertas/tx.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * This file contains the handling of TX in wlan driver. | 3 | * This file contains the handling of TX in wlan driver. |
| 3 | */ | 4 | */ |
diff --git a/drivers/net/wireless/marvell/libertas_tf/Kconfig b/drivers/net/wireless/marvell/libertas_tf/Kconfig index b5557af90048..aa40d65f611a 100644 --- a/drivers/net/wireless/marvell/libertas_tf/Kconfig +++ b/drivers/net/wireless/marvell/libertas_tf/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config LIBERTAS_THINFIRM | 2 | config LIBERTAS_THINFIRM |
| 2 | tristate "Marvell 8xxx Libertas WLAN driver support with thin firmware" | 3 | tristate "Marvell 8xxx Libertas WLAN driver support with thin firmware" |
| 3 | depends on MAC80211 | 4 | depends on MAC80211 |
diff --git a/drivers/net/wireless/marvell/libertas_tf/Makefile b/drivers/net/wireless/marvell/libertas_tf/Makefile index ff5544d6ac9d..9360568b4512 100644 --- a/drivers/net/wireless/marvell/libertas_tf/Makefile +++ b/drivers/net/wireless/marvell/libertas_tf/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | libertas_tf-objs := main.o cmd.o | 2 | libertas_tf-objs := main.o cmd.o |
| 2 | 3 | ||
| 3 | libertas_tf_usb-objs += if_usb.o | 4 | libertas_tf_usb-objs += if_usb.o |
diff --git a/drivers/net/wireless/marvell/mwifiex/Kconfig b/drivers/net/wireless/marvell/mwifiex/Kconfig index 572d187a99f4..64d8a11ad1e7 100644 --- a/drivers/net/wireless/marvell/mwifiex/Kconfig +++ b/drivers/net/wireless/marvell/mwifiex/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config MWIFIEX | 2 | config MWIFIEX |
| 2 | tristate "Marvell WiFi-Ex Driver" | 3 | tristate "Marvell WiFi-Ex Driver" |
| 3 | depends on CFG80211 | 4 | depends on CFG80211 |
diff --git a/drivers/net/wireless/mediatek/Kconfig b/drivers/net/wireless/mediatek/Kconfig index ff5fc8987b0a..02d1120f148f 100644 --- a/drivers/net/wireless/mediatek/Kconfig +++ b/drivers/net/wireless/mediatek/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config WLAN_VENDOR_MEDIATEK | 2 | config WLAN_VENDOR_MEDIATEK |
| 2 | bool "MediaTek devices" | 3 | bool "MediaTek devices" |
| 3 | default y | 4 | default y |
diff --git a/drivers/net/wireless/mediatek/Makefile b/drivers/net/wireless/mediatek/Makefile index 00f945f59b38..806172659bf2 100644 --- a/drivers/net/wireless/mediatek/Makefile +++ b/drivers/net/wireless/mediatek/Makefile | |||
| @@ -1,2 +1,3 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_MT7601U) += mt7601u/ | 2 | obj-$(CONFIG_MT7601U) += mt7601u/ |
| 2 | obj-$(CONFIG_MT76_CORE) += mt76/ | 3 | obj-$(CONFIG_MT76_CORE) += mt76/ |
diff --git a/drivers/net/wireless/mediatek/mt76/Kconfig b/drivers/net/wireless/mediatek/mt76/Kconfig index 30e44e4c3c7d..cbc2d8a5d354 100644 --- a/drivers/net/wireless/mediatek/mt76/Kconfig +++ b/drivers/net/wireless/mediatek/mt76/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config MT76_CORE | 2 | config MT76_CORE |
| 2 | tristate | 3 | tristate |
| 3 | 4 | ||
diff --git a/drivers/net/wireless/mediatek/mt76/Makefile b/drivers/net/wireless/mediatek/mt76/Makefile index 7beae2354a24..4d03596e891f 100644 --- a/drivers/net/wireless/mediatek/mt76/Makefile +++ b/drivers/net/wireless/mediatek/mt76/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_MT76_CORE) += mt76.o | 2 | obj-$(CONFIG_MT76_CORE) += mt76.o |
| 2 | obj-$(CONFIG_MT76_USB) += mt76-usb.o | 3 | obj-$(CONFIG_MT76_USB) += mt76-usb.o |
| 3 | obj-$(CONFIG_MT76x02_LIB) += mt76x02-lib.o | 4 | obj-$(CONFIG_MT76x02_LIB) += mt76x02-lib.o |
diff --git a/drivers/net/wireless/mediatek/mt76/mt7603/Kconfig b/drivers/net/wireless/mediatek/mt76/mt7603/Kconfig index 087945c3d8f3..e108bf881ca8 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7603/Kconfig +++ b/drivers/net/wireless/mediatek/mt76/mt7603/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config MT7603E | 2 | config MT7603E |
| 2 | tristate "MediaTek MT7603E (PCIe) and MT76x8 WLAN support" | 3 | tristate "MediaTek MT7603E (PCIe) and MT76x8 WLAN support" |
| 3 | select MT76_CORE | 4 | select MT76_CORE |
diff --git a/drivers/net/wireless/mediatek/mt76/mt7603/Makefile b/drivers/net/wireless/mediatek/mt76/mt7603/Makefile index d95a30421c62..6878e305c24d 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7603/Makefile +++ b/drivers/net/wireless/mediatek/mt76/mt7603/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_MT7603E) += mt7603e.o | 2 | obj-$(CONFIG_MT7603E) += mt7603e.o |
| 2 | 3 | ||
| 3 | mt7603e-y := \ | 4 | mt7603e-y := \ |
diff --git a/drivers/net/wireless/mediatek/mt76/mt7615/Kconfig b/drivers/net/wireless/mediatek/mt76/mt7615/Kconfig index 3b8aba09bd5e..2ed47b309b6e 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7615/Kconfig +++ b/drivers/net/wireless/mediatek/mt76/mt7615/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config MT7615E | 2 | config MT7615E |
| 2 | tristate "MediaTek MT7615E (PCIe) support" | 3 | tristate "MediaTek MT7615E (PCIe) support" |
| 3 | select MT76_CORE | 4 | select MT76_CORE |
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x0/Kconfig b/drivers/net/wireless/mediatek/mt76/mt76x0/Kconfig index 9a6157db3893..209d8abc49d5 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x0/Kconfig +++ b/drivers/net/wireless/mediatek/mt76/mt76x0/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config MT76x0_COMMON | 2 | config MT76x0_COMMON |
| 2 | tristate | 3 | tristate |
| 3 | select MT76x02_LIB | 4 | select MT76x02_LIB |
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x0/Makefile b/drivers/net/wireless/mediatek/mt76/mt76x0/Makefile index aa22ba954716..8dcfb4cb4fdf 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x0/Makefile +++ b/drivers/net/wireless/mediatek/mt76/mt76x0/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_MT76x0U) += mt76x0u.o | 2 | obj-$(CONFIG_MT76x0U) += mt76x0u.o |
| 2 | obj-$(CONFIG_MT76x0E) += mt76x0e.o | 3 | obj-$(CONFIG_MT76x0E) += mt76x0e.o |
| 3 | obj-$(CONFIG_MT76x0_COMMON) += mt76x0-common.o | 4 | obj-$(CONFIG_MT76x0_COMMON) += mt76x0-common.o |
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x2/Kconfig b/drivers/net/wireless/mediatek/mt76/mt76x2/Kconfig index 2b414a0e9088..1f69908f8373 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x2/Kconfig +++ b/drivers/net/wireless/mediatek/mt76/mt76x2/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config MT76x2_COMMON | 2 | config MT76x2_COMMON |
| 2 | tristate | 3 | tristate |
| 3 | select MT76x02_LIB | 4 | select MT76x02_LIB |
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x2/Makefile b/drivers/net/wireless/mediatek/mt76/mt76x2/Makefile index 9297b850bbba..7b2b187fbf47 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x2/Makefile +++ b/drivers/net/wireless/mediatek/mt76/mt76x2/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_MT76x2_COMMON) += mt76x2-common.o | 2 | obj-$(CONFIG_MT76x2_COMMON) += mt76x2-common.o |
| 2 | obj-$(CONFIG_MT76x2E) += mt76x2e.o | 3 | obj-$(CONFIG_MT76x2E) += mt76x2e.o |
| 3 | obj-$(CONFIG_MT76x2U) += mt76x2u.o | 4 | obj-$(CONFIG_MT76x2U) += mt76x2u.o |
diff --git a/drivers/net/wireless/mediatek/mt7601u/Kconfig b/drivers/net/wireless/mediatek/mt7601u/Kconfig index f46bed92796b..0b230f303d53 100644 --- a/drivers/net/wireless/mediatek/mt7601u/Kconfig +++ b/drivers/net/wireless/mediatek/mt7601u/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config MT7601U | 2 | config MT7601U |
| 2 | tristate "MediaTek MT7601U (USB) support" | 3 | tristate "MediaTek MT7601U (USB) support" |
| 3 | depends on MAC80211 | 4 | depends on MAC80211 |
diff --git a/drivers/net/wireless/mediatek/mt7601u/Makefile b/drivers/net/wireless/mediatek/mt7601u/Makefile index 08fc802ead4b..30f2391c782b 100644 --- a/drivers/net/wireless/mediatek/mt7601u/Makefile +++ b/drivers/net/wireless/mediatek/mt7601u/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_MT7601U) += mt7601u.o | 2 | obj-$(CONFIG_MT7601U) += mt7601u.o |
| 2 | 3 | ||
| 3 | mt7601u-objs = \ | 4 | mt7601u-objs = \ |
diff --git a/drivers/net/wireless/quantenna/Kconfig b/drivers/net/wireless/quantenna/Kconfig index 7628d9c1ea6a..91d78c68561f 100644 --- a/drivers/net/wireless/quantenna/Kconfig +++ b/drivers/net/wireless/quantenna/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config WLAN_VENDOR_QUANTENNA | 2 | config WLAN_VENDOR_QUANTENNA |
| 2 | bool "Quantenna wireless cards support" | 3 | bool "Quantenna wireless cards support" |
| 3 | default y | 4 | default y |
diff --git a/drivers/net/wireless/quantenna/qtnfmac/Kconfig b/drivers/net/wireless/quantenna/qtnfmac/Kconfig index 6cf5202c3666..b4a6df06da54 100644 --- a/drivers/net/wireless/quantenna/qtnfmac/Kconfig +++ b/drivers/net/wireless/quantenna/qtnfmac/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config QTNFMAC | 2 | config QTNFMAC |
| 2 | tristate | 3 | tristate |
| 3 | depends on QTNFMAC_PCIE | 4 | depends on QTNFMAC_PCIE |
diff --git a/drivers/net/wireless/ralink/Kconfig b/drivers/net/wireless/ralink/Kconfig index 9b79e59ee97b..92eec8fff8fd 100644 --- a/drivers/net/wireless/ralink/Kconfig +++ b/drivers/net/wireless/ralink/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config WLAN_VENDOR_RALINK | 2 | config WLAN_VENDOR_RALINK |
| 2 | bool "Ralink devices" | 3 | bool "Ralink devices" |
| 3 | default y | 4 | default y |
diff --git a/drivers/net/wireless/ralink/Makefile b/drivers/net/wireless/ralink/Makefile index f84c0a2e4f4d..fd9ae217e9d0 100644 --- a/drivers/net/wireless/ralink/Makefile +++ b/drivers/net/wireless/ralink/Makefile | |||
| @@ -1 +1,2 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_RT2X00) += rt2x00/ | 2 | obj-$(CONFIG_RT2X00) += rt2x00/ |
diff --git a/drivers/net/wireless/ralink/rt2x00/Kconfig b/drivers/net/wireless/ralink/rt2x00/Kconfig index a1d1cfe214d2..858f8aa3e616 100644 --- a/drivers/net/wireless/ralink/rt2x00/Kconfig +++ b/drivers/net/wireless/ralink/rt2x00/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | menuconfig RT2X00 | 2 | menuconfig RT2X00 |
| 2 | tristate "Ralink driver support" | 3 | tristate "Ralink driver support" |
| 3 | depends on MAC80211 && HAS_DMA | 4 | depends on MAC80211 && HAS_DMA |
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2400pci.c b/drivers/net/wireless/ralink/rt2x00/rt2400pci.c index 49a732798395..4d44509e2ce3 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2400pci.c +++ b/drivers/net/wireless/ralink/rt2x00/rt2400pci.c | |||
| @@ -1,19 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> | 3 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> |
| 3 | <http://rt2x00.serialmonkey.com> | 4 | <http://rt2x00.serialmonkey.com> |
| 4 | 5 | ||
| 5 | This program is free software; you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation; either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | GNU General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU General Public License | ||
| 16 | along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | 6 | */ |
| 18 | 7 | ||
| 19 | /* | 8 | /* |
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2400pci.h b/drivers/net/wireless/ralink/rt2x00/rt2400pci.h index 0fd3a9d01a60..b8187b6de143 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2400pci.h +++ b/drivers/net/wireless/ralink/rt2x00/rt2400pci.h | |||
| @@ -1,19 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> | 3 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> |
| 3 | <http://rt2x00.serialmonkey.com> | 4 | <http://rt2x00.serialmonkey.com> |
| 4 | 5 | ||
| 5 | This program is free software; you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation; either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | GNU General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU General Public License | ||
| 16 | along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | 6 | */ |
| 18 | 7 | ||
| 19 | /* | 8 | /* |
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2500pci.c b/drivers/net/wireless/ralink/rt2x00/rt2500pci.c index e8e7bfe1ba9b..4620990a94cf 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2500pci.c +++ b/drivers/net/wireless/ralink/rt2x00/rt2500pci.c | |||
| @@ -1,19 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> | 3 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> |
| 3 | <http://rt2x00.serialmonkey.com> | 4 | <http://rt2x00.serialmonkey.com> |
| 4 | 5 | ||
| 5 | This program is free software; you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation; either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | GNU General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU General Public License | ||
| 16 | along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | 6 | */ |
| 18 | 7 | ||
| 19 | /* | 8 | /* |
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2500pci.h b/drivers/net/wireless/ralink/rt2x00/rt2500pci.h index 573e87bcc553..7e64aee2a172 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2500pci.h +++ b/drivers/net/wireless/ralink/rt2x00/rt2500pci.h | |||
| @@ -1,19 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> | 3 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> |
| 3 | <http://rt2x00.serialmonkey.com> | 4 | <http://rt2x00.serialmonkey.com> |
| 4 | 5 | ||
| 5 | This program is free software; you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation; either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | GNU General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU General Public License | ||
| 16 | along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | 6 | */ |
| 18 | 7 | ||
| 19 | /* | 8 | /* |
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2500usb.c b/drivers/net/wireless/ralink/rt2x00/rt2500usb.c index 3df8c4b895e7..fce05fc88aaf 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2500usb.c +++ b/drivers/net/wireless/ralink/rt2x00/rt2500usb.c | |||
| @@ -1,19 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> | 3 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> |
| 3 | <http://rt2x00.serialmonkey.com> | 4 | <http://rt2x00.serialmonkey.com> |
| 4 | 5 | ||
| 5 | This program is free software; you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation; either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | GNU General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU General Public License | ||
| 16 | along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | 6 | */ |
| 18 | 7 | ||
| 19 | /* | 8 | /* |
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2500usb.h b/drivers/net/wireless/ralink/rt2x00/rt2500usb.h index 78cc035b2d17..0c070288a140 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2500usb.h +++ b/drivers/net/wireless/ralink/rt2x00/rt2500usb.h | |||
| @@ -1,19 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> | 3 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> |
| 3 | <http://rt2x00.serialmonkey.com> | 4 | <http://rt2x00.serialmonkey.com> |
| 4 | 5 | ||
| 5 | This program is free software; you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation; either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | GNU General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU General Public License | ||
| 16 | along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | 6 | */ |
| 18 | 7 | ||
| 19 | /* | 8 | /* |
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2800.h b/drivers/net/wireless/ralink/rt2x00/rt2800.h index 06c38bafd2ca..d758e8874457 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2800.h +++ b/drivers/net/wireless/ralink/rt2x00/rt2800.h | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | Copyright (C) 2004 - 2010 Ivo van Doorn <IvDoorn@gmail.com> | 3 | Copyright (C) 2004 - 2010 Ivo van Doorn <IvDoorn@gmail.com> |
| 3 | Copyright (C) 2010 Willow Garage <http://www.willowgarage.com> | 4 | Copyright (C) 2010 Willow Garage <http://www.willowgarage.com> |
| @@ -10,18 +11,6 @@ | |||
| 10 | Copyright (C) 2009 Bart Zolnierkiewicz <bzolnier@gmail.com> | 11 | Copyright (C) 2009 Bart Zolnierkiewicz <bzolnier@gmail.com> |
| 11 | <http://rt2x00.serialmonkey.com> | 12 | <http://rt2x00.serialmonkey.com> |
| 12 | 13 | ||
| 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, see <http://www.gnu.org/licenses/>. | ||
| 25 | */ | 14 | */ |
| 26 | 15 | ||
| 27 | /* | 16 | /* |
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2800lib.c b/drivers/net/wireless/ralink/rt2x00/rt2800lib.c index c8f2bf1243fd..621cd4ce69e2 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2800lib.c +++ b/drivers/net/wireless/ralink/rt2x00/rt2800lib.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | Copyright (C) 2010 Willow Garage <http://www.willowgarage.com> | 3 | Copyright (C) 2010 Willow Garage <http://www.willowgarage.com> |
| 3 | Copyright (C) 2010 Ivo van Doorn <IvDoorn@gmail.com> | 4 | Copyright (C) 2010 Ivo van Doorn <IvDoorn@gmail.com> |
| @@ -13,18 +14,6 @@ | |||
| 13 | Copyright (C) 2009 Xose Vazquez Perez <xose.vazquez@gmail.com> | 14 | Copyright (C) 2009 Xose Vazquez Perez <xose.vazquez@gmail.com> |
| 14 | <http://rt2x00.serialmonkey.com> | 15 | <http://rt2x00.serialmonkey.com> |
| 15 | 16 | ||
| 16 | This program is free software; you can redistribute it and/or modify | ||
| 17 | it under the terms of the GNU General Public License as published by | ||
| 18 | the Free Software Foundation; either version 2 of the License, or | ||
| 19 | (at your option) any later version. | ||
| 20 | |||
| 21 | This program is distributed in the hope that it will be useful, | ||
| 22 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 23 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 24 | GNU General Public License for more details. | ||
| 25 | |||
| 26 | You should have received a copy of the GNU General Public License | ||
| 27 | along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 28 | */ | 17 | */ |
| 29 | 18 | ||
| 30 | /* | 19 | /* |
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2800lib.h b/drivers/net/wireless/ralink/rt2x00/rt2800lib.h index 759eab2b70c3..48adc6cc3233 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2800lib.h +++ b/drivers/net/wireless/ralink/rt2x00/rt2800lib.h | |||
| @@ -1,20 +1,9 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | Copyright (C) 2010 Willow Garage <http://www.willowgarage.com> | 3 | Copyright (C) 2010 Willow Garage <http://www.willowgarage.com> |
| 3 | Copyright (C) 2010 Ivo van Doorn <IvDoorn@gmail.com> | 4 | Copyright (C) 2010 Ivo van Doorn <IvDoorn@gmail.com> |
| 4 | Copyright (C) 2009 Bartlomiej Zolnierkiewicz | 5 | Copyright (C) 2009 Bartlomiej Zolnierkiewicz |
| 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, see <http://www.gnu.org/licenses/>. | ||
| 18 | */ | 7 | */ |
| 19 | 8 | ||
| 20 | #ifndef RT2800LIB_H | 9 | #ifndef RT2800LIB_H |
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2800mmio.c b/drivers/net/wireless/ralink/rt2x00/rt2800mmio.c index ecc4c9332ec7..d1de8e2ff690 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2800mmio.c +++ b/drivers/net/wireless/ralink/rt2x00/rt2800mmio.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* Copyright (C) 2009 - 2010 Ivo van Doorn <IvDoorn@gmail.com> | 2 | /* Copyright (C) 2009 - 2010 Ivo van Doorn <IvDoorn@gmail.com> |
| 2 | * Copyright (C) 2009 Alban Browaeys <prahal@yahoo.com> | 3 | * Copyright (C) 2009 Alban Browaeys <prahal@yahoo.com> |
| 3 | * Copyright (C) 2009 Felix Fietkau <nbd@openwrt.org> | 4 | * Copyright (C) 2009 Felix Fietkau <nbd@openwrt.org> |
| @@ -7,19 +8,6 @@ | |||
| 7 | * Copyright (C) 2009 Xose Vazquez Perez <xose.vazquez@gmail.com> | 8 | * Copyright (C) 2009 Xose Vazquez Perez <xose.vazquez@gmail.com> |
| 8 | * Copyright (C) 2009 Bart Zolnierkiewicz <bzolnier@gmail.com> | 9 | * Copyright (C) 2009 Bart Zolnierkiewicz <bzolnier@gmail.com> |
| 9 | * <http://rt2x00.serialmonkey.com> | 10 | * <http://rt2x00.serialmonkey.com> |
| 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, see <http://www.gnu.org/licenses/>. | ||
| 23 | */ | 11 | */ |
| 24 | 12 | ||
| 25 | /* Module: rt2800mmio | 13 | /* Module: rt2800mmio |
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2800mmio.h b/drivers/net/wireless/ralink/rt2x00/rt2800mmio.h index ca58e6c3a4e5..29b5cfd2856f 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2800mmio.h +++ b/drivers/net/wireless/ralink/rt2x00/rt2800mmio.h | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* Copyright (C) 2009 - 2010 Ivo van Doorn <IvDoorn@gmail.com> | 2 | /* Copyright (C) 2009 - 2010 Ivo van Doorn <IvDoorn@gmail.com> |
| 2 | * Copyright (C) 2009 Alban Browaeys <prahal@yahoo.com> | 3 | * Copyright (C) 2009 Alban Browaeys <prahal@yahoo.com> |
| 3 | * Copyright (C) 2009 Felix Fietkau <nbd@openwrt.org> | 4 | * Copyright (C) 2009 Felix Fietkau <nbd@openwrt.org> |
| @@ -7,19 +8,6 @@ | |||
| 7 | * Copyright (C) 2009 Xose Vazquez Perez <xose.vazquez@gmail.com> | 8 | * Copyright (C) 2009 Xose Vazquez Perez <xose.vazquez@gmail.com> |
| 8 | * Copyright (C) 2009 Bart Zolnierkiewicz <bzolnier@gmail.com> | 9 | * Copyright (C) 2009 Bart Zolnierkiewicz <bzolnier@gmail.com> |
| 9 | * <http://rt2x00.serialmonkey.com> | 10 | * <http://rt2x00.serialmonkey.com> |
| 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, see <http://www.gnu.org/licenses/>. | ||
| 23 | */ | 11 | */ |
| 24 | 12 | ||
| 25 | /* Module: rt2800mmio | 13 | /* Module: rt2800mmio |
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2800pci.c b/drivers/net/wireless/ralink/rt2x00/rt2800pci.c index 43e1b1ee96bf..ead8bd3e9236 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2800pci.c +++ b/drivers/net/wireless/ralink/rt2x00/rt2800pci.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | Copyright (C) 2009 - 2010 Ivo van Doorn <IvDoorn@gmail.com> | 3 | Copyright (C) 2009 - 2010 Ivo van Doorn <IvDoorn@gmail.com> |
| 3 | Copyright (C) 2009 Alban Browaeys <prahal@yahoo.com> | 4 | Copyright (C) 2009 Alban Browaeys <prahal@yahoo.com> |
| @@ -9,18 +10,6 @@ | |||
| 9 | Copyright (C) 2009 Bart Zolnierkiewicz <bzolnier@gmail.com> | 10 | Copyright (C) 2009 Bart Zolnierkiewicz <bzolnier@gmail.com> |
| 10 | <http://rt2x00.serialmonkey.com> | 11 | <http://rt2x00.serialmonkey.com> |
| 11 | 12 | ||
| 12 | This program is free software; you can redistribute it and/or modify | ||
| 13 | it under the terms of the GNU General Public License as published by | ||
| 14 | the Free Software Foundation; either version 2 of the License, or | ||
| 15 | (at your option) any later version. | ||
| 16 | |||
| 17 | This program is distributed in the hope that it will be useful, | ||
| 18 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 19 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 20 | GNU General Public License for more details. | ||
| 21 | |||
| 22 | You should have received a copy of the GNU General Public License | ||
| 23 | along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 24 | */ | 13 | */ |
| 25 | 14 | ||
| 26 | /* | 15 | /* |
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2800pci.h b/drivers/net/wireless/ralink/rt2x00/rt2800pci.h index 9dfef4607d6b..aa1782485544 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2800pci.h +++ b/drivers/net/wireless/ralink/rt2x00/rt2800pci.h | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | Copyright (C) 2009 Ivo van Doorn <IvDoorn@gmail.com> | 3 | Copyright (C) 2009 Ivo van Doorn <IvDoorn@gmail.com> |
| 3 | Copyright (C) 2009 Alban Browaeys <prahal@yahoo.com> | 4 | Copyright (C) 2009 Alban Browaeys <prahal@yahoo.com> |
| @@ -9,18 +10,6 @@ | |||
| 9 | Copyright (C) 2009 Bart Zolnierkiewicz <bzolnier@gmail.com> | 10 | Copyright (C) 2009 Bart Zolnierkiewicz <bzolnier@gmail.com> |
| 10 | <http://rt2x00.serialmonkey.com> | 11 | <http://rt2x00.serialmonkey.com> |
| 11 | 12 | ||
| 12 | This program is free software; you can redistribute it and/or modify | ||
| 13 | it under the terms of the GNU General Public License as published by | ||
| 14 | the Free Software Foundation; either version 2 of the License, or | ||
| 15 | (at your option) any later version. | ||
| 16 | |||
| 17 | This program is distributed in the hope that it will be useful, | ||
| 18 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 19 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 20 | GNU General Public License for more details. | ||
| 21 | |||
| 22 | You should have received a copy of the GNU General Public License | ||
| 23 | along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 24 | */ | 13 | */ |
| 25 | 14 | ||
| 26 | /* | 15 | /* |
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2800soc.c b/drivers/net/wireless/ralink/rt2x00/rt2800soc.c index 4e9e38771a56..230557d36c52 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2800soc.c +++ b/drivers/net/wireless/ralink/rt2x00/rt2800soc.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* Copyright (C) 2009 - 2010 Ivo van Doorn <IvDoorn@gmail.com> | 2 | /* Copyright (C) 2009 - 2010 Ivo van Doorn <IvDoorn@gmail.com> |
| 2 | * Copyright (C) 2009 Alban Browaeys <prahal@yahoo.com> | 3 | * Copyright (C) 2009 Alban Browaeys <prahal@yahoo.com> |
| 3 | * Copyright (C) 2009 Felix Fietkau <nbd@openwrt.org> | 4 | * Copyright (C) 2009 Felix Fietkau <nbd@openwrt.org> |
| @@ -7,19 +8,6 @@ | |||
| 7 | * Copyright (C) 2009 Xose Vazquez Perez <xose.vazquez@gmail.com> | 8 | * Copyright (C) 2009 Xose Vazquez Perez <xose.vazquez@gmail.com> |
| 8 | * Copyright (C) 2009 Bart Zolnierkiewicz <bzolnier@gmail.com> | 9 | * Copyright (C) 2009 Bart Zolnierkiewicz <bzolnier@gmail.com> |
| 9 | * <http://rt2x00.serialmonkey.com> | 10 | * <http://rt2x00.serialmonkey.com> |
| 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, see <http://www.gnu.org/licenses/>. | ||
| 23 | */ | 11 | */ |
| 24 | 12 | ||
| 25 | /* Module: rt2800soc | 13 | /* Module: rt2800soc |
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2800usb.c b/drivers/net/wireless/ralink/rt2x00/rt2800usb.c index b5f75df9b563..551427b83775 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2800usb.c +++ b/drivers/net/wireless/ralink/rt2x00/rt2800usb.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | Copyright (C) 2010 Willow Garage <http://www.willowgarage.com> | 3 | Copyright (C) 2010 Willow Garage <http://www.willowgarage.com> |
| 3 | Copyright (C) 2009 - 2010 Ivo van Doorn <IvDoorn@gmail.com> | 4 | Copyright (C) 2009 - 2010 Ivo van Doorn <IvDoorn@gmail.com> |
| @@ -7,18 +8,6 @@ | |||
| 7 | Copyright (C) 2009 Axel Kollhofer <rain_maker@root-forum.org> | 8 | Copyright (C) 2009 Axel Kollhofer <rain_maker@root-forum.org> |
| 8 | <http://rt2x00.serialmonkey.com> | 9 | <http://rt2x00.serialmonkey.com> |
| 9 | 10 | ||
| 10 | This program is free software; you can redistribute it and/or modify | ||
| 11 | it under the terms of the GNU General Public License as published by | ||
| 12 | the Free Software Foundation; either version 2 of the License, or | ||
| 13 | (at your option) any later version. | ||
| 14 | |||
| 15 | This program is distributed in the hope that it will be useful, | ||
| 16 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 17 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 18 | GNU General Public License for more details. | ||
| 19 | |||
| 20 | You should have received a copy of the GNU General Public License | ||
| 21 | along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 22 | */ | 11 | */ |
| 23 | 12 | ||
| 24 | /* | 13 | /* |
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2800usb.h b/drivers/net/wireless/ralink/rt2x00/rt2800usb.h index ea7cac095997..9e180e9e41d9 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2800usb.h +++ b/drivers/net/wireless/ralink/rt2x00/rt2800usb.h | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | Copyright (C) 2009 Ivo van Doorn <IvDoorn@gmail.com> | 3 | Copyright (C) 2009 Ivo van Doorn <IvDoorn@gmail.com> |
| 3 | Copyright (C) 2009 Mattias Nissler <mattias.nissler@gmx.de> | 4 | Copyright (C) 2009 Mattias Nissler <mattias.nissler@gmx.de> |
| @@ -6,18 +7,6 @@ | |||
| 6 | Copyright (C) 2009 Axel Kollhofer <rain_maker@root-forum.org> | 7 | Copyright (C) 2009 Axel Kollhofer <rain_maker@root-forum.org> |
| 7 | <http://rt2x00.serialmonkey.com> | 8 | <http://rt2x00.serialmonkey.com> |
| 8 | 9 | ||
| 9 | This program is free software; you can redistribute it and/or modify | ||
| 10 | it under the terms of the GNU General Public License as published by | ||
| 11 | the Free Software Foundation; either version 2 of the License, or | ||
| 12 | (at your option) any later version. | ||
| 13 | |||
| 14 | This program is distributed in the hope that it will be useful, | ||
| 15 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 17 | GNU General Public License for more details. | ||
| 18 | |||
| 19 | You should have received a copy of the GNU General Public License | ||
| 20 | along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 21 | */ | 10 | */ |
| 22 | 11 | ||
| 23 | /* | 12 | /* |
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2x00.h b/drivers/net/wireless/ralink/rt2x00/rt2x00.h index 9c6ef0ca932b..64a792a8fb2c 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2x00.h +++ b/drivers/net/wireless/ralink/rt2x00/rt2x00.h | |||
| @@ -1,21 +1,10 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | Copyright (C) 2010 Willow Garage <http://www.willowgarage.com> | 3 | Copyright (C) 2010 Willow Garage <http://www.willowgarage.com> |
| 3 | Copyright (C) 2004 - 2010 Ivo van Doorn <IvDoorn@gmail.com> | 4 | Copyright (C) 2004 - 2010 Ivo van Doorn <IvDoorn@gmail.com> |
| 4 | Copyright (C) 2004 - 2009 Gertjan van Wingerde <gwingerde@gmail.com> | 5 | Copyright (C) 2004 - 2009 Gertjan van Wingerde <gwingerde@gmail.com> |
| 5 | <http://rt2x00.serialmonkey.com> | 6 | <http://rt2x00.serialmonkey.com> |
| 6 | 7 | ||
| 7 | This program is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 2 of the License, or | ||
| 10 | (at your option) any later version. | ||
| 11 | |||
| 12 | This program is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 19 | */ | 8 | */ |
| 20 | 9 | ||
| 21 | /* | 10 | /* |
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2x00config.c b/drivers/net/wireless/ralink/rt2x00/rt2x00config.c index 350507458ddc..0ee1813e8453 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2x00config.c +++ b/drivers/net/wireless/ralink/rt2x00/rt2x00config.c | |||
| @@ -1,19 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> | 3 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> |
| 3 | <http://rt2x00.serialmonkey.com> | 4 | <http://rt2x00.serialmonkey.com> |
| 4 | 5 | ||
| 5 | This program is free software; you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation; either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | GNU General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU General Public License | ||
| 16 | along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | 6 | */ |
| 18 | 7 | ||
| 19 | /* | 8 | /* |
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2x00crypto.c b/drivers/net/wireless/ralink/rt2x00/rt2x00crypto.c index a2fd05ba25ca..c861811aa6c0 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2x00crypto.c +++ b/drivers/net/wireless/ralink/rt2x00/rt2x00crypto.c | |||
| @@ -1,19 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> | 3 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> |
| 3 | <http://rt2x00.serialmonkey.com> | 4 | <http://rt2x00.serialmonkey.com> |
| 4 | 5 | ||
| 5 | This program is free software; you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation; either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | GNU General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU General Public License | ||
| 16 | along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | 6 | */ |
| 18 | 7 | ||
| 19 | /* | 8 | /* |
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2x00debug.c b/drivers/net/wireless/ralink/rt2x00/rt2x00debug.c index 05a2e8da412c..aac3aae7afaa 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2x00debug.c +++ b/drivers/net/wireless/ralink/rt2x00/rt2x00debug.c | |||
| @@ -1,19 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> | 3 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> |
| 3 | <http://rt2x00.serialmonkey.com> | 4 | <http://rt2x00.serialmonkey.com> |
| 4 | 5 | ||
| 5 | This program is free software; you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation; either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | GNU General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU General Public License | ||
| 16 | along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | 6 | */ |
| 18 | 7 | ||
| 19 | /* | 8 | /* |
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2x00debug.h b/drivers/net/wireless/ralink/rt2x00/rt2x00debug.h index a357a0727a0b..86658eca550c 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2x00debug.h +++ b/drivers/net/wireless/ralink/rt2x00/rt2x00debug.h | |||
| @@ -1,19 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> | 3 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> |
| 3 | <http://rt2x00.serialmonkey.com> | 4 | <http://rt2x00.serialmonkey.com> |
| 4 | 5 | ||
| 5 | This program is free software; you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation; either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | GNU General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU General Public License | ||
| 16 | along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | 6 | */ |
| 18 | 7 | ||
| 19 | /* | 8 | /* |
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2x00dev.c b/drivers/net/wireless/ralink/rt2x00/rt2x00dev.c index 1b08b01db27b..a6c374c483c2 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2x00dev.c +++ b/drivers/net/wireless/ralink/rt2x00/rt2x00dev.c | |||
| @@ -1,20 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | Copyright (C) 2010 Willow Garage <http://www.willowgarage.com> | 3 | Copyright (C) 2010 Willow Garage <http://www.willowgarage.com> |
| 3 | Copyright (C) 2004 - 2010 Ivo van Doorn <IvDoorn@gmail.com> | 4 | Copyright (C) 2004 - 2010 Ivo van Doorn <IvDoorn@gmail.com> |
| 4 | <http://rt2x00.serialmonkey.com> | 5 | <http://rt2x00.serialmonkey.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, see <http://www.gnu.org/licenses/>. | ||
| 18 | */ | 7 | */ |
| 19 | 8 | ||
| 20 | /* | 9 | /* |
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2x00dump.h b/drivers/net/wireless/ralink/rt2x00/rt2x00dump.h index 3b14eef0b646..9f9915857e84 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2x00dump.h +++ b/drivers/net/wireless/ralink/rt2x00/rt2x00dump.h | |||
| @@ -1,19 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> | 3 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> |
| 3 | <http://rt2x00.serialmonkey.com> | 4 | <http://rt2x00.serialmonkey.com> |
| 4 | 5 | ||
| 5 | This program is free software; you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation; either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | GNU General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU General Public License | ||
| 16 | along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | 6 | */ |
| 18 | 7 | ||
| 19 | /* | 8 | /* |
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2x00firmware.c b/drivers/net/wireless/ralink/rt2x00/rt2x00firmware.c index 5813300f68a2..c20886b02e64 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2x00firmware.c +++ b/drivers/net/wireless/ralink/rt2x00/rt2x00firmware.c | |||
| @@ -1,20 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> | 3 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> |
| 3 | Copyright (C) 2004 - 2009 Gertjan van Wingerde <gwingerde@gmail.com> | 4 | Copyright (C) 2004 - 2009 Gertjan van Wingerde <gwingerde@gmail.com> |
| 4 | <http://rt2x00.serialmonkey.com> | 5 | <http://rt2x00.serialmonkey.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, see <http://www.gnu.org/licenses/>. | ||
| 18 | */ | 7 | */ |
| 19 | 8 | ||
| 20 | /* | 9 | /* |
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2x00leds.c b/drivers/net/wireless/ralink/rt2x00/rt2x00leds.c index c681d04b506c..f5361d582d4e 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2x00leds.c +++ b/drivers/net/wireless/ralink/rt2x00/rt2x00leds.c | |||
| @@ -1,19 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> | 3 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> |
| 3 | <http://rt2x00.serialmonkey.com> | 4 | <http://rt2x00.serialmonkey.com> |
| 4 | 5 | ||
| 5 | This program is free software; you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation; either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | GNU General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU General Public License | ||
| 16 | along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | 6 | */ |
| 18 | 7 | ||
| 19 | /* | 8 | /* |
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2x00leds.h b/drivers/net/wireless/ralink/rt2x00/rt2x00leds.h index b2c5269570da..826058d419ac 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2x00leds.h +++ b/drivers/net/wireless/ralink/rt2x00/rt2x00leds.h | |||
| @@ -1,19 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> | 3 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> |
| 3 | <http://rt2x00.serialmonkey.com> | 4 | <http://rt2x00.serialmonkey.com> |
| 4 | 5 | ||
| 5 | This program is free software; you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation; either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | GNU General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU General Public License | ||
| 16 | along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | 6 | */ |
| 18 | 7 | ||
| 19 | /* | 8 | /* |
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2x00lib.h b/drivers/net/wireless/ralink/rt2x00/rt2x00lib.h index 9ddc1681b86a..2f1385baa7ae 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2x00lib.h +++ b/drivers/net/wireless/ralink/rt2x00/rt2x00lib.h | |||
| @@ -1,20 +1,9 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> | 3 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> |
| 3 | Copyright (C) 2004 - 2009 Gertjan van Wingerde <gwingerde@gmail.com> | 4 | Copyright (C) 2004 - 2009 Gertjan van Wingerde <gwingerde@gmail.com> |
| 4 | <http://rt2x00.serialmonkey.com> | 5 | <http://rt2x00.serialmonkey.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, see <http://www.gnu.org/licenses/>. | ||
| 18 | */ | 7 | */ |
| 19 | 8 | ||
| 20 | /* | 9 | /* |
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2x00link.c b/drivers/net/wireless/ralink/rt2x00/rt2x00link.c index 2010a7715f21..939cfa5141c6 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2x00link.c +++ b/drivers/net/wireless/ralink/rt2x00/rt2x00link.c | |||
| @@ -1,19 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> | 3 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> |
| 3 | <http://rt2x00.serialmonkey.com> | 4 | <http://rt2x00.serialmonkey.com> |
| 4 | 5 | ||
| 5 | This program is free software; you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation; either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | GNU General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU General Public License | ||
| 16 | along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | 6 | */ |
| 18 | 7 | ||
| 19 | /* | 8 | /* |
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2x00mac.c b/drivers/net/wireless/ralink/rt2x00/rt2x00mac.c index e8462f25d252..beb20c5faf5f 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2x00mac.c +++ b/drivers/net/wireless/ralink/rt2x00/rt2x00mac.c | |||
| @@ -1,19 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> | 3 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> |
| 3 | <http://rt2x00.serialmonkey.com> | 4 | <http://rt2x00.serialmonkey.com> |
| 4 | 5 | ||
| 5 | This program is free software; you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation; either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | GNU General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU General Public License | ||
| 16 | along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | 6 | */ |
| 18 | 7 | ||
| 19 | /* | 8 | /* |
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2x00mmio.c b/drivers/net/wireless/ralink/rt2x00/rt2x00mmio.c index 4956a54151cb..93f76acf3dc7 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2x00mmio.c +++ b/drivers/net/wireless/ralink/rt2x00/rt2x00mmio.c | |||
| @@ -1,19 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> | 3 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> |
| 3 | <http://rt2x00.serialmonkey.com> | 4 | <http://rt2x00.serialmonkey.com> |
| 4 | 5 | ||
| 5 | This program is free software; you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation; either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | GNU General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU General Public License | ||
| 16 | along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | 6 | */ |
| 18 | 7 | ||
| 19 | /* | 8 | /* |
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2x00mmio.h b/drivers/net/wireless/ralink/rt2x00/rt2x00mmio.h index 03e6cdb0b5a4..9c7e31c4553f 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2x00mmio.h +++ b/drivers/net/wireless/ralink/rt2x00/rt2x00mmio.h | |||
| @@ -1,19 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> | 3 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> |
| 3 | <http://rt2x00.serialmonkey.com> | 4 | <http://rt2x00.serialmonkey.com> |
| 4 | 5 | ||
| 5 | This program is free software; you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation; either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | GNU General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU General Public License | ||
| 16 | along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | 6 | */ |
| 18 | 7 | ||
| 19 | /* | 8 | /* |
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2x00pci.c b/drivers/net/wireless/ralink/rt2x00/rt2x00pci.c index eb6dbcd4fddf..7f9baa94c7c8 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2x00pci.c +++ b/drivers/net/wireless/ralink/rt2x00/rt2x00pci.c | |||
| @@ -1,19 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> | 3 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> |
| 3 | <http://rt2x00.serialmonkey.com> | 4 | <http://rt2x00.serialmonkey.com> |
| 4 | 5 | ||
| 5 | This program is free software; you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation; either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | GNU General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU General Public License | ||
| 16 | along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | 6 | */ |
| 18 | 7 | ||
| 19 | /* | 8 | /* |
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2x00pci.h b/drivers/net/wireless/ralink/rt2x00/rt2x00pci.h index 283e2e607bba..fd955ccaa1e6 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2x00pci.h +++ b/drivers/net/wireless/ralink/rt2x00/rt2x00pci.h | |||
| @@ -1,19 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> | 3 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> |
| 3 | <http://rt2x00.serialmonkey.com> | 4 | <http://rt2x00.serialmonkey.com> |
| 4 | 5 | ||
| 5 | This program is free software; you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation; either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | GNU General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU General Public License | ||
| 16 | along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | 6 | */ |
| 18 | 7 | ||
| 19 | /* | 8 | /* |
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2x00queue.c b/drivers/net/wireless/ralink/rt2x00/rt2x00queue.c index 03b206440208..3b6100e6c8f6 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2x00queue.c +++ b/drivers/net/wireless/ralink/rt2x00/rt2x00queue.c | |||
| @@ -1,21 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | Copyright (C) 2010 Willow Garage <http://www.willowgarage.com> | 3 | Copyright (C) 2010 Willow Garage <http://www.willowgarage.com> |
| 3 | Copyright (C) 2004 - 2010 Ivo van Doorn <IvDoorn@gmail.com> | 4 | Copyright (C) 2004 - 2010 Ivo van Doorn <IvDoorn@gmail.com> |
| 4 | Copyright (C) 2004 - 2009 Gertjan van Wingerde <gwingerde@gmail.com> | 5 | Copyright (C) 2004 - 2009 Gertjan van Wingerde <gwingerde@gmail.com> |
| 5 | <http://rt2x00.serialmonkey.com> | 6 | <http://rt2x00.serialmonkey.com> |
| 6 | 7 | ||
| 7 | This program is free software; you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation; either version 2 of the License, or | ||
| 10 | (at your option) any later version. | ||
| 11 | |||
| 12 | This program is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 19 | */ | 8 | */ |
| 20 | 9 | ||
| 21 | /* | 10 | /* |
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2x00queue.h b/drivers/net/wireless/ralink/rt2x00/rt2x00queue.h index 20113f861b9e..099e747f70e7 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2x00queue.h +++ b/drivers/net/wireless/ralink/rt2x00/rt2x00queue.h | |||
| @@ -1,19 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | Copyright (C) 2004 - 2010 Ivo van Doorn <IvDoorn@gmail.com> | 3 | Copyright (C) 2004 - 2010 Ivo van Doorn <IvDoorn@gmail.com> |
| 3 | <http://rt2x00.serialmonkey.com> | 4 | <http://rt2x00.serialmonkey.com> |
| 4 | 5 | ||
| 5 | This program is free software; you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation; either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | GNU General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU General Public License | ||
| 16 | along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | 6 | */ |
| 18 | 7 | ||
| 19 | /* | 8 | /* |
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2x00reg.h b/drivers/net/wireless/ralink/rt2x00/rt2x00reg.h index 3cc541d13d67..ffe802b42ba4 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2x00reg.h +++ b/drivers/net/wireless/ralink/rt2x00/rt2x00reg.h | |||
| @@ -1,19 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> | 3 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> |
| 3 | <http://rt2x00.serialmonkey.com> | 4 | <http://rt2x00.serialmonkey.com> |
| 4 | 5 | ||
| 5 | This program is free software; you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation; either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | GNU General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU General Public License | ||
| 16 | along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | 6 | */ |
| 18 | 7 | ||
| 19 | /* | 8 | /* |
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2x00soc.c b/drivers/net/wireless/ralink/rt2x00/rt2x00soc.c index 29250f79c4a4..596b8a432946 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2x00soc.c +++ b/drivers/net/wireless/ralink/rt2x00/rt2x00soc.c | |||
| @@ -1,20 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> | 3 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> |
| 3 | Copyright (C) 2004 - 2009 Felix Fietkau <nbd@openwrt.org> | 4 | Copyright (C) 2004 - 2009 Felix Fietkau <nbd@openwrt.org> |
| 4 | <http://rt2x00.serialmonkey.com> | 5 | <http://rt2x00.serialmonkey.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, see <http://www.gnu.org/licenses/>. | ||
| 18 | */ | 7 | */ |
| 19 | 8 | ||
| 20 | /* | 9 | /* |
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2x00soc.h b/drivers/net/wireless/ralink/rt2x00/rt2x00soc.h index 9948d355e9a4..021fd06b3627 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2x00soc.h +++ b/drivers/net/wireless/ralink/rt2x00/rt2x00soc.h | |||
| @@ -1,19 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> | 3 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> |
| 3 | <http://rt2x00.serialmonkey.com> | 4 | <http://rt2x00.serialmonkey.com> |
| 4 | 5 | ||
| 5 | This program is free software; you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation; either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | GNU General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU General Public License | ||
| 16 | along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | 6 | */ |
| 18 | 7 | ||
| 19 | /* | 8 | /* |
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2x00usb.c b/drivers/net/wireless/ralink/rt2x00/rt2x00usb.c index 9cdd7f2c92b5..67b81c7221c4 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2x00usb.c +++ b/drivers/net/wireless/ralink/rt2x00/rt2x00usb.c | |||
| @@ -1,20 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | Copyright (C) 2010 Willow Garage <http://www.willowgarage.com> | 3 | Copyright (C) 2010 Willow Garage <http://www.willowgarage.com> |
| 3 | Copyright (C) 2004 - 2010 Ivo van Doorn <IvDoorn@gmail.com> | 4 | Copyright (C) 2004 - 2010 Ivo van Doorn <IvDoorn@gmail.com> |
| 4 | <http://rt2x00.serialmonkey.com> | 5 | <http://rt2x00.serialmonkey.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, see <http://www.gnu.org/licenses/>. | ||
| 18 | */ | 7 | */ |
| 19 | 8 | ||
| 20 | /* | 9 | /* |
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2x00usb.h b/drivers/net/wireless/ralink/rt2x00/rt2x00usb.h index ff94c6944cfc..f14e16a6a980 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2x00usb.h +++ b/drivers/net/wireless/ralink/rt2x00/rt2x00usb.h | |||
| @@ -1,19 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> | 3 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> |
| 3 | <http://rt2x00.serialmonkey.com> | 4 | <http://rt2x00.serialmonkey.com> |
| 4 | 5 | ||
| 5 | This program is free software; you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation; either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | GNU General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU General Public License | ||
| 16 | along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | 6 | */ |
| 18 | 7 | ||
| 19 | /* | 8 | /* |
diff --git a/drivers/net/wireless/ralink/rt2x00/rt61pci.c b/drivers/net/wireless/ralink/rt2x00/rt61pci.c index 52b9fc480f8b..d83288bef2fc 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt61pci.c +++ b/drivers/net/wireless/ralink/rt2x00/rt61pci.c | |||
| @@ -1,19 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> | 3 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> |
| 3 | <http://rt2x00.serialmonkey.com> | 4 | <http://rt2x00.serialmonkey.com> |
| 4 | 5 | ||
| 5 | This program is free software; you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation; either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | GNU General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU General Public License | ||
| 16 | along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | 6 | */ |
| 18 | 7 | ||
| 19 | /* | 8 | /* |
diff --git a/drivers/net/wireless/ralink/rt2x00/rt61pci.h b/drivers/net/wireless/ralink/rt2x00/rt61pci.h index ab8641547a1f..5f208ad509bd 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt61pci.h +++ b/drivers/net/wireless/ralink/rt2x00/rt61pci.h | |||
| @@ -1,19 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> | 3 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> |
| 3 | <http://rt2x00.serialmonkey.com> | 4 | <http://rt2x00.serialmonkey.com> |
| 4 | 5 | ||
| 5 | This program is free software; you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation; either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | GNU General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU General Public License | ||
| 16 | along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | 6 | */ |
| 18 | 7 | ||
| 19 | /* | 8 | /* |
diff --git a/drivers/net/wireless/ralink/rt2x00/rt73usb.c b/drivers/net/wireless/ralink/rt2x00/rt73usb.c index 319ec4f2d9d2..e908c303b677 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt73usb.c +++ b/drivers/net/wireless/ralink/rt2x00/rt73usb.c | |||
| @@ -1,19 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> | 3 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> |
| 3 | <http://rt2x00.serialmonkey.com> | 4 | <http://rt2x00.serialmonkey.com> |
| 4 | 5 | ||
| 5 | This program is free software; you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation; either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | GNU General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU General Public License | ||
| 16 | along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | 6 | */ |
| 18 | 7 | ||
| 19 | /* | 8 | /* |
diff --git a/drivers/net/wireless/ralink/rt2x00/rt73usb.h b/drivers/net/wireless/ralink/rt2x00/rt73usb.h index 4a4f235466d1..1b56d285c34b 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt73usb.h +++ b/drivers/net/wireless/ralink/rt2x00/rt73usb.h | |||
| @@ -1,19 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* | 2 | /* |
| 2 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> | 3 | Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> |
| 3 | <http://rt2x00.serialmonkey.com> | 4 | <http://rt2x00.serialmonkey.com> |
| 4 | 5 | ||
| 5 | This program is free software; you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation; either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | GNU General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU General Public License | ||
| 16 | along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | 6 | */ |
| 18 | 7 | ||
| 19 | /* | 8 | /* |
diff --git a/drivers/net/wireless/realtek/Kconfig b/drivers/net/wireless/realtek/Kconfig index 9189fd672578..8ea2d8d7e356 100644 --- a/drivers/net/wireless/realtek/Kconfig +++ b/drivers/net/wireless/realtek/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config WLAN_VENDOR_REALTEK | 2 | config WLAN_VENDOR_REALTEK |
| 2 | bool "Realtek devices" | 3 | bool "Realtek devices" |
| 3 | default y | 4 | default y |
diff --git a/drivers/net/wireless/realtek/Makefile b/drivers/net/wireless/realtek/Makefile index 118af9963d61..888b5d594e79 100644 --- a/drivers/net/wireless/realtek/Makefile +++ b/drivers/net/wireless/realtek/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # Makefile for the Linux Wireless network device drivers for Realtek units | 3 | # Makefile for the Linux Wireless network device drivers for Realtek units |
| 3 | # | 4 | # |
diff --git a/drivers/net/wireless/realtek/rtl818x/Kconfig b/drivers/net/wireless/realtek/rtl818x/Kconfig index 1ce1d55f0010..e1aa3fc71e66 100644 --- a/drivers/net/wireless/realtek/rtl818x/Kconfig +++ b/drivers/net/wireless/realtek/rtl818x/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # RTL818X Wireless LAN device configuration | 3 | # RTL818X Wireless LAN device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/wireless/realtek/rtl818x/Makefile b/drivers/net/wireless/realtek/rtl818x/Makefile index 997569076923..e03afcbf8090 100644 --- a/drivers/net/wireless/realtek/rtl818x/Makefile +++ b/drivers/net/wireless/realtek/rtl818x/Makefile | |||
| @@ -1,2 +1,3 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_RTL8180) += rtl8180/ | 2 | obj-$(CONFIG_RTL8180) += rtl8180/ |
| 2 | obj-$(CONFIG_RTL8187) += rtl8187/ | 3 | obj-$(CONFIG_RTL8187) += rtl8187/ |
diff --git a/drivers/net/wireless/realtek/rtl818x/rtl8180/Makefile b/drivers/net/wireless/realtek/rtl818x/rtl8180/Makefile index 5d6b06d3c02c..565a9a114134 100644 --- a/drivers/net/wireless/realtek/rtl818x/rtl8180/Makefile +++ b/drivers/net/wireless/realtek/rtl818x/rtl8180/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | rtl818x_pci-objs := dev.o rtl8225.o sa2400.o max2820.o grf5101.o rtl8225se.o | 2 | rtl818x_pci-objs := dev.o rtl8225.o sa2400.o max2820.o grf5101.o rtl8225se.o |
| 2 | 3 | ||
| 3 | obj-$(CONFIG_RTL8180) += rtl818x_pci.o | 4 | obj-$(CONFIG_RTL8180) += rtl818x_pci.o |
diff --git a/drivers/net/wireless/realtek/rtl818x/rtl8187/Makefile b/drivers/net/wireless/realtek/rtl818x/rtl8187/Makefile index 95bac73ece7c..0bf64dfb233a 100644 --- a/drivers/net/wireless/realtek/rtl818x/rtl8187/Makefile +++ b/drivers/net/wireless/realtek/rtl818x/rtl8187/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | rtl8187-objs := dev.o rtl8225.o leds.o rfkill.o | 2 | rtl8187-objs := dev.o rtl8225.o leds.o rfkill.o |
| 2 | 3 | ||
| 3 | obj-$(CONFIG_RTL8187) += rtl8187.o | 4 | obj-$(CONFIG_RTL8187) += rtl8187.o |
diff --git a/drivers/net/wireless/realtek/rtl8xxxu/Kconfig b/drivers/net/wireless/realtek/rtl8xxxu/Kconfig index 8f053c350227..32d151cde618 100644 --- a/drivers/net/wireless/realtek/rtl8xxxu/Kconfig +++ b/drivers/net/wireless/realtek/rtl8xxxu/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | # | 2 | # |
| 2 | # RTL8XXXU Wireless LAN device configuration | 3 | # RTL8XXXU Wireless LAN device configuration |
| 3 | # | 4 | # |
diff --git a/drivers/net/wireless/realtek/rtl8xxxu/Makefile b/drivers/net/wireless/realtek/rtl8xxxu/Makefile index 1cf951eb03e2..b278f8697cc0 100644 --- a/drivers/net/wireless/realtek/rtl8xxxu/Makefile +++ b/drivers/net/wireless/realtek/rtl8xxxu/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_RTL8XXXU) += rtl8xxxu.o | 2 | obj-$(CONFIG_RTL8XXXU) += rtl8xxxu.o |
| 2 | 3 | ||
| 3 | rtl8xxxu-y := rtl8xxxu_core.o rtl8xxxu_8192e.o rtl8xxxu_8723b.o \ | 4 | rtl8xxxu-y := rtl8xxxu_core.o rtl8xxxu_8192e.o rtl8xxxu_8723b.o \ |
diff --git a/drivers/net/wireless/realtek/rtlwifi/Kconfig b/drivers/net/wireless/realtek/rtlwifi/Kconfig index 73067cac289c..28c247f7f6f8 100644 --- a/drivers/net/wireless/realtek/rtlwifi/Kconfig +++ b/drivers/net/wireless/realtek/rtlwifi/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | menuconfig RTL_CARDS | 2 | menuconfig RTL_CARDS |
| 2 | tristate "Realtek rtlwifi family of devices" | 3 | tristate "Realtek rtlwifi family of devices" |
| 3 | depends on MAC80211 && (PCI || USB) | 4 | depends on MAC80211 && (PCI || USB) |
diff --git a/drivers/net/wireless/realtek/rtw88/Kconfig b/drivers/net/wireless/realtek/rtw88/Kconfig index 55b1bf3dd9b6..33bd7ed797ff 100644 --- a/drivers/net/wireless/realtek/rtw88/Kconfig +++ b/drivers/net/wireless/realtek/rtw88/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | menuconfig RTW88 | 2 | menuconfig RTW88 |
| 2 | tristate "Realtek 802.11ac wireless chips support" | 3 | tristate "Realtek 802.11ac wireless chips support" |
| 3 | depends on MAC80211 | 4 | depends on MAC80211 |
diff --git a/drivers/net/wireless/rndis_wlan.c b/drivers/net/wireless/rndis_wlan.c index e07a1152cec1..c8f8fe5497a8 100644 --- a/drivers/net/wireless/rndis_wlan.c +++ b/drivers/net/wireless/rndis_wlan.c | |||
| @@ -1,22 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Driver for RNDIS based wireless USB devices. | 3 | * Driver for RNDIS based wireless USB devices. |
| 3 | * | 4 | * |
| 4 | * Copyright (C) 2007 by Bjorge Dijkstra <bjd@jooz.net> | 5 | * Copyright (C) 2007 by Bjorge Dijkstra <bjd@jooz.net> |
| 5 | * Copyright (C) 2008-2009 by Jussi Kivilinna <jussi.kivilinna@iki.fi> | 6 | * Copyright (C) 2008-2009 by Jussi Kivilinna <jussi.kivilinna@iki.fi> |
| 6 | * | 7 | * |
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License as published by | ||
| 9 | * the Free Software Foundation; either version 2 of the License, or | ||
| 10 | * (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 19 | * | ||
| 20 | * Portions of this file are based on NDISwrapper project, | 8 | * Portions of this file are based on NDISwrapper project, |
| 21 | * Copyright (C) 2003-2005 Pontus Fuchs, Giridhar Pemmasani | 9 | * Copyright (C) 2003-2005 Pontus Fuchs, Giridhar Pemmasani |
| 22 | * http://ndiswrapper.sourceforge.net/ | 10 | * http://ndiswrapper.sourceforge.net/ |
diff --git a/drivers/net/wireless/rsi/Kconfig b/drivers/net/wireless/rsi/Kconfig index 976c21866230..ad5d34350cf9 100644 --- a/drivers/net/wireless/rsi/Kconfig +++ b/drivers/net/wireless/rsi/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config WLAN_VENDOR_RSI | 2 | config WLAN_VENDOR_RSI |
| 2 | bool "Redpine Signals Inc devices" | 3 | bool "Redpine Signals Inc devices" |
| 3 | default y | 4 | default y |
diff --git a/drivers/net/wireless/st/Kconfig b/drivers/net/wireless/st/Kconfig index ff69a80a9633..441d1b8e7b80 100644 --- a/drivers/net/wireless/st/Kconfig +++ b/drivers/net/wireless/st/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config WLAN_VENDOR_ST | 2 | config WLAN_VENDOR_ST |
| 2 | bool "STMicroelectronics devices" | 3 | bool "STMicroelectronics devices" |
| 3 | default y | 4 | default y |
diff --git a/drivers/net/wireless/st/Makefile b/drivers/net/wireless/st/Makefile index a60d6350ba46..7fe91b294595 100644 --- a/drivers/net/wireless/st/Makefile +++ b/drivers/net/wireless/st/Makefile | |||
| @@ -1 +1,2 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_CW1200) += cw1200/ | 2 | obj-$(CONFIG_CW1200) += cw1200/ |
diff --git a/drivers/net/wireless/st/cw1200/Kconfig b/drivers/net/wireless/st/cw1200/Kconfig index 0880742eab17..03575e9894bb 100644 --- a/drivers/net/wireless/st/cw1200/Kconfig +++ b/drivers/net/wireless/st/cw1200/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config CW1200 | 2 | config CW1200 |
| 2 | tristate "CW1200 WLAN support" | 3 | tristate "CW1200 WLAN support" |
| 3 | depends on MAC80211 && CFG80211 | 4 | depends on MAC80211 && CFG80211 |
diff --git a/drivers/net/wireless/ti/Kconfig b/drivers/net/wireless/ti/Kconfig index 366c687445ad..b81f2e41a63a 100644 --- a/drivers/net/wireless/ti/Kconfig +++ b/drivers/net/wireless/ti/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config WLAN_VENDOR_TI | 2 | config WLAN_VENDOR_TI |
| 2 | bool "Texas Instrument devices" | 3 | bool "Texas Instrument devices" |
| 3 | default y | 4 | default y |
diff --git a/drivers/net/wireless/ti/wl1251/Kconfig b/drivers/net/wireless/ti/wl1251/Kconfig index 7142ccf3a425..7d39f0a4ba5b 100644 --- a/drivers/net/wireless/ti/wl1251/Kconfig +++ b/drivers/net/wireless/ti/wl1251/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config WL1251 | 2 | config WL1251 |
| 2 | tristate "TI wl1251 driver support" | 3 | tristate "TI wl1251 driver support" |
| 3 | depends on MAC80211 | 4 | depends on MAC80211 |
diff --git a/drivers/net/wireless/ti/wl12xx/Kconfig b/drivers/net/wireless/ti/wl12xx/Kconfig index c2183594655a..e409042ee9a0 100644 --- a/drivers/net/wireless/ti/wl12xx/Kconfig +++ b/drivers/net/wireless/ti/wl12xx/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config WL12XX | 2 | config WL12XX |
| 2 | tristate "TI wl12xx support" | 3 | tristate "TI wl12xx support" |
| 3 | depends on MAC80211 | 4 | depends on MAC80211 |
diff --git a/drivers/net/wireless/ti/wl12xx/Makefile b/drivers/net/wireless/ti/wl12xx/Makefile index e6a24056b3c8..9c019a70feea 100644 --- a/drivers/net/wireless/ti/wl12xx/Makefile +++ b/drivers/net/wireless/ti/wl12xx/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | wl12xx-objs = main.o cmd.o acx.o debugfs.o scan.o event.o | 2 | wl12xx-objs = main.o cmd.o acx.o debugfs.o scan.o event.o |
| 2 | 3 | ||
| 3 | obj-$(CONFIG_WL12XX) += wl12xx.o | 4 | obj-$(CONFIG_WL12XX) += wl12xx.o |
diff --git a/drivers/net/wireless/ti/wl18xx/Kconfig b/drivers/net/wireless/ti/wl18xx/Kconfig index 1cfdb2548821..e29aa2a3ba8a 100644 --- a/drivers/net/wireless/ti/wl18xx/Kconfig +++ b/drivers/net/wireless/ti/wl18xx/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config WL18XX | 2 | config WL18XX |
| 2 | tristate "TI wl18xx support" | 3 | tristate "TI wl18xx support" |
| 3 | depends on MAC80211 | 4 | depends on MAC80211 |
diff --git a/drivers/net/wireless/ti/wl18xx/Makefile b/drivers/net/wireless/ti/wl18xx/Makefile index ae2b81735785..aeb42543b0f3 100644 --- a/drivers/net/wireless/ti/wl18xx/Makefile +++ b/drivers/net/wireless/ti/wl18xx/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | wl18xx-objs = main.o acx.o tx.o io.o debugfs.o scan.o cmd.o event.o | 2 | wl18xx-objs = main.o acx.o tx.o io.o debugfs.o scan.o cmd.o event.o |
| 2 | 3 | ||
| 3 | obj-$(CONFIG_WL18XX) += wl18xx.o | 4 | obj-$(CONFIG_WL18XX) += wl18xx.o |
diff --git a/drivers/net/wireless/ti/wlcore/Kconfig b/drivers/net/wireless/ti/wlcore/Kconfig index 8a8f1e711384..a9db1288221c 100644 --- a/drivers/net/wireless/ti/wlcore/Kconfig +++ b/drivers/net/wireless/ti/wlcore/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config WLCORE | 2 | config WLCORE |
| 2 | tristate "TI wlcore support" | 3 | tristate "TI wlcore support" |
| 3 | depends on MAC80211 | 4 | depends on MAC80211 |
diff --git a/drivers/net/wireless/wl3501_cs.c b/drivers/net/wireless/wl3501_cs.c index da62220b9c01..a25b17932edb 100644 --- a/drivers/net/wireless/wl3501_cs.c +++ b/drivers/net/wireless/wl3501_cs.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * WL3501 Wireless LAN PCMCIA Card Driver for Linux | 3 | * WL3501 Wireless LAN PCMCIA Card Driver for Linux |
| 3 | * Written originally for Linux 2.0.30 by Fox Chen, mhchen@golf.ccl.itri.org.tw | 4 | * Written originally for Linux 2.0.30 by Fox Chen, mhchen@golf.ccl.itri.org.tw |
diff --git a/drivers/net/wireless/zydas/Kconfig b/drivers/net/wireless/zydas/Kconfig index b327f86f05be..78a45cc4c014 100644 --- a/drivers/net/wireless/zydas/Kconfig +++ b/drivers/net/wireless/zydas/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config WLAN_VENDOR_ZYDAS | 2 | config WLAN_VENDOR_ZYDAS |
| 2 | bool "ZyDAS devices" | 3 | bool "ZyDAS devices" |
| 3 | default y | 4 | default y |
diff --git a/drivers/net/wireless/zydas/Makefile b/drivers/net/wireless/zydas/Makefile index 679fbbf3a6cd..c70003d30a8f 100644 --- a/drivers/net/wireless/zydas/Makefile +++ b/drivers/net/wireless/zydas/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_ZD1211RW) += zd1211rw/ | 2 | obj-$(CONFIG_ZD1211RW) += zd1211rw/ |
| 2 | 3 | ||
| 3 | obj-$(CONFIG_USB_ZD1201) += zd1201.o | 4 | obj-$(CONFIG_USB_ZD1201) += zd1201.o |
diff --git a/drivers/net/wireless/zydas/zd1211rw/Kconfig b/drivers/net/wireless/zydas/zd1211rw/Kconfig index 95920581860a..0b7f1810f6e2 100644 --- a/drivers/net/wireless/zydas/zd1211rw/Kconfig +++ b/drivers/net/wireless/zydas/zd1211rw/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | config ZD1211RW | 2 | config ZD1211RW |
| 2 | tristate "ZyDAS ZD1211/ZD1211B USB-wireless support" | 3 | tristate "ZyDAS ZD1211/ZD1211B USB-wireless support" |
| 3 | depends on USB && MAC80211 | 4 | depends on USB && MAC80211 |
diff --git a/drivers/net/wireless/zydas/zd1211rw/zd_chip.c b/drivers/net/wireless/zydas/zd1211rw/zd_chip.c index dd6a86b899eb..40c0a86dbfc7 100644 --- a/drivers/net/wireless/zydas/zd1211rw/zd_chip.c +++ b/drivers/net/wireless/zydas/zd1211rw/zd_chip.c | |||
| @@ -1,20 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* ZD1211 USB-WLAN driver for Linux | 2 | /* ZD1211 USB-WLAN driver for Linux |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2005-2007 Ulrich Kunitz <kune@deine-taler.de> | 4 | * Copyright (C) 2005-2007 Ulrich Kunitz <kune@deine-taler.de> |
| 4 | * Copyright (C) 2006-2007 Daniel Drake <dsd@gentoo.org> | 5 | * Copyright (C) 2006-2007 Daniel Drake <dsd@gentoo.org> |
| 5 | * | ||
| 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, see <http://www.gnu.org/licenses/>. | ||
| 18 | */ | 6 | */ |
| 19 | 7 | ||
| 20 | /* This file implements all the hardware specific functions for the ZD1211 | 8 | /* This file implements all the hardware specific functions for the ZD1211 |
diff --git a/drivers/net/wireless/zydas/zd1211rw/zd_chip.h b/drivers/net/wireless/zydas/zd1211rw/zd_chip.h index b03786c9f3aa..70a1548eb48b 100644 --- a/drivers/net/wireless/zydas/zd1211rw/zd_chip.h +++ b/drivers/net/wireless/zydas/zd1211rw/zd_chip.h | |||
| @@ -1,20 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* ZD1211 USB-WLAN driver for Linux | 2 | /* ZD1211 USB-WLAN driver for Linux |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2005-2007 Ulrich Kunitz <kune@deine-taler.de> | 4 | * Copyright (C) 2005-2007 Ulrich Kunitz <kune@deine-taler.de> |
| 4 | * Copyright (C) 2006-2007 Daniel Drake <dsd@gentoo.org> | 5 | * Copyright (C) 2006-2007 Daniel Drake <dsd@gentoo.org> |
| 5 | * | ||
| 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, see <http://www.gnu.org/licenses/>. | ||
| 18 | */ | 6 | */ |
| 19 | 7 | ||
| 20 | #ifndef _ZD_CHIP_H | 8 | #ifndef _ZD_CHIP_H |
diff --git a/drivers/net/wireless/zydas/zd1211rw/zd_def.h b/drivers/net/wireless/zydas/zd1211rw/zd_def.h index 41bd755bc135..8ca2d0aab170 100644 --- a/drivers/net/wireless/zydas/zd1211rw/zd_def.h +++ b/drivers/net/wireless/zydas/zd1211rw/zd_def.h | |||
| @@ -1,20 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* ZD1211 USB-WLAN driver for Linux | 2 | /* ZD1211 USB-WLAN driver for Linux |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2005-2007 Ulrich Kunitz <kune@deine-taler.de> | 4 | * Copyright (C) 2005-2007 Ulrich Kunitz <kune@deine-taler.de> |
| 4 | * Copyright (C) 2006-2007 Daniel Drake <dsd@gentoo.org> | 5 | * Copyright (C) 2006-2007 Daniel Drake <dsd@gentoo.org> |
| 5 | * | ||
| 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, see <http://www.gnu.org/licenses/>. | ||
| 18 | */ | 6 | */ |
| 19 | 7 | ||
| 20 | #ifndef _ZD_DEF_H | 8 | #ifndef _ZD_DEF_H |
diff --git a/drivers/net/wireless/zydas/zd1211rw/zd_mac.c b/drivers/net/wireless/zydas/zd1211rw/zd_mac.c index 9ccd780695f0..da7e63fca9f5 100644 --- a/drivers/net/wireless/zydas/zd1211rw/zd_mac.c +++ b/drivers/net/wireless/zydas/zd1211rw/zd_mac.c | |||
| @@ -1,22 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* ZD1211 USB-WLAN driver for Linux | 2 | /* ZD1211 USB-WLAN driver for Linux |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2005-2007 Ulrich Kunitz <kune@deine-taler.de> | 4 | * Copyright (C) 2005-2007 Ulrich Kunitz <kune@deine-taler.de> |
| 4 | * Copyright (C) 2006-2007 Daniel Drake <dsd@gentoo.org> | 5 | * Copyright (C) 2006-2007 Daniel Drake <dsd@gentoo.org> |
| 5 | * Copyright (C) 2006-2007 Michael Wu <flamingice@sourmilk.net> | 6 | * Copyright (C) 2006-2007 Michael Wu <flamingice@sourmilk.net> |
| 6 | * Copyright (C) 2007-2008 Luis R. Rodriguez <mcgrof@winlab.rutgers.edu> | 7 | * Copyright (C) 2007-2008 Luis R. Rodriguez <mcgrof@winlab.rutgers.edu> |
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify | ||
| 9 | * it under the terms of the GNU General Public License as published by | ||
| 10 | * the Free Software Foundation; either version 2 of the License, or | ||
| 11 | * (at your option) any later version. | ||
| 12 | * | ||
| 13 | * This program is distributed in the hope that it will be useful, | ||
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public License | ||
| 19 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 20 | */ | 8 | */ |
| 21 | 9 | ||
| 22 | #include <linux/netdevice.h> | 10 | #include <linux/netdevice.h> |
diff --git a/drivers/net/wireless/zydas/zd1211rw/zd_mac.h b/drivers/net/wireless/zydas/zd1211rw/zd_mac.h index 5a484235308f..5ff84bdc5a4c 100644 --- a/drivers/net/wireless/zydas/zd1211rw/zd_mac.h +++ b/drivers/net/wireless/zydas/zd1211rw/zd_mac.h | |||
| @@ -1,20 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* ZD1211 USB-WLAN driver for Linux | 2 | /* ZD1211 USB-WLAN driver for Linux |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2005-2007 Ulrich Kunitz <kune@deine-taler.de> | 4 | * Copyright (C) 2005-2007 Ulrich Kunitz <kune@deine-taler.de> |
| 4 | * Copyright (C) 2006-2007 Daniel Drake <dsd@gentoo.org> | 5 | * Copyright (C) 2006-2007 Daniel Drake <dsd@gentoo.org> |
| 5 | * | ||
| 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, see <http://www.gnu.org/licenses/>. | ||
| 18 | */ | 6 | */ |
| 19 | 7 | ||
| 20 | #ifndef _ZD_MAC_H | 8 | #ifndef _ZD_MAC_H |
diff --git a/drivers/net/wireless/zydas/zd1211rw/zd_rf.c b/drivers/net/wireless/zydas/zd1211rw/zd_rf.c index dc179c414518..d356ae330363 100644 --- a/drivers/net/wireless/zydas/zd1211rw/zd_rf.c +++ b/drivers/net/wireless/zydas/zd1211rw/zd_rf.c | |||
| @@ -1,20 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* ZD1211 USB-WLAN driver for Linux | 2 | /* ZD1211 USB-WLAN driver for Linux |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2005-2007 Ulrich Kunitz <kune@deine-taler.de> | 4 | * Copyright (C) 2005-2007 Ulrich Kunitz <kune@deine-taler.de> |
| 4 | * Copyright (C) 2006-2007 Daniel Drake <dsd@gentoo.org> | 5 | * Copyright (C) 2006-2007 Daniel Drake <dsd@gentoo.org> |
| 5 | * | ||
| 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, see <http://www.gnu.org/licenses/>. | ||
| 18 | */ | 6 | */ |
| 19 | 7 | ||
| 20 | #include <linux/errno.h> | 8 | #include <linux/errno.h> |
diff --git a/drivers/net/wireless/zydas/zd1211rw/zd_rf.h b/drivers/net/wireless/zydas/zd1211rw/zd_rf.h index 8f14e25e1041..8bfec9e75125 100644 --- a/drivers/net/wireless/zydas/zd1211rw/zd_rf.h +++ b/drivers/net/wireless/zydas/zd1211rw/zd_rf.h | |||
| @@ -1,20 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* ZD1211 USB-WLAN driver for Linux | 2 | /* ZD1211 USB-WLAN driver for Linux |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2005-2007 Ulrich Kunitz <kune@deine-taler.de> | 4 | * Copyright (C) 2005-2007 Ulrich Kunitz <kune@deine-taler.de> |
| 4 | * Copyright (C) 2006-2007 Daniel Drake <dsd@gentoo.org> | 5 | * Copyright (C) 2006-2007 Daniel Drake <dsd@gentoo.org> |
| 5 | * | ||
| 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, see <http://www.gnu.org/licenses/>. | ||
| 18 | */ | 6 | */ |
| 19 | 7 | ||
| 20 | #ifndef _ZD_RF_H | 8 | #ifndef _ZD_RF_H |
diff --git a/drivers/net/wireless/zydas/zd1211rw/zd_rf_al2230.c b/drivers/net/wireless/zydas/zd1211rw/zd_rf_al2230.c index 99aed7d78952..23ee5571e9b3 100644 --- a/drivers/net/wireless/zydas/zd1211rw/zd_rf_al2230.c +++ b/drivers/net/wireless/zydas/zd1211rw/zd_rf_al2230.c | |||
| @@ -1,20 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* ZD1211 USB-WLAN driver for Linux | 2 | /* ZD1211 USB-WLAN driver for Linux |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2005-2007 Ulrich Kunitz <kune@deine-taler.de> | 4 | * Copyright (C) 2005-2007 Ulrich Kunitz <kune@deine-taler.de> |
| 4 | * Copyright (C) 2006-2007 Daniel Drake <dsd@gentoo.org> | 5 | * Copyright (C) 2006-2007 Daniel Drake <dsd@gentoo.org> |
| 5 | * | ||
| 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, see <http://www.gnu.org/licenses/>. | ||
| 18 | */ | 6 | */ |
| 19 | 7 | ||
| 20 | #include <linux/kernel.h> | 8 | #include <linux/kernel.h> |
diff --git a/drivers/net/wireless/zydas/zd1211rw/zd_rf_al7230b.c b/drivers/net/wireless/zydas/zd1211rw/zd_rf_al7230b.c index 5fea485be574..356783483837 100644 --- a/drivers/net/wireless/zydas/zd1211rw/zd_rf_al7230b.c +++ b/drivers/net/wireless/zydas/zd1211rw/zd_rf_al7230b.c | |||
| @@ -1,20 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* ZD1211 USB-WLAN driver for Linux | 2 | /* ZD1211 USB-WLAN driver for Linux |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2005-2007 Ulrich Kunitz <kune@deine-taler.de> | 4 | * Copyright (C) 2005-2007 Ulrich Kunitz <kune@deine-taler.de> |
| 4 | * Copyright (C) 2006-2007 Daniel Drake <dsd@gentoo.org> | 5 | * Copyright (C) 2006-2007 Daniel Drake <dsd@gentoo.org> |
| 5 | * | ||
| 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, see <http://www.gnu.org/licenses/>. | ||
| 18 | */ | 6 | */ |
| 19 | 7 | ||
| 20 | #include <linux/kernel.h> | 8 | #include <linux/kernel.h> |
diff --git a/drivers/net/wireless/zydas/zd1211rw/zd_rf_rf2959.c b/drivers/net/wireless/zydas/zd1211rw/zd_rf_rf2959.c index d4e512f50945..e4c1a8a52232 100644 --- a/drivers/net/wireless/zydas/zd1211rw/zd_rf_rf2959.c +++ b/drivers/net/wireless/zydas/zd1211rw/zd_rf_rf2959.c | |||
| @@ -1,20 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* ZD1211 USB-WLAN driver for Linux | 2 | /* ZD1211 USB-WLAN driver for Linux |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2005-2007 Ulrich Kunitz <kune@deine-taler.de> | 4 | * Copyright (C) 2005-2007 Ulrich Kunitz <kune@deine-taler.de> |
| 4 | * Copyright (C) 2006-2007 Daniel Drake <dsd@gentoo.org> | 5 | * Copyright (C) 2006-2007 Daniel Drake <dsd@gentoo.org> |
| 5 | * | ||
| 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, see <http://www.gnu.org/licenses/>. | ||
| 18 | */ | 6 | */ |
| 19 | 7 | ||
| 20 | #include <linux/kernel.h> | 8 | #include <linux/kernel.h> |
diff --git a/drivers/net/wireless/zydas/zd1211rw/zd_rf_uw2453.c b/drivers/net/wireless/zydas/zd1211rw/zd_rf_uw2453.c index 61b924027356..a4e7f187d82d 100644 --- a/drivers/net/wireless/zydas/zd1211rw/zd_rf_uw2453.c +++ b/drivers/net/wireless/zydas/zd1211rw/zd_rf_uw2453.c | |||
| @@ -1,20 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* ZD1211 USB-WLAN driver for Linux | 2 | /* ZD1211 USB-WLAN driver for Linux |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2005-2007 Ulrich Kunitz <kune@deine-taler.de> | 4 | * Copyright (C) 2005-2007 Ulrich Kunitz <kune@deine-taler.de> |
| 4 | * Copyright (C) 2006-2007 Daniel Drake <dsd@gentoo.org> | 5 | * Copyright (C) 2006-2007 Daniel Drake <dsd@gentoo.org> |
| 5 | * | ||
| 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, see <http://www.gnu.org/licenses/>. | ||
| 18 | */ | 6 | */ |
| 19 | 7 | ||
| 20 | #include <linux/kernel.h> | 8 | #include <linux/kernel.h> |
diff --git a/drivers/net/wireless/zydas/zd1211rw/zd_usb.c b/drivers/net/wireless/zydas/zd1211rw/zd_usb.c index a094d5b3383c..1965cd0fafc4 100644 --- a/drivers/net/wireless/zydas/zd1211rw/zd_usb.c +++ b/drivers/net/wireless/zydas/zd1211rw/zd_usb.c | |||
| @@ -1,21 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* ZD1211 USB-WLAN driver for Linux | 2 | /* ZD1211 USB-WLAN driver for Linux |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2005-2007 Ulrich Kunitz <kune@deine-taler.de> | 4 | * Copyright (C) 2005-2007 Ulrich Kunitz <kune@deine-taler.de> |
| 4 | * Copyright (C) 2006-2007 Daniel Drake <dsd@gentoo.org> | 5 | * Copyright (C) 2006-2007 Daniel Drake <dsd@gentoo.org> |
| 5 | * Copyright (C) 2006-2007 Michael Wu <flamingice@sourmilk.net> | 6 | * Copyright (C) 2006-2007 Michael Wu <flamingice@sourmilk.net> |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License as published by | ||
| 9 | * the Free Software Foundation; either version 2 of the License, or | ||
| 10 | * (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 19 | */ | 7 | */ |
| 20 | 8 | ||
| 21 | #include <linux/kernel.h> | 9 | #include <linux/kernel.h> |
diff --git a/drivers/net/wireless/zydas/zd1211rw/zd_usb.h b/drivers/net/wireless/zydas/zd1211rw/zd_usb.h index a9075f225178..a52ee323a142 100644 --- a/drivers/net/wireless/zydas/zd1211rw/zd_usb.h +++ b/drivers/net/wireless/zydas/zd1211rw/zd_usb.h | |||
| @@ -1,20 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||
| 1 | /* ZD1211 USB-WLAN driver for Linux | 2 | /* ZD1211 USB-WLAN driver for Linux |
| 2 | * | 3 | * |
| 3 | * Copyright (C) 2005-2007 Ulrich Kunitz <kune@deine-taler.de> | 4 | * Copyright (C) 2005-2007 Ulrich Kunitz <kune@deine-taler.de> |
| 4 | * Copyright (C) 2006-2007 Daniel Drake <dsd@gentoo.org> | 5 | * Copyright (C) 2006-2007 Daniel Drake <dsd@gentoo.org> |
| 5 | * | ||
| 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, see <http://www.gnu.org/licenses/>. | ||
| 18 | */ | 6 | */ |
| 19 | 7 | ||
| 20 | #ifndef _ZD_USB_H | 8 | #ifndef _ZD_USB_H |
diff --git a/drivers/net/xen-netback/Makefile b/drivers/net/xen-netback/Makefile index d49798a46b51..84e9cbc36359 100644 --- a/drivers/net/xen-netback/Makefile +++ b/drivers/net/xen-netback/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | obj-$(CONFIG_XEN_NETDEV_BACKEND) := xen-netback.o | 2 | obj-$(CONFIG_XEN_NETDEV_BACKEND) := xen-netback.o |
| 2 | 3 | ||
| 3 | xen-netback-y := netback.o xenbus.o interface.o hash.o rx.o | 4 | xen-netback-y := netback.o xenbus.o interface.o hash.o rx.o |
diff --git a/drivers/net/xen-netback/xenbus.c b/drivers/net/xen-netback/xenbus.c index 41c9e8f2e520..41034264bd34 100644 --- a/drivers/net/xen-netback/xenbus.c +++ b/drivers/net/xen-netback/xenbus.c | |||
| @@ -1,21 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 1 | /* | 2 | /* |
| 2 | * Xenbus code for netif backend | 3 | * Xenbus code for netif backend |
| 3 | * | 4 | * |
| 4 | * Copyright (C) 2005 Rusty Russell <rusty@rustcorp.com.au> | 5 | * Copyright (C) 2005 Rusty Russell <rusty@rustcorp.com.au> |
| 5 | * Copyright (C) 2005 XenSource Ltd | 6 | * Copyright (C) 2005 XenSource Ltd |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License as published by | ||
| 9 | * the Free Software Foundation; either version 2 of the License, or | ||
| 10 | * (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 19 | */ | 7 | */ |
| 20 | 8 | ||
| 21 | #include "common.h" | 9 | #include "common.h" |
