diff options
-rw-r--r-- | drivers/net/cxgb3/t3_hw.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/drivers/net/cxgb3/t3_hw.c b/drivers/net/cxgb3/t3_hw.c index 7112bacd8c58..35a7fab33ac3 100644 --- a/drivers/net/cxgb3/t3_hw.c +++ b/drivers/net/cxgb3/t3_hw.c | |||
@@ -14,21 +14,21 @@ | |||
14 | #include "sge_defs.h" | 14 | #include "sge_defs.h" |
15 | #include "firmware_exports.h" | 15 | #include "firmware_exports.h" |
16 | 16 | ||
17 | /** | 17 | /** |
18 | * t3_wait_op_done_val - wait until an operation is completed | 18 | * t3_wait_op_done_val - wait until an operation is completed |
19 | * @adapter: the adapter performing the operation | 19 | * @adapter: the adapter performing the operation |
20 | * @reg: the register to check for completion | 20 | * @reg: the register to check for completion |
21 | * @mask: a single-bit field within @reg that indicates completion | 21 | * @mask: a single-bit field within @reg that indicates completion |
22 | * @polarity: the value of the field when the operation is completed | 22 | * @polarity: the value of the field when the operation is completed |
23 | * @attempts: number of check iterations | 23 | * @attempts: number of check iterations |
24 | * @delay: delay in usecs between iterations | 24 | * @delay: delay in usecs between iterations |
25 | * @valp: where to store the value of the register at completion time | 25 | * @valp: where to store the value of the register at completion time |
26 | * | 26 | * |
27 | * Wait until an operation is completed by checking a bit in a register | 27 | * Wait until an operation is completed by checking a bit in a register |
28 | * up to @attempts times. If @valp is not NULL the value of the register | 28 | * up to @attempts times. If @valp is not NULL the value of the register |
29 | * at the time it indicated completion is stored there. Returns 0 if the | 29 | * at the time it indicated completion is stored there. Returns 0 if the |
30 | * operation completes and -EAGAIN otherwise. | 30 | * operation completes and -EAGAIN otherwise. |
31 | */ | 31 | */ |
32 | 32 | ||
33 | int t3_wait_op_done_val(struct adapter *adapter, int reg, u32 mask, | 33 | int t3_wait_op_done_val(struct adapter *adapter, int reg, u32 mask, |
34 | int polarity, int attempts, int delay, u32 *valp) | 34 | int polarity, int attempts, int delay, u32 *valp) |