summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6655/rxtx.c
diff options
context:
space:
mode:
authorCharles Clément <caratorn@gmail.com>2010-06-25 10:48:53 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-06-25 11:11:21 -0700
commitfe4f34bde28f5a9f3793cced5b4029eda5b78be2 (patch)
tree52ebb52746b8ebf191b6bcbeb73fe7fcfa390d18 /drivers/staging/vt6655/rxtx.c
parent3fc9b584c28095fe0d46cfb8bddafdf93947042e (diff)
downloadlinux-stable-fe4f34bde28f5a9f3793cced5b4029eda5b78be2.tar.gz
linux-stable-fe4f34bde28f5a9f3793cced5b4029eda5b78be2.tar.bz2
linux-stable-fe4f34bde28f5a9f3793cced5b4029eda5b78be2.zip
Staging: vt6655: remove PUINT typedef
Signed-off-by: Charles Clément <caratorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/vt6655/rxtx.c')
-rw-r--r--drivers/staging/vt6655/rxtx.c62
1 files changed, 15 insertions, 47 deletions
diff --git a/drivers/staging/vt6655/rxtx.c b/drivers/staging/vt6655/rxtx.c
index 8b5e2104d7bc..870363559f85 100644
--- a/drivers/staging/vt6655/rxtx.c
+++ b/drivers/staging/vt6655/rxtx.c
@@ -170,22 +170,11 @@ static void s_vFillFragParameter(
);
-static
-unsigned int
-s_cbFillTxBufHead (
- PSDevice pDevice,
- unsigned char byPktType,
- unsigned char *pbyTxBufferAddr,
- unsigned int cbFrameBodySize,
- unsigned int uDMAIdx,
- PSTxDesc pHeadTD,
- PSEthernetHeader psEthHeader,
- unsigned char *pPacket,
- BOOL bNeedEncrypt,
- PSKeyItem pTransmitKey,
- unsigned int uNodeIndex,
- PUINT puMACfragNum
- );
+static unsigned int
+s_cbFillTxBufHead(PSDevice pDevice, unsigned char byPktType, unsigned char *pbyTxBufferAddr,
+ unsigned int cbFrameBodySize, unsigned int uDMAIdx, PSTxDesc pHeadTD,
+ PSEthernetHeader psEthHeader, unsigned char *pPacket, BOOL bNeedEncrypt,
+ PSKeyItem pTransmitKey, unsigned int uNodeIndex, unsigned int *puMACfragNum);
static
@@ -1315,22 +1304,11 @@ s_vFillFragParameter(
//DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"s_vFillFragParameter END\n");
}
-static
-unsigned int
-s_cbFillTxBufHead (
- PSDevice pDevice,
- unsigned char byPktType,
- unsigned char *pbyTxBufferAddr,
- unsigned int cbFrameBodySize,
- unsigned int uDMAIdx,
- PSTxDesc pHeadTD,
- PSEthernetHeader psEthHeader,
- unsigned char *pPacket,
- BOOL bNeedEncrypt,
- PSKeyItem pTransmitKey,
- unsigned int uNodeIndex,
- PUINT puMACfragNum
- )
+static unsigned int
+s_cbFillTxBufHead(PSDevice pDevice, unsigned char byPktType, unsigned char *pbyTxBufferAddr,
+ unsigned int cbFrameBodySize, unsigned int uDMAIdx, PSTxDesc pHeadTD,
+ PSEthernetHeader psEthHeader, unsigned char *pPacket, BOOL bNeedEncrypt,
+ PSKeyItem pTransmitKey, unsigned int uNodeIndex, unsigned int *puMACfragNum)
{
unsigned int cbMACHdLen;
unsigned int cbFrameSize;
@@ -2094,21 +2072,11 @@ s_cbFillTxBufHead (
void
-vGenerateFIFOHeader (
- PSDevice pDevice,
- unsigned char byPktType,
- unsigned char *pbyTxBufferAddr,
- BOOL bNeedEncrypt,
- unsigned int cbPayloadSize,
- unsigned int uDMAIdx,
- PSTxDesc pHeadTD,
- PSEthernetHeader psEthHeader,
- unsigned char *pPacket,
- PSKeyItem pTransmitKey,
- unsigned int uNodeIndex,
- PUINT puMACfragNum,
- PUINT pcbHeaderSize
- )
+vGenerateFIFOHeader(PSDevice pDevice, unsigned char byPktType, unsigned char *pbyTxBufferAddr,
+ BOOL bNeedEncrypt, unsigned int cbPayloadSize, unsigned int uDMAIdx,
+ PSTxDesc pHeadTD, PSEthernetHeader psEthHeader, unsigned char *pPacket,
+ PSKeyItem pTransmitKey, unsigned int uNodeIndex, unsigned int *puMACfragNum,
+ unsigned int *pcbHeaderSize)
{
unsigned int wTxBufSize; // FFinfo size
BOOL bNeedACK;