rtl8xxxu: Init REG_HIMR[01] for 8192eu parts
The newer generation chips have different interrupt registers. Initialize this correct registers on 8192eu. Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
Родитель
b63d0aaca6
Коммит
99ad16cbea
|
@ -4366,6 +4366,9 @@ static int rtl8xxxu_init_device(struct ieee80211_hw *hw)
|
|||
val32 = rtl8xxxu_read32(priv, REG_TXDMA_OFFSET_CHK);
|
||||
val32 |= TXDMA_OFFSET_DROP_DATA_EN;
|
||||
rtl8xxxu_write32(priv, REG_TXDMA_OFFSET_CHK, val32);
|
||||
|
||||
rtl8xxxu_write32(priv, REG_HIMR0, 0x00);
|
||||
rtl8xxxu_write32(priv, REG_HIMR1, 0x00);
|
||||
}
|
||||
|
||||
ret = rtl8xxxu_init_mac(priv, rtl8723a_mac_init_table);
|
||||
|
|
|
@ -196,6 +196,10 @@
|
|||
#define REG_HMBOX_EXT_1 0x008a
|
||||
#define REG_HMBOX_EXT_2 0x008c
|
||||
#define REG_HMBOX_EXT_3 0x008e
|
||||
/* Interrupt registers for 8192e/8812 */
|
||||
#define REG_HIMR0 0x00b0
|
||||
#define REG_HIMR1 0x00b8
|
||||
|
||||
/* Host suspend counter on FPGA platform */
|
||||
#define REG_HOST_SUSP_CNT 0x00bc
|
||||
/* Efuse access protection for RTL8723 */
|
||||
|
|
Загрузка…
Ссылка в новой задаче