staging vt6656: desc.h remove typedef struct tagSTxBufHead to rxtx.h
PATCH 1/2 staging vt6656: desc.h remove typedef struct tagSTxBufHead to rxtx.h
In code it is referred to as fifo to renamed to typedef struct tagSTxBufHead -> struct vnt_tx_fifo_head
This is only needed by rxtc.c so moved to rxtx.h
Signed-off-by Malcolm Priestley <[email protected]>
--- drivers/staging/vt6656/desc.h | 9 -------- drivers/staging/vt6656/rxtx.c | 52 ++++++++++++++++++++++++++++--------------- drivers/staging/vt6656/rxtx.h | 12 ++++++---- 3 files changed, 42 insertions(+), 31 deletions(-)
drivers/staging/vt6656/desc.h +0 -9
@@ -146,15 +146,6 @@/* * TX FIFO header */ -typedef struct tagSTxBufHead { -u32 adwTxKey[4 ]; -u16 wFIFOCtl; -u16 wTimeStamp; -u16 wFragCtl; -u16 wReserved; -} __attribute__ ((__packed__ )) -STxBufHead , *PSTxBufHead ; -typedef const STxBufHead *PCSTxBufHead ; typedef struct tagSTxShortBufHead { u16 wFIFOCtl;
drivers/staging/vt6656/rxtx.c +34 -18
146 lines not on this page · raw message
drivers/staging/vt6656/rxtx.h +8 -4
@@ -180,10 +180,7 @@ union vnt_tx_data_head {struct vnt_cts_fb cts_g_fb; }; -struct vnt_tx_buffer { -u8 byType; -u8 byPKTNO; -u16 wTxByteCount; +struct vnt_tx_fifo_head {u32 adwTxKey[4 ];u16 wFIFOCtl;u16 wTimeStamp;
@@ -191,6 +188,13 @@ struct vnt_tx_buffer {u16 wReserved; } __packed; +struct vnt_tx_buffer { +u8 byType; +u8 byPKTNO; +u16 wTxByteCount; +struct vnt_tx_fifo_head fifo_head; +} __packed; +struct vnt_beacon_buffer {u8 byType;u8 byPKTNO;
Signature · 1 line
1.8.1.2