mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 07:46:48 +00:00
ar71xx: rename fix-ar933x-reset patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34798
This commit is contained in:
parent
5da1d7daa5
commit
e108cb91c0
@ -1,6 +1,6 @@
|
|||||||
--- a/arch/mips/ath79/dev-wmac.c
|
--- a/arch/mips/ath79/dev-wmac.c
|
||||||
+++ b/arch/mips/ath79/dev-wmac.c
|
+++ b/arch/mips/ath79/dev-wmac.c
|
||||||
@@ -67,10 +67,27 @@ static void __init ar913x_wmac_setup(voi
|
@@ -62,10 +62,27 @@ static void __init ar913x_wmac_setup(voi
|
||||||
|
|
||||||
static int ar933x_wmac_reset(void)
|
static int ar933x_wmac_reset(void)
|
||||||
{
|
{
|
@ -16,7 +16,7 @@
|
|||||||
static struct ath9k_platform_data ath79_wmac_data;
|
static struct ath9k_platform_data ath79_wmac_data;
|
||||||
|
|
||||||
static struct resource ath79_wmac_resources[] = {
|
static struct resource ath79_wmac_resources[] = {
|
||||||
@@ -134,7 +136,7 @@ static void qca955x_wmac_setup(void)
|
@@ -151,7 +153,7 @@ static void qca955x_wmac_setup(void)
|
||||||
ath79_wmac_data.is_clk_25mhz = true;
|
ath79_wmac_data.is_clk_25mhz = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -25,7 +25,7 @@
|
|||||||
{
|
{
|
||||||
if (soc_is_ar913x())
|
if (soc_is_ar913x())
|
||||||
ar913x_wmac_setup();
|
ar913x_wmac_setup();
|
||||||
@@ -151,5 +153,10 @@ void __init ath79_register_wmac(u8 *cal_
|
@@ -168,5 +170,10 @@ void __init ath79_register_wmac(u8 *cal_
|
||||||
memcpy(ath79_wmac_data.eeprom_data, cal_data,
|
memcpy(ath79_wmac_data.eeprom_data, cal_data,
|
||||||
sizeof(ath79_wmac_data.eeprom_data));
|
sizeof(ath79_wmac_data.eeprom_data));
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--- a/arch/mips/ath79/dev-wmac.c
|
--- a/arch/mips/ath79/dev-wmac.c
|
||||||
+++ b/arch/mips/ath79/dev-wmac.c
|
+++ b/arch/mips/ath79/dev-wmac.c
|
||||||
@@ -163,3 +163,9 @@ void __init ath79_register_wmac(u8 *cal_
|
@@ -180,3 +180,9 @@ void __init ath79_register_wmac(u8 *cal_
|
||||||
|
|
||||||
platform_device_register(&ath79_wmac_device);
|
platform_device_register(&ath79_wmac_device);
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--- a/arch/mips/ath79/dev-wmac.c
|
--- a/arch/mips/ath79/dev-wmac.c
|
||||||
+++ b/arch/mips/ath79/dev-wmac.c
|
+++ b/arch/mips/ath79/dev-wmac.c
|
||||||
@@ -139,6 +139,137 @@ static void qca955x_wmac_setup(void)
|
@@ -156,6 +156,137 @@ static void qca955x_wmac_setup(void)
|
||||||
ath79_wmac_data.is_clk_25mhz = true;
|
ath79_wmac_data.is_clk_25mhz = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--- a/arch/mips/ath79/dev-wmac.c
|
--- a/arch/mips/ath79/dev-wmac.c
|
||||||
+++ b/arch/mips/ath79/dev-wmac.c
|
+++ b/arch/mips/ath79/dev-wmac.c
|
||||||
@@ -270,6 +270,16 @@ bool __init ar93xx_wmac_read_mac_address
|
@@ -287,6 +287,16 @@ bool __init ar93xx_wmac_read_mac_address
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user