diff options
author | Charles Clément <caratorn@gmail.com> | 2010-06-24 11:02:27 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-06-24 14:23:18 -0700 |
commit | 3fc9b584c28095fe0d46cfb8bddafdf93947042e (patch) | |
tree | 584415b49edb969a8c8e34f95379334723934c64 /drivers/staging/vt6655/baseband.h | |
parent | 2986db5fd31e312206d3ebfa4786aac04bdbe486 (diff) |
Staging: vt6655: remove BYTE typedef
Replace all occurrences with unsigned char type.
Signed-off-by: Charles Clément <caratorn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/vt6655/baseband.h')
-rw-r--r-- | drivers/staging/vt6655/baseband.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/drivers/staging/vt6655/baseband.h b/drivers/staging/vt6655/baseband.h index 0ce947a4e11d..cc303401bc4b 100644 --- a/drivers/staging/vt6655/baseband.h +++ b/drivers/staging/vt6655/baseband.h @@ -120,8 +120,8 @@ unsigned int BBuGetFrameTime( - BYTE byPreambleType, - BYTE byPktType, + unsigned char byPreambleType, + unsigned char byPktType, unsigned int cbFrameLength, unsigned short wRate ); @@ -131,32 +131,32 @@ BBvCaculateParameter ( PSDevice pDevice, unsigned int cbFrameLength, unsigned short wRate, - BYTE byPacketType, + unsigned char byPacketType, unsigned short *pwPhyLen, unsigned char *pbyPhySrv, unsigned char *pbyPhySgn ); -BOOL BBbReadEmbeded(unsigned long dwIoBase, BYTE byBBAddr, unsigned char *pbyData); -BOOL BBbWriteEmbeded(unsigned long dwIoBase, BYTE byBBAddr, BYTE byData); +BOOL BBbReadEmbeded(unsigned long dwIoBase, unsigned char byBBAddr, unsigned char *pbyData); +BOOL BBbWriteEmbeded(unsigned long dwIoBase, unsigned char byBBAddr, unsigned char byData); void BBvReadAllRegs(unsigned long dwIoBase, unsigned char *pbyBBRegs); void BBvLoopbackOn(PSDevice pDevice); void BBvLoopbackOff(PSDevice pDevice); void BBvSetShortSlotTime(PSDevice pDevice); -BOOL BBbIsRegBitsOn(unsigned long dwIoBase, BYTE byBBAddr, BYTE byTestBits); -BOOL BBbIsRegBitsOff(unsigned long dwIoBase, BYTE byBBAddr, BYTE byTestBits); -void BBvSetVGAGainOffset(PSDevice pDevice, BYTE byData); +BOOL BBbIsRegBitsOn(unsigned long dwIoBase, unsigned char byBBAddr, unsigned char byTestBits); +BOOL BBbIsRegBitsOff(unsigned long dwIoBase, unsigned char byBBAddr, unsigned char byTestBits); +void BBvSetVGAGainOffset(PSDevice pDevice, unsigned char byData); // VT3253 Baseband BOOL BBbVT3253Init(PSDevice pDevice); void BBvSoftwareReset(unsigned long dwIoBase); void BBvPowerSaveModeON(unsigned long dwIoBase); void BBvPowerSaveModeOFF(unsigned long dwIoBase); -void BBvSetTxAntennaMode(unsigned long dwIoBase, BYTE byAntennaMode); -void BBvSetRxAntennaMode(unsigned long dwIoBase, BYTE byAntennaMode); -void BBvSetDeepSleep(unsigned long dwIoBase, BYTE byLocalID); -void BBvExitDeepSleep(unsigned long dwIoBase, BYTE byLocalID); +void BBvSetTxAntennaMode(unsigned long dwIoBase, unsigned char byAntennaMode); +void BBvSetRxAntennaMode(unsigned long dwIoBase, unsigned char byAntennaMode); +void BBvSetDeepSleep(unsigned long dwIoBase, unsigned char byLocalID); +void BBvExitDeepSleep(unsigned long dwIoBase, unsigned char byLocalID); // timer for antenna diversity @@ -170,7 +170,7 @@ TimerState1CallBack( void *hDeviceContext ); -void BBvAntennaDiversity(PSDevice pDevice, BYTE byRxRate, BYTE bySQ3); +void BBvAntennaDiversity(PSDevice pDevice, unsigned char byRxRate, unsigned char bySQ3); void BBvClearAntDivSQ3Value (PSDevice pDevice); |