Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 249627
b: refs/heads/master
c: de31706
h: refs/heads/master
i:
  249625: 9baa14a
  249623: a9e3377
v: v3
  • Loading branch information
Roland Vossen authored and Greg Kroah-Hartman committed May 17, 2011
1 parent ba4b45f commit bccda0a
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 13 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: b189702dd9e1d252b7d521d3f39a3b8a39c23e7a
refs/heads/master: de3170671a0620254703def8e01ed4242676e952
3 changes: 0 additions & 3 deletions trunk/drivers/staging/brcm80211/brcmsmac/wlc_bmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -1623,9 +1623,6 @@ wlc_bmac_write_template_ram(struct wlc_hw_info *wlc_hw, int offset, int len,
d11regs_t *regs;
u32 word;
bool be_bit;
#ifdef IL_BIGENDIAN
volatile u16 *dptr = NULL;
#endif /* IL_BIGENDIAN */
BCMMSG(wlc_hw->wlc->wiphy, "wl%d\n", wlc_hw->unit);

regs = wlc_hw->regs;
Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/staging/brcm80211/include/aidmp.h
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ typedef volatile struct _aidmp {
#define AI_OOBDINWIDTH 0x364
#define AI_OOBDOUTWIDTH 0x368

#if defined(IL_BIGENDIAN) && defined(BCMHND74K)
#if defined(__BIG_ENDIAN) && defined(BCMHND74K)
/* Selective swapped defines for those registers we need in
* big-endian code.
*/
Expand All @@ -303,7 +303,7 @@ typedef volatile struct _aidmp {
#define AI_RESETCTRL 0x804
#define AI_RESETSTATUS 0x800

#else /* !IL_BIGENDIAN || !BCMHND74K */
#else /* !__BIG_ENDIAN || !BCMHND74K */

#define AI_IOCTRLSET 0x400
#define AI_IOCTRLCLEAR 0x404
Expand All @@ -312,7 +312,7 @@ typedef volatile struct _aidmp {
#define AI_RESETCTRL 0x800
#define AI_RESETSTATUS 0x804

#endif /* IL_BIGENDIAN && BCMHND74K */
#endif /* __BIG_ENDIAN && BCMHND74K */

#define AI_IOCTRLWIDTH 0x700
#define AI_IOSTATUSWIDTH 0x704
Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/staging/brcm80211/include/bcmutils.h
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ extern void bcm_prpkt(const char *msg, struct sk_buff *p0);
#define bcopy(src, dst, len) memcpy((dst), (src), (len))

/* register access macros */
#ifndef IL_BIGENDIAN
#ifndef __BIG_ENDIAN
#ifndef __mips__
#define R_REG(r) (\
SELECT_BUS_READ(sizeof(*(r)) == sizeof(u8) ? \
Expand Down Expand Up @@ -328,7 +328,7 @@ extern void bcm_prpkt(const char *msg, struct sk_buff *p0);
}, \
(OSL_WRITE_REG(r, v))); \
} while (0)
#else /* IL_BIGENDIAN */
#else /* __BIG_ENDIAN */
#define R_REG(r) (\
SELECT_BUS_READ( \
({ \
Expand Down Expand Up @@ -365,7 +365,7 @@ extern void bcm_prpkt(const char *msg, struct sk_buff *p0);
}, \
(OSL_WRITE_REG(r, v))); \
} while (0)
#endif /* IL_BIGENDIAN */
#endif /* __BIG_ENDIAN */

#define AND_REG(r, v) W_REG((r), R_REG(r) & (v))
#define OR_REG(r, v) W_REG((r), R_REG(r) | (v))
Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/staging/brcm80211/include/sbchipc.h
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ typedef volatile struct {

#endif /* _LANGUAGE_ASSEMBLY */

#if defined(IL_BIGENDIAN) && defined(BCMHND74K)
#if defined(__BIG_ENDIAN) && defined(BCMHND74K)
/* Selective swapped defines for those registers we need in
* big-endian code.
*/
Expand All @@ -234,14 +234,14 @@ typedef volatile struct {
#define CC_CHIPST 0x28
#define CC_EROMPTR 0xf8

#else /* !IL_BIGENDIAN || !BCMHND74K */
#else /* !__BIG_ENDIAN || !BCMHND74K */

#define CC_CHIPID 0
#define CC_CAPABILITIES 4
#define CC_CHIPST 0x2c
#define CC_EROMPTR 0xfc

#endif /* IL_BIGENDIAN && BCMHND74K */
#endif /* __BIG_ENDIAN && BCMHND74K */

#define CC_OTPST 0x10
#define CC_JTAGCMD 0x30
Expand Down

0 comments on commit bccda0a

Please sign in to comment.