aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2x00pci.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00pci.h')
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00pci.h28
1 files changed, 4 insertions, 24 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00pci.h b/drivers/net/wireless/rt2x00/rt2x00pci.h
index 2b0ef17bba6e..37c851e442c1 100644
--- a/drivers/net/wireless/rt2x00/rt2x00pci.h
+++ b/drivers/net/wireless/rt2x00/rt2x00pci.h
@@ -91,42 +91,22 @@ rt2x00pci_register_multiwrite(struct rt2x00_dev *rt2x00dev,
91 * TX data handlers. 91 * TX data handlers.
92 */ 92 */
93int rt2x00pci_write_tx_data(struct rt2x00_dev *rt2x00dev, 93int rt2x00pci_write_tx_data(struct rt2x00_dev *rt2x00dev,
94 struct data_queue *queue, struct sk_buff *skb, 94 struct data_queue *queue, struct sk_buff *skb);
95 struct ieee80211_tx_control *control);
96 95
97/** 96/**
98 * struct queue_entry_priv_pci_rx: Per RX entry PCI specific information 97 * struct queue_entry_priv_pci: Per entry PCI specific information
99 *
100 * @desc: Pointer to device descriptor.
101 * @desc_dma: DMA pointer to @desc.
102 * @data: Pointer to device's entry memory.
103 * @data_dma: DMA pointer to &data.
104 */
105struct queue_entry_priv_pci_rx {
106 __le32 *desc;
107 dma_addr_t desc_dma;
108
109 void *data;
110 dma_addr_t data_dma;
111};
112
113/**
114 * struct queue_entry_priv_pci_tx: Per TX entry PCI specific information
115 * 98 *
116 * @desc: Pointer to device descriptor 99 * @desc: Pointer to device descriptor
117 * @desc_dma: DMA pointer to @desc. 100 * @desc_dma: DMA pointer to &desc.
118 * @data: Pointer to device's entry memory. 101 * @data: Pointer to device's entry memory.
119 * @data_dma: DMA pointer to &data. 102 * @data_dma: DMA pointer to &data.
120 * @control: mac80211 control structure used to transmit data.
121 */ 103 */
122struct queue_entry_priv_pci_tx { 104struct queue_entry_priv_pci {
123 __le32 *desc; 105 __le32 *desc;
124 dma_addr_t desc_dma; 106 dma_addr_t desc_dma;
125 107
126 void *data; 108 void *data;
127 dma_addr_t data_dma; 109 dma_addr_t data_dma;
128
129 struct ieee80211_tx_control control;
130}; 110};
131 111
132/** 112/**