summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rt2860/chip/rtmp_phy.h
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz2009-12-11 21:23:15 +0100
committerGreg Kroah-Hartman2009-12-11 21:23:15 +0100
commit51126deb201c59cc8cdc4873e3d130d6bc60513d (patch)
treeaae5d37bda36d40b6486021e5f2e4d8c7721dfba /drivers/staging/rt2860/chip/rtmp_phy.h
parentStaging: rt28x0: fix comments in *.h files (diff)
downloadkernel-qcow2-linux-51126deb201c59cc8cdc4873e3d130d6bc60513d.tar.gz
kernel-qcow2-linux-51126deb201c59cc8cdc4873e3d130d6bc60513d.tar.xz
kernel-qcow2-linux-51126deb201c59cc8cdc4873e3d130d6bc60513d.zip
Staging: rt28x0: remove typedefs (part one)
Remove typedefs from rtmp_type.h. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/rt2860/chip/rtmp_phy.h')
-rw-r--r--drivers/staging/rt2860/chip/rtmp_phy.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/staging/rt2860/chip/rtmp_phy.h b/drivers/staging/rt2860/chip/rtmp_phy.h
index fd1a989c1110..48d186020059 100644
--- a/drivers/staging/rt2860/chip/rtmp_phy.h
+++ b/drivers/staging/rt2860/chip/rtmp_phy.h
@@ -180,7 +180,7 @@
if ((_A)->bPCIclkOff == FALSE) \
{ \
PHY_CSR4_STRUC _value; \
- ULONG _busyCnt = 0; \
+ unsigned long _busyCnt = 0; \
\
do { \
RTMP_IO_READ32((_A), RF_CSR_CFG0, &_value.word); \
@@ -248,7 +248,7 @@
if ((BbpCsr.field.Busy == IDLE) && \
(BbpCsr.field.RegNum == _bbpID)) \
{ \
- *(_pV) = (UCHAR)BbpCsr.field.Value; \
+ *(_pV) = (u8)BbpCsr.field.Value; \
break; \
} \
} \
@@ -313,7 +313,7 @@
if ((BbpCsr.field.Busy == IDLE) && \
(BbpCsr.field.RegNum == _I)) \
{ \
- *(_pV) = (UCHAR)BbpCsr.field.Value; \
+ *(_pV) = (u8)BbpCsr.field.Value; \
break; \
} \
} \
@@ -351,7 +351,7 @@
if ((BbpCsr.field.Busy == IDLE) && \
(BbpCsr.field.RegNum == _I)) \
{ \
- *(_pV) = (UCHAR)BbpCsr.field.Value; \
+ *(_pV) = (u8)BbpCsr.field.Value; \
break; \
} \
} \
@@ -429,7 +429,7 @@
#define RTMP_BBP_IO_WRITE8_BY_REG_ID(_A, _I, _V) \
{ \
BBP_CSR_CFG_STRUC BbpCsr; \
- INT BusyCnt = 0; \
+ int BusyCnt = 0; \
BOOLEAN brc; \
if (_I < MAX_NUM_OF_BBP_LATCH) \
{ \
@@ -523,8 +523,8 @@
#ifdef RT30xx
#define RTMP_ASIC_MMPS_DISABLE(_pAd) \
do{ \
- UINT32 _macData; \
- UCHAR _bbpData = 0; \
+ u32 _macData; \
+ u8 _bbpData = 0; \
/* disable MMPS BBP control register */ \
RTMP_BBP_IO_READ8_BY_REG_ID(_pAd, BBP_R3, &_bbpData); \
_bbpData &= ~(0x04); /*bit 2*/ \
@@ -538,8 +538,8 @@
#define RTMP_ASIC_MMPS_ENABLE(_pAd) \
do{ \
- UINT32 _macData; \
- UCHAR _bbpData = 0; \
+ u32 _macData; \
+ u8 _bbpData = 0; \
/* enable MMPS BBP control register */ \
RTMP_BBP_IO_READ8_BY_REG_ID(_pAd, BBP_R3, &_bbpData); \
_bbpData |= (0x04); /*bit 2*/ \