mac80211: rt2x00: add support for mac addr from device tree
[openwrt/staging/lynxis/omap.git] / package / kernel / mac80211 / patches / 616-rt2x00-support-rt5350.patch
index 44bd8a194b23f9ef807fb66e99f6695998fc844c..a5007ddb4a410bb9dcc5a58864ee7fe5c8651bb5 100644 (file)
        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);
        } 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;
        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:
        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:
        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:
        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: