Commit d3b6f870 authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman

staging: vt6656: 64bit fixes: desh.h fix size. replace DWORD with u32.

Fixes size of long issues replace DWORD with u32.
Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent eb304bdd
...@@ -298,7 +298,7 @@ typedef const SCTS_FB *PCSCTS_FB; ...@@ -298,7 +298,7 @@ typedef const SCTS_FB *PCSCTS_FB;
// Tx FIFO header // Tx FIFO header
// //
typedef struct tagSTxBufHead { typedef struct tagSTxBufHead {
DWORD adwTxKey[4]; u32 adwTxKey[4];
WORD wFIFOCtl; WORD wFIFOCtl;
WORD wTimeStamp; WORD wTimeStamp;
WORD wFragCtl; WORD wFragCtl;
...@@ -376,24 +376,24 @@ typedef const STxDataHead_a_FB *PCSTxDataHead_a_FB; ...@@ -376,24 +376,24 @@ typedef const STxDataHead_a_FB *PCSTxDataHead_a_FB;
// MICHDR data header // MICHDR data header
// //
typedef struct tagSMICHDRHead { typedef struct tagSMICHDRHead {
DWORD adwHDR0[4]; u32 adwHDR0[4];
DWORD adwHDR1[4]; u32 adwHDR1[4];
DWORD adwHDR2[4]; u32 adwHDR2[4];
} __attribute__ ((__packed__)) } __attribute__ ((__packed__))
SMICHDRHead, *PSMICHDRHead; SMICHDRHead, *PSMICHDRHead;
typedef const SMICHDRHead *PCSMICHDRHead; typedef const SMICHDRHead *PCSMICHDRHead;
typedef struct tagSBEACONCtl { typedef struct tagSBEACONCtl {
DWORD BufReady : 1; u32 BufReady:1;
DWORD TSF : 15; u32 TSF:15;
DWORD BufLen : 11; u32 BufLen:11;
DWORD Reserved : 5; u32 Reserved:5;
} __attribute__ ((__packed__)) } __attribute__ ((__packed__))
SBEACONCtl; SBEACONCtl;
typedef struct tagSSecretKey { typedef struct tagSSecretKey {
DWORD dwLowDword; u32 dwLowDword;
BYTE byHighByte; BYTE byHighByte;
} __attribute__ ((__packed__)) } __attribute__ ((__packed__))
SSecretKey; SSecretKey;
...@@ -402,11 +402,11 @@ typedef struct tagSKeyEntry { ...@@ -402,11 +402,11 @@ typedef struct tagSKeyEntry {
BYTE abyAddrHi[2]; BYTE abyAddrHi[2];
WORD wKCTL; WORD wKCTL;
BYTE abyAddrLo[4]; BYTE abyAddrLo[4];
DWORD dwKey0[4]; u32 dwKey0[4];
DWORD dwKey1[4]; u32 dwKey1[4];
DWORD dwKey2[4]; u32 dwKey2[4];
DWORD dwKey3[4]; u32 dwKey3[4];
DWORD dwKey4[4]; u32 dwKey4[4];
} __attribute__ ((__packed__)) } __attribute__ ((__packed__))
SKeyEntry; SKeyEntry;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment