Skip to contentSkip to conversation

rtl8192de: Recognize 92D E-CUT version.

PATCH New Forest Bond 1 participant 1 message Apr 5, 2012 Networking drivers (wireless)

lore
Share & tools
lore
#0 lore raw

PATCH v2 2/2 rtl8192de: Recognize 92D E-CUT version.

The chip version constant (0xCC33) was taken from version 0001.0105.2011 of the GPL vendor driver. Note that this driver version also ships a firmware update, but I am unsure if it is required for E-CUT chips to function properly.

A nearby spelling error was also corrected.

---
 drivers/net/wireless/rtlwifi/rtl8192de/hw.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
drivers/net/wireless/rtlwifi/rtl8192de/hw.c +5 -1
index 7d87712..2655448 100644
@@ -1743,9 +1743,13 @@ static void _rtl92de_efuse_update_chip_version(struct ieee80211_hw *hw)
 		chipver |= CHIP_92D_D_CUT;
 		RT_TRACE(rtlpriv, COMP_INIT, DBG_LOUD, "D-CUT!!!\n");
 		break;
+	case 0xCC33:
+		chipver |= CHIP_92D_E_CUT;
+		RT_TRACE(rtlpriv, COMP_INIT, DBG_LOUD, "E-CUT!!!\n");
+		break;
 	default:
 		chipver |= CHIP_92D_D_CUT;
-		RT_TRACE(rtlpriv, COMP_INIT, DBG_EMERG, "Unkown CUT!\n");
+		RT_TRACE(rtlpriv, COMP_INIT, DBG_EMERG, "Unknown CUT!\n");
 		break;
 	}
 	rtlpriv->rtlhal.version = chipver;
Signature · 6 lines
1.7.0.4

-- 
Forest Bond
http://www.alittletooquiet.net
http://www.rapidrollout.com