diff options
author | Christian Lamparter <chunkeey@web.de> | 2008-08-24 16:30:38 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-08-29 16:24:09 -0400 |
commit | 7262d59366f972b898ea134639112d34bcac35b3 (patch) | |
tree | b5c231cb52292bda15b880f0d0006b3147969c0b /drivers/net/wireless/p54/p54pci.h | |
parent | 84df3ed30b72c3516d72bc9734d4425746b15dfc (diff) |
p54pci: rx tasklet refactoring
This patch moves the all of p54pci's receiver code out of the
bloated interrupt handler routine and into a less critical tasklet.
Signed-off-by: Christian Lamparter <chunkeey@web.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/p54/p54pci.h')
-rw-r--r-- | drivers/net/wireless/p54/p54pci.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/drivers/net/wireless/p54/p54pci.h b/drivers/net/wireless/p54/p54pci.h index 07678ef5ddc8..4a6778070afc 100644 --- a/drivers/net/wireless/p54/p54pci.h +++ b/drivers/net/wireless/p54/p54pci.h | |||
@@ -92,13 +92,17 @@ struct p54p_priv { | |||
92 | struct p54_common common; | 92 | struct p54_common common; |
93 | struct pci_dev *pdev; | 93 | struct pci_dev *pdev; |
94 | struct p54p_csr __iomem *map; | 94 | struct p54p_csr __iomem *map; |
95 | struct tasklet_struct rx_tasklet; | ||
95 | 96 | ||
96 | spinlock_t lock; | 97 | spinlock_t lock; |
97 | struct p54p_ring_control *ring_control; | 98 | struct p54p_ring_control *ring_control; |
98 | dma_addr_t ring_control_dma; | 99 | dma_addr_t ring_control_dma; |
99 | u32 rx_idx, tx_idx; | 100 | u32 rx_idx_data, tx_idx_data; |
100 | struct sk_buff *rx_buf[8]; | 101 | u32 rx_idx_mgmt, tx_idx_mgmt; |
101 | void *tx_buf[32]; | 102 | struct sk_buff *rx_buf_data[8]; |
103 | struct sk_buff *rx_buf_mgmt[4]; | ||
104 | void *tx_buf_data[32]; | ||
105 | void *tx_buf_mgmt[4]; | ||
102 | struct completion boot_comp; | 106 | struct completion boot_comp; |
103 | }; | 107 | }; |
104 | 108 | ||