diff options
author | Arkadiusz Drabczyk <arkadiusz@drabczyk.org> | 2019-09-10 16:49:01 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-09-12 07:50:56 -0400 |
commit | 172ca8308b0517ca2522a8c885755fd5c20294e7 (patch) | |
tree | d2fcf3fbdf2512a29d682b140b0a90cc1dc77f4f | |
parent | 837636f586e8539bed9fc4ac9e4b39e4713c7b80 (diff) |
cxgb4: Fix spelling typos
Fix several spelling typos in comments in t4_hw.c.
Signed-off-by: Arkadiusz Drabczyk <arkadiusz@drabczyk.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb4/t4_hw.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/t4_hw.c b/drivers/net/ethernet/chelsio/cxgb4/t4_hw.c index f7fc553356f2..f2a7824da42b 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/t4_hw.c +++ b/drivers/net/ethernet/chelsio/cxgb4/t4_hw.c | |||
@@ -329,7 +329,7 @@ int t4_wr_mbox_meat_timeout(struct adapter *adap, int mbox, const void *cmd, | |||
329 | for (i = 0; ; i += ms) { | 329 | for (i = 0; ; i += ms) { |
330 | /* If we've waited too long, return a busy indication. This | 330 | /* If we've waited too long, return a busy indication. This |
331 | * really ought to be based on our initial position in the | 331 | * really ought to be based on our initial position in the |
332 | * mailbox access list but this is a start. We very rearely | 332 | * mailbox access list but this is a start. We very rarely |
333 | * contend on access to the mailbox ... | 333 | * contend on access to the mailbox ... |
334 | */ | 334 | */ |
335 | pcie_fw = t4_read_reg(adap, PCIE_FW_A); | 335 | pcie_fw = t4_read_reg(adap, PCIE_FW_A); |
@@ -606,7 +606,7 @@ void t4_memory_rw_residual(struct adapter *adap, u32 off, u32 addr, u8 *buf, | |||
606 | * | 606 | * |
607 | * Reads/writes an [almost] arbitrary memory region in the firmware: the | 607 | * Reads/writes an [almost] arbitrary memory region in the firmware: the |
608 | * firmware memory address and host buffer must be aligned on 32-bit | 608 | * firmware memory address and host buffer must be aligned on 32-bit |
609 | * boudaries; the length may be arbitrary. The memory is transferred as | 609 | * boundaries; the length may be arbitrary. The memory is transferred as |
610 | * a raw byte sequence from/to the firmware's memory. If this memory | 610 | * a raw byte sequence from/to the firmware's memory. If this memory |
611 | * contains data structures which contain multi-byte integers, it's the | 611 | * contains data structures which contain multi-byte integers, it's the |
612 | * caller's responsibility to perform appropriate byte order conversions. | 612 | * caller's responsibility to perform appropriate byte order conversions. |
@@ -3774,7 +3774,7 @@ int t4_phy_fw_ver(struct adapter *adap, int *phy_fw_ver) | |||
3774 | * A negative error number will be returned if an error occurs. If | 3774 | * A negative error number will be returned if an error occurs. If |
3775 | * version number support is available and there's no need to upgrade | 3775 | * version number support is available and there's no need to upgrade |
3776 | * the firmware, 0 will be returned. If firmware is successfully | 3776 | * the firmware, 0 will be returned. If firmware is successfully |
3777 | * transferred to the adapter, 1 will be retured. | 3777 | * transferred to the adapter, 1 will be returned. |
3778 | * | 3778 | * |
3779 | * NOTE: some adapters only have local RAM to store the PHY firmware. As | 3779 | * NOTE: some adapters only have local RAM to store the PHY firmware. As |
3780 | * a result, a RESET of the adapter would cause that RAM to lose its | 3780 | * a result, a RESET of the adapter would cause that RAM to lose its |
@@ -3808,7 +3808,7 @@ int t4_load_phy_fw(struct adapter *adap, | |||
3808 | } | 3808 | } |
3809 | 3809 | ||
3810 | /* Ask the firmware where it wants us to copy the PHY firmware image. | 3810 | /* Ask the firmware where it wants us to copy the PHY firmware image. |
3811 | * The size of the file requires a special version of the READ coommand | 3811 | * The size of the file requires a special version of the READ command |
3812 | * which will pass the file size via the values field in PARAMS_CMD and | 3812 | * which will pass the file size via the values field in PARAMS_CMD and |
3813 | * retrieve the return value from firmware and place it in the same | 3813 | * retrieve the return value from firmware and place it in the same |
3814 | * buffer values | 3814 | * buffer values |
@@ -4082,7 +4082,7 @@ static inline fw_port_cap32_t cc_to_fwcap_pause(enum cc_pause cc_pause) | |||
4082 | fw_pause |= FW_PORT_CAP32_FORCE_PAUSE; | 4082 | fw_pause |= FW_PORT_CAP32_FORCE_PAUSE; |
4083 | 4083 | ||
4084 | /* Translate orthogonal Pause controls into IEEE 802.3 Pause, | 4084 | /* Translate orthogonal Pause controls into IEEE 802.3 Pause, |
4085 | * Asymetrical Pause for use in reporting to upper layer OS code, etc. | 4085 | * Asymmetrical Pause for use in reporting to upper layer OS code, etc. |
4086 | * Note that these bits are ignored in L1 Configure commands. | 4086 | * Note that these bits are ignored in L1 Configure commands. |
4087 | */ | 4087 | */ |
4088 | if (cc_pause & PAUSE_RX) { | 4088 | if (cc_pause & PAUSE_RX) { |
@@ -4151,7 +4151,7 @@ fw_port_cap32_t t4_link_acaps(struct adapter *adapter, unsigned int port, | |||
4151 | /* Convert Common Code Forward Error Control settings into the | 4151 | /* Convert Common Code Forward Error Control settings into the |
4152 | * Firmware's API. If the current Requested FEC has "Automatic" | 4152 | * Firmware's API. If the current Requested FEC has "Automatic" |
4153 | * (IEEE 802.3) specified, then we use whatever the Firmware | 4153 | * (IEEE 802.3) specified, then we use whatever the Firmware |
4154 | * sent us as part of it's IEEE 802.3-based interpratation of | 4154 | * sent us as part of its IEEE 802.3-based interpretation of |
4155 | * the Transceiver Module EPROM FEC parameters. Otherwise we | 4155 | * the Transceiver Module EPROM FEC parameters. Otherwise we |
4156 | * use whatever is in the current Requested FEC settings. | 4156 | * use whatever is in the current Requested FEC settings. |
4157 | */ | 4157 | */ |
@@ -4248,7 +4248,7 @@ int t4_link_l1cfg_core(struct adapter *adapter, unsigned int mbox, | |||
4248 | 4248 | ||
4249 | /* Unfortunately, even if the Requested Port Capabilities "fit" within | 4249 | /* Unfortunately, even if the Requested Port Capabilities "fit" within |
4250 | * the Physical Port Capabilities, some combinations of features may | 4250 | * the Physical Port Capabilities, some combinations of features may |
4251 | * still not be leagal. For example, 40Gb/s and Reed-Solomon Forward | 4251 | * still not be legal. For example, 40Gb/s and Reed-Solomon Forward |
4252 | * Error Correction. So if the Firmware rejects the L1 Configure | 4252 | * Error Correction. So if the Firmware rejects the L1 Configure |
4253 | * request, flag that here. | 4253 | * request, flag that here. |
4254 | */ | 4254 | */ |
@@ -6797,7 +6797,7 @@ int t4_sge_ctxt_flush(struct adapter *adap, unsigned int mbox, int ctxt_type) | |||
6797 | } | 6797 | } |
6798 | 6798 | ||
6799 | /** | 6799 | /** |
6800 | * t4_read_sge_dbqtimers - reag SGE Doorbell Queue Timer values | 6800 | * t4_read_sge_dbqtimers - read SGE Doorbell Queue Timer values |
6801 | * @adap - the adapter | 6801 | * @adap - the adapter |
6802 | * @ndbqtimers: size of the provided SGE Doorbell Queue Timer table | 6802 | * @ndbqtimers: size of the provided SGE Doorbell Queue Timer table |
6803 | * @dbqtimers: SGE Doorbell Queue Timer table | 6803 | * @dbqtimers: SGE Doorbell Queue Timer table |
@@ -6925,8 +6925,8 @@ retry: | |||
6925 | waiting -= 50; | 6925 | waiting -= 50; |
6926 | 6926 | ||
6927 | /* | 6927 | /* |
6928 | * If neither Error nor Initialialized are indicated | 6928 | * If neither Error nor Initialized are indicated |
6929 | * by the firmware keep waiting till we exaust our | 6929 | * by the firmware keep waiting till we exhaust our |
6930 | * timeout ... and then retry if we haven't exhausted | 6930 | * timeout ... and then retry if we haven't exhausted |
6931 | * our retries ... | 6931 | * our retries ... |
6932 | */ | 6932 | */ |
@@ -7238,7 +7238,7 @@ int t4_fl_pkt_align(struct adapter *adap) | |||
7238 | * separately. The actual Ingress Packet Data alignment boundary | 7238 | * separately. The actual Ingress Packet Data alignment boundary |
7239 | * within Packed Buffer Mode is the maximum of these two | 7239 | * within Packed Buffer Mode is the maximum of these two |
7240 | * specifications. (Note that it makes no real practical sense to | 7240 | * specifications. (Note that it makes no real practical sense to |
7241 | * have the Pading Boudary be larger than the Packing Boundary but you | 7241 | * have the Padding Boundary be larger than the Packing Boundary but you |
7242 | * could set the chip up that way and, in fact, legacy T4 code would | 7242 | * could set the chip up that way and, in fact, legacy T4 code would |
7243 | * end doing this because it would initialize the Padding Boundary and | 7243 | * end doing this because it would initialize the Padding Boundary and |
7244 | * leave the Packing Boundary initialized to 0 (16 bytes).) | 7244 | * leave the Packing Boundary initialized to 0 (16 bytes).) |
@@ -8973,10 +8973,10 @@ static int t4_get_flash_params(struct adapter *adap) | |||
8973 | goto found; | 8973 | goto found; |
8974 | } | 8974 | } |
8975 | 8975 | ||
8976 | /* Decode Flash part size. The code below looks repetative with | 8976 | /* Decode Flash part size. The code below looks repetitive with |
8977 | * common encodings, but that's not guaranteed in the JEDEC | 8977 | * common encodings, but that's not guaranteed in the JEDEC |
8978 | * specification for the Read JADEC ID command. The only thing that | 8978 | * specification for the Read JEDEC ID command. The only thing that |
8979 | * we're guaranteed by the JADEC specification is where the | 8979 | * we're guaranteed by the JEDEC specification is where the |
8980 | * Manufacturer ID is in the returned result. After that each | 8980 | * Manufacturer ID is in the returned result. After that each |
8981 | * Manufacturer ~could~ encode things completely differently. | 8981 | * Manufacturer ~could~ encode things completely differently. |
8982 | * Note, all Flash parts must have 64KB sectors. | 8982 | * Note, all Flash parts must have 64KB sectors. |
@@ -9317,7 +9317,7 @@ int t4_init_devlog_params(struct adapter *adap) | |||
9317 | struct fw_devlog_cmd devlog_cmd; | 9317 | struct fw_devlog_cmd devlog_cmd; |
9318 | int ret; | 9318 | int ret; |
9319 | 9319 | ||
9320 | /* If we're dealing with newer firmware, the Device Log Paramerters | 9320 | /* If we're dealing with newer firmware, the Device Log Parameters |
9321 | * are stored in a designated register which allows us to access the | 9321 | * are stored in a designated register which allows us to access the |
9322 | * Device Log even if we can't talk to the firmware. | 9322 | * Device Log even if we can't talk to the firmware. |
9323 | */ | 9323 | */ |