mwifiex: define generic data type for PCIe ring buffers
authorAvinash Patil <patila@marvell.com>
Sat, 9 Feb 2013 02:18:08 +0000 (18:18 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 11 Feb 2013 20:34:57 +0000 (15:34 -0500)
commite05dc3e93c136ecd329ed2d57d4eb2e82f530304
treedd1fca715955c8670939780871d1aa398222882d
parent0732484b47b57ef90bb08408d60fddbad0262d82
mwifiex: define generic data type for PCIe ring buffers

This patch defines PCIe ring buffer array pointer as void instead
of mwifiex_pcie_buf_desc. This will enable us to use same pointers
for ring operations instead of new structures if buffer descriptor
structure changes.

Also split out event buffer descriptor structure from struct
mwifiex_pcie_buf_desc. For PCIe8766 TX/RX buffer descriptor is
same as evevt buffer descriptor. Newer chips could use different
TX/RX buffer descriptor while event descriptor remains the same.

Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/pcie.c
drivers/net/wireless/mwifiex/pcie.h
This page took 0.029188 seconds and 5 git commands to generate.