brcmsmac: use core id constants from bcma
This patch depends on adding the IDs to bcma done in this commit in my pending patch series for bcma. Author: Hauke Mehrtens <hauke@hauke-m.de> Date: Sun Jun 3 18:17:57 2012 +0200 bcma: add constants for chip ids Acked-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
此提交包含在:
@@ -639,10 +639,10 @@ struct dma_pub *dma_attach(char *name, struct si_pub *sih,
|
||||
di->dataoffsetlow = di->ddoffsetlow;
|
||||
di->dataoffsethigh = di->ddoffsethigh;
|
||||
/* WAR64450 : DMACtl.Addr ext fields are not supported in SDIOD core. */
|
||||
if ((core->id.id == SDIOD_CORE_ID)
|
||||
if ((core->id.id == BCMA_CORE_SDIO_DEV)
|
||||
&& ((rev > 0) && (rev <= 2)))
|
||||
di->addrext = false;
|
||||
else if ((core->id.id == I2S_CORE_ID) &&
|
||||
else if ((core->id.id == BCMA_CORE_I2S) &&
|
||||
((rev == 0) || (rev == 1)))
|
||||
di->addrext = false;
|
||||
else
|
||||
|
新增問題並參考
封鎖使用者