Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 228266
b: refs/heads/master
c: df880a4
h: refs/heads/master
v: v3
  • Loading branch information
Brett Rudley authored and Greg Kroah-Hartman committed Dec 2, 2010
1 parent 836a6d3 commit 8006e84
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 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: bafbb8df076de1e3b63914473a403fba96b88f3c
refs/heads/master: df880a42dc4086ba7ff16f6ccb255e78fc0dc374
16 changes: 2 additions & 14 deletions trunk/drivers/staging/brcm80211/include/osl.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,22 +38,10 @@ typedef struct osl_dmainfo osldma_t;
typedef unsigned int (*osl_rreg_fn_t) (void *ctx, void *reg, unsigned int size);
typedef void (*osl_wreg_fn_t) (void *ctx, void *reg, unsigned int val,
unsigned int size);
#endif
#endif /* BCMSDIO */

#include <linux_osl.h>

/* --------------------------------------------------------------------------
** Register manipulation macros.
*/

#define SET_REG(osh, r, mask, val) W_REG((osh), (r), ((R_REG((osh), r) & ~(mask)) | (val)))

#ifndef AND_REG
#define AND_REG(osh, r, v) W_REG(osh, (r), R_REG(osh, r) & (v))
#endif /* !AND_REG */

#ifndef OR_REG
#define OR_REG(osh, r, v) W_REG(osh, (r), R_REG(osh, r) | (v))
#endif /* !OR_REG */

#endif /* _osl_h_ */
#endif /* _osl_h_ */

0 comments on commit 8006e84

Please sign in to comment.