Commit f588a225 authored by Mateusz Kulikowski's avatar Mateusz Kulikowski Committed by Greg Kroah-Hartman

staging: rtl8192e: Rename rtl8192_hwconfig

Use naming schema found in other rtlwifi devices.
Rename rtl8192_hwconfig to _rtl92e_hwconfig.
Signed-off-by: default avatarMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6ded6893
...@@ -640,7 +640,7 @@ void rtl92e_get_eeprom_size(struct net_device *dev) ...@@ -640,7 +640,7 @@ void rtl92e_get_eeprom_size(struct net_device *dev)
rtl8192_read_eeprom_info(dev); rtl8192_read_eeprom_info(dev);
} }
static void rtl8192_hwconfig(struct net_device *dev) static void _rtl92e_hwconfig(struct net_device *dev)
{ {
u32 regRATR = 0, regRRSR = 0; u32 regRATR = 0, regRRSR = 0;
u8 regBwOpMode = 0, regTmp = 0; u8 regBwOpMode = 0, regTmp = 0;
...@@ -772,7 +772,7 @@ bool rtl92e_start_adapter(struct net_device *dev) ...@@ -772,7 +772,7 @@ bool rtl92e_start_adapter(struct net_device *dev)
udelay(500); udelay(500);
} }
rtl8192_hwconfig(dev); _rtl92e_hwconfig(dev);
rtl92e_writeb(dev, CMDR, CR_RE | CR_TE); rtl92e_writeb(dev, CMDR, CR_RE | CR_TE);
rtl92e_writeb(dev, PCIF, ((MXDMA2_NoLimit<<MXDMA2_RX_SHIFT) | rtl92e_writeb(dev, PCIF, ((MXDMA2_NoLimit<<MXDMA2_RX_SHIFT) |
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment