diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/desc.c')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/desc.c | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/drivers/net/wireless/ath/ath5k/desc.c b/drivers/net/wireless/ath/ath5k/desc.c index 43244382f21..16b44ff7dd3 100644 --- a/drivers/net/wireless/ath/ath5k/desc.c +++ b/drivers/net/wireless/ath/ath5k/desc.c | |||
@@ -26,9 +26,10 @@ | |||
26 | #include "debug.h" | 26 | #include "debug.h" |
27 | #include "base.h" | 27 | #include "base.h" |
28 | 28 | ||
29 | /* | 29 | |
30 | * TX Descriptors | 30 | /************************\ |
31 | */ | 31 | * TX Control descriptors * |
32 | \************************/ | ||
32 | 33 | ||
33 | /* | 34 | /* |
34 | * Initialize the 2-word tx control descriptor on 5210/5211 | 35 | * Initialize the 2-word tx control descriptor on 5210/5211 |
@@ -335,6 +336,11 @@ ath5k_hw_setup_mrr_tx_desc(struct ath5k_hw *ah, struct ath5k_desc *desc, | |||
335 | return 0; | 336 | return 0; |
336 | } | 337 | } |
337 | 338 | ||
339 | |||
340 | /***********************\ | ||
341 | * TX Status descriptors * | ||
342 | \***********************/ | ||
343 | |||
338 | /* | 344 | /* |
339 | * Proccess the tx status descriptor on 5210/5211 | 345 | * Proccess the tx status descriptor on 5210/5211 |
340 | */ | 346 | */ |
@@ -476,9 +482,10 @@ static int ath5k_hw_proc_4word_tx_status(struct ath5k_hw *ah, | |||
476 | return 0; | 482 | return 0; |
477 | } | 483 | } |
478 | 484 | ||
479 | /* | 485 | |
480 | * RX Descriptors | 486 | /****************\ |
481 | */ | 487 | * RX Descriptors * |
488 | \****************/ | ||
482 | 489 | ||
483 | /* | 490 | /* |
484 | * Initialize an rx control descriptor | 491 | * Initialize an rx control descriptor |
@@ -666,6 +673,11 @@ static int ath5k_hw_proc_5212_rx_status(struct ath5k_hw *ah, | |||
666 | return 0; | 673 | return 0; |
667 | } | 674 | } |
668 | 675 | ||
676 | |||
677 | /********\ | ||
678 | * Attach * | ||
679 | \********/ | ||
680 | |||
669 | /* | 681 | /* |
670 | * Init function pointers inside ath5k_hw struct | 682 | * Init function pointers inside ath5k_hw struct |
671 | */ | 683 | */ |