diff options
author | Mathias Kresin <dev@kresin.me> | 2016-07-14 18:15:48 +0200 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2016-11-09 20:02:18 +0100 |
commit | b6832817eb39ff237f663a5f0e6245414470ed37 (patch) | |
tree | 7e592cf0837825bb86fb21f3566ca92d577664f7 /package/kernel/mac80211/patches/616-rt2x00-support-rt5350.patch | |
parent | e7c019c24d2c7b367b2c8e58b424d2b7c6c27724 (diff) | |
download | mtk-20170518-b6832817eb39ff237f663a5f0e6245414470ed37.zip mtk-20170518-b6832817eb39ff237f663a5f0e6245414470ed37.tar.gz mtk-20170518-b6832817eb39ff237f663a5f0e6245414470ed37.tar.bz2 |
mac80211: rt2x00: add support for mac addr from device tree
Backport upstream accepted patch which allows to override the EEPROM
mac address with one from device tree.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'package/kernel/mac80211/patches/616-rt2x00-support-rt5350.patch')
-rw-r--r-- | package/kernel/mac80211/patches/616-rt2x00-support-rt5350.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/package/kernel/mac80211/patches/616-rt2x00-support-rt5350.patch b/package/kernel/mac80211/patches/616-rt2x00-support-rt5350.patch index 44bd8a1..a5007dd 100644 --- a/package/kernel/mac80211/patches/616-rt2x00-support-rt5350.patch +++ b/package/kernel/mac80211/patches/616-rt2x00-support-rt5350.patch @@ -210,7 +210,7 @@ case RT5390: rt2800_init_rfcsr_5390(rt2x00dev); break; -@@ -7577,6 +7679,12 @@ static int rt2800_validate_eeprom(struct +@@ -7574,6 +7676,12 @@ static int rt2800_validate_eeprom(struct rt2x00_set_field16(&word, EEPROM_NIC_CONF0_RF_TYPE, RF2820); rt2800_eeprom_write(rt2x00dev, EEPROM_NIC_CONF0, word); rt2x00_eeprom_dbg(rt2x00dev, "Antenna: 0x%04x\n", word); @@ -223,7 +223,7 @@ } else if (rt2x00_rt(rt2x00dev, RT2860) || rt2x00_rt(rt2x00dev, RT2872)) { /* -@@ -7715,6 +7823,8 @@ static int rt2800_init_eeprom(struct rt2 +@@ -7712,6 +7820,8 @@ static int rt2800_init_eeprom(struct rt2 rt2800_eeprom_read(rt2x00dev, EEPROM_CHIP_ID, &rf); else if (rt2x00_rt(rt2x00dev, RT3883)) rf = RF3853; @@ -232,7 +232,7 @@ else rf = rt2x00_get_field16(eeprom, EEPROM_NIC_CONF0_RF_TYPE); -@@ -7734,6 +7844,7 @@ static int rt2800_init_eeprom(struct rt2 +@@ -7731,6 +7841,7 @@ static int rt2800_init_eeprom(struct rt2 case RF3320: case RF3322: case RF3853: @@ -240,7 +240,7 @@ case RF5360: case RF5362: case RF5370: -@@ -8291,6 +8402,7 @@ static int rt2800_probe_hw_mode(struct r +@@ -8288,6 +8399,7 @@ static int rt2800_probe_hw_mode(struct r case RF3290: case RF3320: case RF3322: @@ -248,7 +248,7 @@ case RF5360: case RF5362: case RF5370: -@@ -8430,6 +8542,7 @@ static int rt2800_probe_hw_mode(struct r +@@ -8427,6 +8539,7 @@ static int rt2800_probe_hw_mode(struct r case RF3070: case RF3290: case RF3853: @@ -256,7 +256,7 @@ case RF5360: case RF5362: case RF5370: -@@ -8470,6 +8583,7 @@ static int rt2800_probe_rt(struct rt2x00 +@@ -8467,6 +8580,7 @@ static int rt2800_probe_rt(struct rt2x00 case RT3572: case RT3593: case RT3883: |