diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2013-08-26 11:17:52 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-26 06:26:47 -0700 |
commit | 13fe62ae6a471e7a9c8c11c72d18e650235909e3 (patch) | |
tree | 47d22aa291da71288fc39621311f455509a20bd2 /drivers/staging/vt6656/rxtx.h | |
parent | 9d2578c1703a59e2815ead3519ec3bdd261f0d7e (diff) |
staging: vt6656: rxtx s_vFillRTSHead create union of vnt_rts*/vnt_cts* structures.
Only one of vnt_rts*/vnt_cts* structures are accessed at any one time.
Join these structures in to a single union.
These will eventually form the tail structure of vnt_tx_buffer and
include structures vnt_tx_datahead*
Structures in s_vFillCTSHead will join in next patch series.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6656/rxtx.h')
-rw-r--r-- | drivers/staging/vt6656/rxtx.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/staging/vt6656/rxtx.h b/drivers/staging/vt6656/rxtx.h index ad6205255967..4bbee1c2fcac 100644 --- a/drivers/staging/vt6656/rxtx.h +++ b/drivers/staging/vt6656/rxtx.h @@ -168,6 +168,18 @@ struct vnt_cts_fb { u16 reserved2; } __packed; +union vnt_tx_data_head { + /* rts g */ + struct vnt_rts_g rts_g; + struct vnt_rts_g_fb rts_g_fb; + /* rts a/b */ + struct vnt_rts_ab rts_ab; + struct vnt_rts_a_fb rts_a_fb; + /* cts g */ + struct vnt_cts cts_g; + struct vnt_cts_fb cts_g_fb; +}; + struct vnt_tx_buffer { u8 byType; u8 byPKTNO; |