diff options
Diffstat (limited to 'drivers/net/bnx2x_init.h')
-rw-r--r-- | drivers/net/bnx2x_init.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/bnx2x_init.h b/drivers/net/bnx2x_init.h index 4c7750789b62..f62891bf757f 100644 --- a/drivers/net/bnx2x_init.h +++ b/drivers/net/bnx2x_init.h | |||
@@ -208,7 +208,7 @@ static void bnx2x_init_wr_64(struct bnx2x *bp, u32 addr, const u32 *data, | |||
208 | /********************************************************* | 208 | /********************************************************* |
209 | There are different blobs for each PRAM section. | 209 | There are different blobs for each PRAM section. |
210 | In addition, each blob write operation is divided into a few operations | 210 | In addition, each blob write operation is divided into a few operations |
211 | in order to decrease the amount of phys. contigious buffer needed. | 211 | in order to decrease the amount of phys. contiguous buffer needed. |
212 | Thus, when we select a blob the address may be with some offset | 212 | Thus, when we select a blob the address may be with some offset |
213 | from the beginning of PRAM section. | 213 | from the beginning of PRAM section. |
214 | The same holds for the INT_TABLE sections. | 214 | The same holds for the INT_TABLE sections. |
@@ -336,7 +336,7 @@ static void bnx2x_init_block(struct bnx2x *bp, u32 op_start, u32 op_end) | |||
336 | len = op->str_wr.data_len; | 336 | len = op->str_wr.data_len; |
337 | data = data_base + op->str_wr.data_off; | 337 | data = data_base + op->str_wr.data_off; |
338 | 338 | ||
339 | /* carefull! it must be in order */ | 339 | /* careful! it must be in order */ |
340 | if (unlikely(op_type > OP_WB)) { | 340 | if (unlikely(op_type > OP_WB)) { |
341 | 341 | ||
342 | /* If E1 only */ | 342 | /* If E1 only */ |
@@ -740,7 +740,7 @@ static u8 calc_crc8(u32 data, u8 crc) | |||
740 | return crc_res; | 740 | return crc_res; |
741 | } | 741 | } |
742 | 742 | ||
743 | /* regiesers addresses are not in order | 743 | /* registers addresses are not in order |
744 | so these arrays help simplify the code */ | 744 | so these arrays help simplify the code */ |
745 | static const int cm_start[E1H_FUNC_MAX][9] = { | 745 | static const int cm_start[E1H_FUNC_MAX][9] = { |
746 | {MISC_FUNC0_START, TCM_FUNC0_START, UCM_FUNC0_START, CCM_FUNC0_START, | 746 | {MISC_FUNC0_START, TCM_FUNC0_START, UCM_FUNC0_START, CCM_FUNC0_START, |