diff options
Diffstat (limited to 'drivers/net/wireless/realtek')
17 files changed, 17 insertions, 68 deletions
diff --git a/drivers/net/wireless/realtek/rtl818x/rtl8180/grf5101.c b/drivers/net/wireless/realtek/rtl818x/rtl8180/grf5101.c index b1bfee738937..fda6ba796385 100644 --- a/drivers/net/wireless/realtek/rtl818x/rtl8180/grf5101.c +++ b/drivers/net/wireless/realtek/rtl818x/rtl8180/grf5101.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | 2 | ||
2 | /* | 3 | /* |
3 | * Radio tuning for GCT GRF5101 on RTL8180 | 4 | * Radio tuning for GCT GRF5101 on RTL8180 |
@@ -13,10 +14,6 @@ | |||
13 | * A special Big Thanks also is for all people who donated me cards, | 14 | * A special Big Thanks also is for all people who donated me cards, |
14 | * making possible the creation of the original rtl8180 driver | 15 | * making possible the creation of the original rtl8180 driver |
15 | * from which this code is derived! | 16 | * from which this code is derived! |
16 | * | ||
17 | * This program is free software; you can redistribute it and/or modify | ||
18 | * it under the terms of the GNU General Public License version 2 as | ||
19 | * published by the Free Software Foundation. | ||
20 | */ | 17 | */ |
21 | 18 | ||
22 | #include <linux/pci.h> | 19 | #include <linux/pci.h> |
diff --git a/drivers/net/wireless/realtek/rtl818x/rtl8180/grf5101.h b/drivers/net/wireless/realtek/rtl818x/rtl8180/grf5101.h index 4d80a2785123..91ff3185cd1b 100644 --- a/drivers/net/wireless/realtek/rtl818x/rtl8180/grf5101.h +++ b/drivers/net/wireless/realtek/rtl818x/rtl8180/grf5101.h | |||
@@ -1,3 +1,4 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | #ifndef RTL8180_GRF5101_H | 2 | #ifndef RTL8180_GRF5101_H |
2 | #define RTL8180_GRF5101_H | 3 | #define RTL8180_GRF5101_H |
3 | 4 | ||
@@ -15,10 +16,6 @@ | |||
15 | * A special Big Thanks also is for all people who donated me cards, | 16 | * A special Big Thanks also is for all people who donated me cards, |
16 | * making possible the creation of the original rtl8180 driver | 17 | * making possible the creation of the original rtl8180 driver |
17 | * from which this code is derived! | 18 | * from which this code is derived! |
18 | * | ||
19 | * This program is free software; you can redistribute it and/or modify | ||
20 | * it under the terms of the GNU General Public License version 2 as | ||
21 | * published by the Free Software Foundation. | ||
22 | */ | 19 | */ |
23 | 20 | ||
24 | #define GRF5101_ANTENNA 0xA3 | 21 | #define GRF5101_ANTENNA 0xA3 |
diff --git a/drivers/net/wireless/realtek/rtl818x/rtl8180/max2820.c b/drivers/net/wireless/realtek/rtl818x/rtl8180/max2820.c index eebf23976524..27d04fec3691 100644 --- a/drivers/net/wireless/realtek/rtl818x/rtl8180/max2820.c +++ b/drivers/net/wireless/realtek/rtl818x/rtl8180/max2820.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Radio tuning for Maxim max2820 on RTL8180 | 3 | * Radio tuning for Maxim max2820 on RTL8180 |
3 | * | 4 | * |
@@ -12,10 +13,6 @@ | |||
12 | * A special Big Thanks also is for all people who donated me cards, | 13 | * A special Big Thanks also is for all people who donated me cards, |
13 | * making possible the creation of the original rtl8180 driver | 14 | * making possible the creation of the original rtl8180 driver |
14 | * from which this code is derived! | 15 | * from which this code is derived! |
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 version 2 as | ||
18 | * published by the Free Software Foundation. | ||
19 | */ | 16 | */ |
20 | 17 | ||
21 | #include <linux/pci.h> | 18 | #include <linux/pci.h> |
diff --git a/drivers/net/wireless/realtek/rtl818x/rtl8180/max2820.h b/drivers/net/wireless/realtek/rtl818x/rtl8180/max2820.h index 8e982b72b690..4cb800d2d3c8 100644 --- a/drivers/net/wireless/realtek/rtl818x/rtl8180/max2820.h +++ b/drivers/net/wireless/realtek/rtl818x/rtl8180/max2820.h | |||
@@ -1,3 +1,4 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | #ifndef RTL8180_MAX2820_H | 2 | #ifndef RTL8180_MAX2820_H |
2 | #define RTL8180_MAX2820_H | 3 | #define RTL8180_MAX2820_H |
3 | 4 | ||
@@ -15,10 +16,6 @@ | |||
15 | * A special Big Thanks also is for all people who donated me cards, | 16 | * A special Big Thanks also is for all people who donated me cards, |
16 | * making possible the creation of the original rtl8180 driver | 17 | * making possible the creation of the original rtl8180 driver |
17 | * from which this code is derived! | 18 | * from which this code is derived! |
18 | * | ||
19 | * This program is free software; you can redistribute it and/or modify | ||
20 | * it under the terms of the GNU General Public License version 2 as | ||
21 | * published by the Free Software Foundation. | ||
22 | */ | 19 | */ |
23 | 20 | ||
24 | #define MAXIM_ANTENNA 0xb3 | 21 | #define MAXIM_ANTENNA 0xb3 |
diff --git a/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c b/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c index 9bda5bc78eda..470a869e6658 100644 --- a/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c +++ b/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | 2 | ||
2 | /* | 3 | /* |
3 | * Radio tuning for RTL8225 on RTL8180 | 4 | * Radio tuning for RTL8225 on RTL8180 |
@@ -9,10 +10,6 @@ | |||
9 | * Copyright 2005 Andrea Merello <andrea.merello@gmail.com>, et al. | 10 | * Copyright 2005 Andrea Merello <andrea.merello@gmail.com>, et al. |
10 | * | 11 | * |
11 | * Thanks to Realtek for their support! | 12 | * Thanks to Realtek for their support! |
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 version 2 as | ||
15 | * published by the Free Software Foundation. | ||
16 | */ | 13 | */ |
17 | 14 | ||
18 | #include <linux/pci.h> | 15 | #include <linux/pci.h> |
diff --git a/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225se.c b/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225se.c index 51e32df6120b..23cd4ff78e54 100644 --- a/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225se.c +++ b/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225se.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | 2 | ||
2 | /* Radio tuning for RTL8225 on RTL8187SE | 3 | /* Radio tuning for RTL8225 on RTL8187SE |
3 | * | 4 | * |
@@ -10,10 +11,6 @@ | |||
10 | * Also based on the rtl8187 driver, which is: | 11 | * Also based on the rtl8187 driver, which is: |
11 | * Copyright 2007 Michael Wu <flamingice@sourmilk.net> | 12 | * Copyright 2007 Michael Wu <flamingice@sourmilk.net> |
12 | * Copyright 2007 Andrea Merello <andrea.merello@gmail.com> | 13 | * Copyright 2007 Andrea Merello <andrea.merello@gmail.com> |
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 version 2 as | ||
16 | * published by the Free Software Foundation. | ||
17 | */ | 14 | */ |
18 | 15 | ||
19 | #include <net/mac80211.h> | 16 | #include <net/mac80211.h> |
diff --git a/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225se.h b/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225se.h index 229400264088..f00972661888 100644 --- a/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225se.h +++ b/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225se.h | |||
@@ -1,3 +1,4 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | 2 | ||
2 | /* Definitions for RTL8187SE hardware | 3 | /* Definitions for RTL8187SE hardware |
3 | * | 4 | * |
@@ -10,10 +11,6 @@ | |||
10 | * Also based on the rtl8187 driver, which is: | 11 | * Also based on the rtl8187 driver, which is: |
11 | * Copyright 2007 Michael Wu <flamingice@sourmilk.net> | 12 | * Copyright 2007 Michael Wu <flamingice@sourmilk.net> |
12 | * Copyright 2007 Andrea Merello <andrea.merello@gmail.com> | 13 | * Copyright 2007 Andrea Merello <andrea.merello@gmail.com> |
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 version 2 as | ||
16 | * published by the Free Software Foundation. | ||
17 | */ | 14 | */ |
18 | 15 | ||
19 | #ifndef RTL8187SE_RTL8225_H | 16 | #ifndef RTL8187SE_RTL8225_H |
diff --git a/drivers/net/wireless/realtek/rtl818x/rtl8180/sa2400.c b/drivers/net/wireless/realtek/rtl818x/rtl8180/sa2400.c index 959b049827de..dd12f5cdb19b 100644 --- a/drivers/net/wireless/realtek/rtl818x/rtl8180/sa2400.c +++ b/drivers/net/wireless/realtek/rtl818x/rtl8180/sa2400.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | 2 | ||
2 | /* | 3 | /* |
3 | * Radio tuning for Philips SA2400 on RTL8180 | 4 | * Radio tuning for Philips SA2400 on RTL8180 |
@@ -13,10 +14,6 @@ | |||
13 | * A special Big Thanks also is for all people who donated me cards, | 14 | * A special Big Thanks also is for all people who donated me cards, |
14 | * making possible the creation of the original rtl8180 driver | 15 | * making possible the creation of the original rtl8180 driver |
15 | * from which this code is derived! | 16 | * from which this code is derived! |
16 | * | ||
17 | * This program is free software; you can redistribute it and/or modify | ||
18 | * it under the terms of the GNU General Public License version 2 as | ||
19 | * published by the Free Software Foundation. | ||
20 | */ | 17 | */ |
21 | 18 | ||
22 | #include <linux/pci.h> | 19 | #include <linux/pci.h> |
diff --git a/drivers/net/wireless/realtek/rtl818x/rtl8180/sa2400.h b/drivers/net/wireless/realtek/rtl818x/rtl8180/sa2400.h index fb0093f35148..ef6565b20dbd 100644 --- a/drivers/net/wireless/realtek/rtl818x/rtl8180/sa2400.h +++ b/drivers/net/wireless/realtek/rtl818x/rtl8180/sa2400.h | |||
@@ -1,3 +1,4 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | #ifndef RTL8180_SA2400_H | 2 | #ifndef RTL8180_SA2400_H |
2 | #define RTL8180_SA2400_H | 3 | #define RTL8180_SA2400_H |
3 | 4 | ||
@@ -15,10 +16,6 @@ | |||
15 | * A special Big Thanks also is for all people who donated me cards, | 16 | * A special Big Thanks also is for all people who donated me cards, |
16 | * making possible the creation of the original rtl8180 driver | 17 | * making possible the creation of the original rtl8180 driver |
17 | * from which this code is derived! | 18 | * from which this code is derived! |
18 | * | ||
19 | * This program is free software; you can redistribute it and/or modify | ||
20 | * it under the terms of the GNU General Public License version 2 as | ||
21 | * published by the Free Software Foundation. | ||
22 | */ | 19 | */ |
23 | 20 | ||
24 | #define SA2400_ANTENNA 0x91 | 21 | #define SA2400_ANTENNA 0x91 |
diff --git a/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c b/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c index 1a2ea8b47714..eb68b2d3caa1 100644 --- a/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c +++ b/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Linux device driver for RTL8187 | 3 | * Linux device driver for RTL8187 |
3 | * | 4 | * |
@@ -14,10 +15,6 @@ | |||
14 | * | 15 | * |
15 | * Magic delays and register offsets below are taken from the original | 16 | * Magic delays and register offsets below are taken from the original |
16 | * r8187 driver sources. Thanks to Realtek for their support! | 17 | * r8187 driver sources. Thanks to Realtek for their support! |
17 | * | ||
18 | * This program is free software; you can redistribute it and/or modify | ||
19 | * it under the terms of the GNU General Public License version 2 as | ||
20 | * published by the Free Software Foundation. | ||
21 | */ | 18 | */ |
22 | 19 | ||
23 | #include <linux/usb.h> | 20 | #include <linux/usb.h> |
diff --git a/drivers/net/wireless/realtek/rtl818x/rtl8187/leds.c b/drivers/net/wireless/realtek/rtl818x/rtl8187/leds.c index c089540116fa..49421d10e22b 100644 --- a/drivers/net/wireless/realtek/rtl818x/rtl8187/leds.c +++ b/drivers/net/wireless/realtek/rtl818x/rtl8187/leds.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Linux LED driver for RTL8187 | 3 | * Linux LED driver for RTL8187 |
3 | * | 4 | * |
@@ -7,10 +8,6 @@ | |||
7 | * Copyright (c) Realtek Semiconductor Corp. All rights reserved. | 8 | * Copyright (c) Realtek Semiconductor Corp. All rights reserved. |
8 | * | 9 | * |
9 | * Thanks to Realtek for their support! | 10 | * Thanks to Realtek for their support! |
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 version 2 as | ||
13 | * published by the Free Software Foundation. | ||
14 | */ | 11 | */ |
15 | 12 | ||
16 | #ifdef CONFIG_RTL8187_LEDS | 13 | #ifdef CONFIG_RTL8187_LEDS |
diff --git a/drivers/net/wireless/realtek/rtl818x/rtl8187/leds.h b/drivers/net/wireless/realtek/rtl818x/rtl8187/leds.h index d743c96d4a20..5565cbf92bbf 100644 --- a/drivers/net/wireless/realtek/rtl818x/rtl8187/leds.h +++ b/drivers/net/wireless/realtek/rtl818x/rtl8187/leds.h | |||
@@ -1,3 +1,4 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * Definitions for RTL8187 leds | 3 | * Definitions for RTL8187 leds |
3 | * | 4 | * |
@@ -5,10 +6,6 @@ | |||
5 | * | 6 | * |
6 | * Based on the LED handling in the r8187 driver, which is: | 7 | * Based on the LED handling in the r8187 driver, which is: |
7 | * Copyright (c) Realtek Semiconductor Corp. All rights reserved. | 8 | * Copyright (c) Realtek Semiconductor Corp. All rights reserved. |
8 | * | ||
9 | * This program is free software; you can redistribute it and/or modify | ||
10 | * it under the terms of the GNU General Public License version 2 as | ||
11 | * published by the Free Software Foundation. | ||
12 | */ | 9 | */ |
13 | 10 | ||
14 | #ifndef RTL8187_LED_H | 11 | #ifndef RTL8187_LED_H |
diff --git a/drivers/net/wireless/realtek/rtl818x/rtl8187/rfkill.c b/drivers/net/wireless/realtek/rtl818x/rtl8187/rfkill.c index 34116719974a..c57a4742b03e 100644 --- a/drivers/net/wireless/realtek/rtl818x/rtl8187/rfkill.c +++ b/drivers/net/wireless/realtek/rtl818x/rtl8187/rfkill.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Linux RFKILL support for RTL8187 | 3 | * Linux RFKILL support for RTL8187 |
3 | * | 4 | * |
@@ -7,10 +8,6 @@ | |||
7 | * Copyright (c) Realtek Semiconductor Corp. All rights reserved. | 8 | * Copyright (c) Realtek Semiconductor Corp. All rights reserved. |
8 | * | 9 | * |
9 | * Thanks to Realtek for their support! | 10 | * Thanks to Realtek for their support! |
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 version 2 as | ||
13 | * published by the Free Software Foundation. | ||
14 | */ | 11 | */ |
15 | 12 | ||
16 | #include <linux/types.h> | 13 | #include <linux/types.h> |
diff --git a/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8187.h b/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8187.h index 324451df97f7..36f3460cc6c6 100644 --- a/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8187.h +++ b/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8187.h | |||
@@ -1,3 +1,4 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * Definitions for RTL8187 hardware | 3 | * Definitions for RTL8187 hardware |
3 | * | 4 | * |
@@ -6,10 +7,6 @@ | |||
6 | * | 7 | * |
7 | * Based on the r8187 driver, which is: | 8 | * Based on the r8187 driver, which is: |
8 | * Copyright 2005 Andrea Merello <andrea.merello@gmail.com>, et al. | 9 | * Copyright 2005 Andrea Merello <andrea.merello@gmail.com>, et al. |
9 | * | ||
10 | * This program is free software; you can redistribute it and/or modify | ||
11 | * it under the terms of the GNU General Public License version 2 as | ||
12 | * published by the Free Software Foundation. | ||
13 | */ | 10 | */ |
14 | 11 | ||
15 | #ifndef RTL8187_H | 12 | #ifndef RTL8187_H |
diff --git a/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c b/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c index ff0971f1e2c8..b2616d61b66d 100644 --- a/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c +++ b/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Radio tuning for RTL8225 on RTL8187 | 3 | * Radio tuning for RTL8225 on RTL8187 |
3 | * | 4 | * |
@@ -10,10 +11,6 @@ | |||
10 | * Magic delays, register offsets, and phy value tables below are | 11 | * Magic delays, register offsets, and phy value tables below are |
11 | * taken from the original r8187 driver sources. Thanks to Realtek | 12 | * taken from the original r8187 driver sources. Thanks to Realtek |
12 | * for their support! | 13 | * for their support! |
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 version 2 as | ||
16 | * published by the Free Software Foundation. | ||
17 | */ | 14 | */ |
18 | 15 | ||
19 | #include <linux/usb.h> | 16 | #include <linux/usb.h> |
diff --git a/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.h b/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.h index 141afb09a5b4..b9475e6ead23 100644 --- a/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.h +++ b/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.h | |||
@@ -1,3 +1,4 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * Radio tuning definitions for RTL8225 on RTL8187 | 3 | * Radio tuning definitions for RTL8225 on RTL8187 |
3 | * | 4 | * |
@@ -6,10 +7,6 @@ | |||
6 | * | 7 | * |
7 | * Based on the r8187 driver, which is: | 8 | * Based on the r8187 driver, which is: |
8 | * Copyright 2005 Andrea Merello <andrea.merello@gmail.com>, et al. | 9 | * Copyright 2005 Andrea Merello <andrea.merello@gmail.com>, et al. |
9 | * | ||
10 | * This program is free software; you can redistribute it and/or modify | ||
11 | * it under the terms of the GNU General Public License version 2 as | ||
12 | * published by the Free Software Foundation. | ||
13 | */ | 10 | */ |
14 | 11 | ||
15 | #ifndef RTL8187_RTL8225_H | 12 | #ifndef RTL8187_RTL8225_H |
diff --git a/drivers/net/wireless/realtek/rtl818x/rtl818x.h b/drivers/net/wireless/realtek/rtl818x/rtl818x.h index 7abef95d278b..597f41af899a 100644 --- a/drivers/net/wireless/realtek/rtl818x/rtl818x.h +++ b/drivers/net/wireless/realtek/rtl818x/rtl818x.h | |||
@@ -1,3 +1,4 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * Definitions for RTL818x hardware | 3 | * Definitions for RTL818x hardware |
3 | * | 4 | * |
@@ -6,10 +7,6 @@ | |||
6 | * | 7 | * |
7 | * Based on the r8187 driver, which is: | 8 | * Based on the r8187 driver, which is: |
8 | * Copyright 2005 Andrea Merello <andrea.merello@gmail.com>, et al. | 9 | * Copyright 2005 Andrea Merello <andrea.merello@gmail.com>, et al. |
9 | * | ||
10 | * This program is free software; you can redistribute it and/or modify | ||
11 | * it under the terms of the GNU General Public License version 2 as | ||
12 | * published by the Free Software Foundation. | ||
13 | */ | 10 | */ |
14 | 11 | ||
15 | #ifndef RTL818X_H | 12 | #ifndef RTL818X_H |