diff options
Diffstat (limited to 'drivers/net/wireless/brcm80211/brcmsmac/nicpci.c')
-rw-r--r-- | drivers/net/wireless/brcm80211/brcmsmac/nicpci.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmsmac/nicpci.c b/drivers/net/wireless/brcm80211/brcmsmac/nicpci.c index 9a3e03bc1fd0..cd3899b74142 100644 --- a/drivers/net/wireless/brcm80211/brcmsmac/nicpci.c +++ b/drivers/net/wireless/brcm80211/brcmsmac/nicpci.c | |||
@@ -239,20 +239,3 @@ void pcicore_deinit(struct pcicore_info *pch) | |||
239 | { | 239 | { |
240 | kfree(pch); | 240 | kfree(pch); |
241 | } | 241 | } |
242 | |||
243 | void pcicore_fixcfg(struct pcicore_info *pi) | ||
244 | { | ||
245 | struct bcma_device *core = pi->core; | ||
246 | u16 val16; | ||
247 | uint regoff; | ||
248 | |||
249 | regoff = PCIEREGOFFS(sprom[SRSH_PI_OFFSET]); | ||
250 | |||
251 | val16 = bcma_read16(pi->core, regoff); | ||
252 | if (((val16 & SRSH_PI_MASK) >> SRSH_PI_SHIFT) != | ||
253 | (u16)core->core_index) { | ||
254 | val16 = ((u16)core->core_index << SRSH_PI_SHIFT) | | ||
255 | (val16 & ~SRSH_PI_MASK); | ||
256 | bcma_write16(pi->core, regoff, val16); | ||
257 | } | ||
258 | } | ||