summaryrefslogtreecommitdiff
path: root/package/kernel/mac80211/patches/616-rt2x00-support-rt5350.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-09-09 17:31:53 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-09-09 17:31:53 +0000
commit247299bfa0b5b18a98a721cdcbf4f5af4ff78a51 (patch)
tree503b5bff7313f8ed3ee7665759ad587ea2eb2cfd /package/kernel/mac80211/patches/616-rt2x00-support-rt5350.patch
parente6d015489bc4afc26bdc8e0bc57a54ee7b3b049a (diff)
downloadmtk-20170518-247299bfa0b5b18a98a721cdcbf4f5af4ff78a51.zip
mtk-20170518-247299bfa0b5b18a98a721cdcbf4f5af4ff78a51.tar.gz
mtk-20170518-247299bfa0b5b18a98a721cdcbf4f5af4ff78a51.tar.bz2
rt2x00: merge an rt2800 initialization order fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37922
Diffstat (limited to 'package/kernel/mac80211/patches/616-rt2x00-support-rt5350.patch')
-rw-r--r--package/kernel/mac80211/patches/616-rt2x00-support-rt5350.patch12
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 223d46a..6acc70e 100644
--- a/package/kernel/mac80211/patches/616-rt2x00-support-rt5350.patch
+++ b/package/kernel/mac80211/patches/616-rt2x00-support-rt5350.patch
@@ -212,7 +212,7 @@
case RT5390:
rt2800_init_rfcsr_5390(rt2x00dev);
break;
-@@ -6901,6 +7005,12 @@ static int rt2800_validate_eeprom(struct
+@@ -6902,6 +7006,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);
@@ -225,7 +225,7 @@
} else if (rt2x00_rt(rt2x00dev, RT2860) ||
rt2x00_rt(rt2x00dev, RT2872)) {
/*
-@@ -7034,6 +7144,8 @@ static int rt2800_init_eeprom(struct rt2
+@@ -7035,6 +7145,8 @@ static int rt2800_init_eeprom(struct rt2
rt2x00_rt(rt2x00dev, RT5390) ||
rt2x00_rt(rt2x00dev, RT5392))
rt2800_eeprom_read(rt2x00dev, EEPROM_CHIP_ID, &rf);
@@ -234,7 +234,7 @@
else
rf = rt2x00_get_field16(eeprom, EEPROM_NIC_CONF0_RF_TYPE);
-@@ -7051,6 +7163,7 @@ static int rt2800_init_eeprom(struct rt2
+@@ -7052,6 +7164,7 @@ static int rt2800_init_eeprom(struct rt2
case RF3290:
case RF3320:
case RF3322:
@@ -242,7 +242,7 @@
case RF5360:
case RF5370:
case RF5372:
-@@ -7617,7 +7730,8 @@ static int rt2800_probe_hw_mode(struct r
+@@ -7618,7 +7731,8 @@ static int rt2800_probe_hw_mode(struct r
rt2x00_rf(rt2x00dev, RF5392)) {
spec->num_channels = 14;
spec->channels = rf_vals_3x;
@@ -252,7 +252,7 @@
spec->num_channels = 14;
if (spec->clk_is_20mhz)
spec->channels = rf_vals_xtal20mhz_3x;
-@@ -7742,6 +7856,7 @@ static int rt2800_probe_hw_mode(struct r
+@@ -7743,6 +7857,7 @@ static int rt2800_probe_hw_mode(struct r
case RF3052:
case RF3053:
case RF3290:
@@ -260,7 +260,7 @@
case RF5360:
case RF5370:
case RF5372:
-@@ -7780,6 +7895,7 @@ static int rt2800_probe_rt(struct rt2x00
+@@ -7781,6 +7896,7 @@ static int rt2800_probe_rt(struct rt2x00
case RT3390:
case RT3572:
case RT3593: