diff options
author | Juuso Oikarinen <juuso.oikarinen@nokia.com> | 2009-06-12 07:15:54 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-07-10 14:57:46 -0400 |
commit | 9f2ad4fb52916e58a1b75e9a30f42638655932d3 (patch) | |
tree | 1268dbcefde1165b1569333b0dc9fd26c6a2b911 /drivers/net/wireless/wl12xx/wl1251.c | |
parent | 9f483dc3d1b0b1695c8177c1dea2e721954b10fb (diff) |
wl12xx: Moved wl1251 TX path implementation into chip specific files
Moved wl1251 TX path implementation into chip specific files to enable
parallel implementation for the wl1271 TX path.
Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Signed-off-by: Kalle Valo <kalle.valo@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1251.c')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1251.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1251.c b/drivers/net/wireless/wl12xx/wl1251.c index b793325d619..903624a540a 100644 --- a/drivers/net/wireless/wl12xx/wl1251.c +++ b/drivers/net/wireless/wl12xx/wl1251.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #include "boot.h" | 30 | #include "boot.h" |
31 | #include "event.h" | 31 | #include "event.h" |
32 | #include "acx.h" | 32 | #include "acx.h" |
33 | #include "tx.h" | 33 | #include "wl1251_tx.h" |
34 | #include "rx.h" | 34 | #include "rx.h" |
35 | #include "ps.h" | 35 | #include "ps.h" |
36 | #include "init.h" | 36 | #include "init.h" |
@@ -471,7 +471,7 @@ static void wl1251_irq_work(struct work_struct *work) | |||
471 | 471 | ||
472 | if (intr & WL1251_ACX_INTR_TX_RESULT) { | 472 | if (intr & WL1251_ACX_INTR_TX_RESULT) { |
473 | wl12xx_debug(DEBUG_IRQ, "WL1251_ACX_INTR_TX_RESULT"); | 473 | wl12xx_debug(DEBUG_IRQ, "WL1251_ACX_INTR_TX_RESULT"); |
474 | wl12xx_tx_complete(wl); | 474 | wl1251_tx_complete(wl); |
475 | } | 475 | } |
476 | 476 | ||
477 | if (intr & (WL1251_ACX_INTR_EVENT_A | WL1251_ACX_INTR_EVENT_B)) { | 477 | if (intr & (WL1251_ACX_INTR_EVENT_A | WL1251_ACX_INTR_EVENT_B)) { |
@@ -712,9 +712,12 @@ void wl1251_setup(struct wl12xx *wl) | |||
712 | wl->chip.op_hw_init = wl1251_hw_init; | 712 | wl->chip.op_hw_init = wl1251_hw_init; |
713 | wl->chip.op_plt_init = wl1251_plt_init; | 713 | wl->chip.op_plt_init = wl1251_plt_init; |
714 | wl->chip.op_fw_version = wl1251_fw_version; | 714 | wl->chip.op_fw_version = wl1251_fw_version; |
715 | wl->chip.op_tx_flush = wl1251_tx_flush; | ||
715 | 716 | ||
716 | wl->chip.p_table = wl1251_part_table; | 717 | wl->chip.p_table = wl1251_part_table; |
717 | wl->chip.acx_reg_table = wl1251_acx_reg_table; | 718 | wl->chip.acx_reg_table = wl1251_acx_reg_table; |
718 | 719 | ||
719 | INIT_WORK(&wl->irq_work, wl1251_irq_work); | 720 | INIT_WORK(&wl->irq_work, wl1251_irq_work); |
721 | INIT_WORK(&wl->tx_work, wl1251_tx_work); | ||
722 | |||
720 | } | 723 | } |