Commit 52f33af8 authored by Stephen Hemminger's avatar Stephen Hemminger Committed by Jeff Kirsher

ixgbe: fix typo's

Saw typo in one message, so decided to run spell checker.
Signed-off-by: default avatarStephen Hemminger <shemminger@vyatta.com>
Tested-by: default avatarPhil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent c1085b10
...@@ -146,7 +146,7 @@ static void ixgbe_service_event_complete(struct ixgbe_adapter *adapter) ...@@ -146,7 +146,7 @@ static void ixgbe_service_event_complete(struct ixgbe_adapter *adapter)
{ {
BUG_ON(!test_bit(__IXGBE_SERVICE_SCHED, &adapter->state)); BUG_ON(!test_bit(__IXGBE_SERVICE_SCHED, &adapter->state));
/* flush memory to make sure state is correct before next watchog */ /* flush memory to make sure state is correct before next watchdog */
smp_mb__before_clear_bit(); smp_mb__before_clear_bit();
clear_bit(__IXGBE_SERVICE_SCHED, &adapter->state); clear_bit(__IXGBE_SERVICE_SCHED, &adapter->state);
} }
...@@ -2156,7 +2156,7 @@ static irqreturn_t ixgbe_intr(int irq, void *data) ...@@ -2156,7 +2156,7 @@ static irqreturn_t ixgbe_intr(int irq, void *data)
IXGBE_WRITE_REG(hw, IXGBE_EIMC, IXGBE_IRQ_CLEAR_MASK); IXGBE_WRITE_REG(hw, IXGBE_EIMC, IXGBE_IRQ_CLEAR_MASK);
/* for NAPI, using EIAM to auto-mask tx/rx interrupt bits on read /* for NAPI, using EIAM to auto-mask tx/rx interrupt bits on read
* therefore no explict interrupt disable is necessary */ * therefore no explicit interrupt disable is necessary */
eicr = IXGBE_READ_REG(hw, IXGBE_EICR); eicr = IXGBE_READ_REG(hw, IXGBE_EICR);
if (!eicr) { if (!eicr) {
/* /*
...@@ -3606,7 +3606,7 @@ static inline bool ixgbe_is_sfp(struct ixgbe_hw *hw) ...@@ -3606,7 +3606,7 @@ static inline bool ixgbe_is_sfp(struct ixgbe_hw *hw)
static void ixgbe_sfp_link_config(struct ixgbe_adapter *adapter) static void ixgbe_sfp_link_config(struct ixgbe_adapter *adapter)
{ {
/* /*
* We are assuming the worst case scenerio here, and that * We are assuming the worst case scenario here, and that
* is that an SFP was inserted/removed after the reset * is that an SFP was inserted/removed after the reset
* but before SFP detection was enabled. As such the best * but before SFP detection was enabled. As such the best
* solution is to just start searching as soon as we start * solution is to just start searching as soon as we start
...@@ -3828,7 +3828,7 @@ void ixgbe_reset(struct ixgbe_adapter *adapter) ...@@ -3828,7 +3828,7 @@ void ixgbe_reset(struct ixgbe_adapter *adapter)
case IXGBE_ERR_EEPROM_VERSION: case IXGBE_ERR_EEPROM_VERSION:
/* We are running on a pre-production device, log a warning */ /* We are running on a pre-production device, log a warning */
e_dev_warn("This device is a pre-production adapter/LOM. " e_dev_warn("This device is a pre-production adapter/LOM. "
"Please be aware there may be issuesassociated with " "Please be aware there may be issues associated with "
"your hardware. If you are experiencing problems " "your hardware. If you are experiencing problems "
"please contact your Intel or hardware " "please contact your Intel or hardware "
"representative who provided you with this " "representative who provided you with this "
...@@ -5792,9 +5792,9 @@ static void ixgbe_fdir_reinit_subtask(struct ixgbe_adapter *adapter) ...@@ -5792,9 +5792,9 @@ static void ixgbe_fdir_reinit_subtask(struct ixgbe_adapter *adapter)
* @adapter - pointer to the device adapter structure * @adapter - pointer to the device adapter structure
* *
* This function serves two purposes. First it strobes the interrupt lines * This function serves two purposes. First it strobes the interrupt lines
* in order to make certain interrupts are occuring. Secondly it sets the * in order to make certain interrupts are occurring. Secondly it sets the
* bits needed to check for TX hangs. As a result we should immediately * bits needed to check for TX hangs. As a result we should immediately
* determine if a hang has occured. * determine if a hang has occurred.
*/ */
static void ixgbe_check_hang_subtask(struct ixgbe_adapter *adapter) static void ixgbe_check_hang_subtask(struct ixgbe_adapter *adapter)
{ {
...@@ -7132,7 +7132,7 @@ int ixgbe_setup_tc(struct net_device *dev, u8 tc) ...@@ -7132,7 +7132,7 @@ int ixgbe_setup_tc(struct net_device *dev, u8 tc)
return -EINVAL; return -EINVAL;
/* Hardware has to reinitialize queues and interrupts to /* Hardware has to reinitialize queues and interrupts to
* match packet buffer alignment. Unfortunantly, the * match packet buffer alignment. Unfortunately, the
* hardware is not flexible enough to do this dynamically. * hardware is not flexible enough to do this dynamically.
*/ */
if (netif_running(dev)) if (netif_running(dev))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment