Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 249331
b: refs/heads/master
c: 98034c4
h: refs/heads/master
i:
  249329: b90be8d
  249327: 583a5b3
v: v3
  • Loading branch information
Arend van Spriel authored and Greg Kroah-Hartman committed May 3, 2011
1 parent 4402060 commit 5c5ce9d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 97a18a6b7db2843a40a37ab1f6d76c6ea9617ee6
refs/heads/master: 98034c4c370cf904f529d28d8b505d13d007f7a9
5 changes: 3 additions & 2 deletions trunk/drivers/staging/brcm80211/brcmsmac/aiutils.c
Original file line number Diff line number Diff line change
Expand Up @@ -761,6 +761,7 @@ static si_info_t *ai_doattach(si_info_t *sii, uint devid,
u32 w, savewin;
chipcregs_t *cc;
char *pvars = NULL;
uint socitype;
uint origidx;

ASSERT(GOODREGS(regs));
Expand Down Expand Up @@ -814,7 +815,7 @@ static si_info_t *ai_doattach(si_info_t *sii, uint devid,
* be added here.
*/
w = R_REG(&cc->chipid);
sih->socitype = (w & CID_TYPE_MASK) >> CID_TYPE_SHIFT;
socitype = (w & CID_TYPE_MASK) >> CID_TYPE_SHIFT;
/* Might as wll fill in chip id rev & pkg */
sih->chip = w & CID_ID_MASK;
sih->chiprev = (w & CID_REV_MASK) >> CID_REV_SHIFT;
Expand All @@ -823,7 +824,7 @@ static si_info_t *ai_doattach(si_info_t *sii, uint devid,
sih->issim = IS_SIM(sih->chippkg);

/* scan for cores */
if (sii->pub.socitype == SOCI_AI) {
if (socitype == SOCI_AI) {
SI_MSG(("Found chip type AI (0x%08x)\n", w));
/* pass chipc address instead of original core base */
ai_scan(&sii->pub, (void *)cc, devid);
Expand Down

0 comments on commit 5c5ce9d

Please sign in to comment.