Commit 52035bdb authored by Jesse Brandeburg's avatar Jesse Brandeburg Committed by Jeff Garzik

ixgb: fix spelling errors

Signed-off-by: default avatarJesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent 0060c072
...@@ -94,8 +94,8 @@ struct ixgb_adapter; ...@@ -94,8 +94,8 @@ struct ixgb_adapter;
#define MIN_TXD 64 #define MIN_TXD 64
/* hardware cannot reliably support more than 512 descriptors owned by /* hardware cannot reliably support more than 512 descriptors owned by
* hardware descrioptor cache otherwise an unreliable ring under heavy * hardware descriptor cache otherwise an unreliable ring under heavy
* recieve load may result */ * receive load may result */
/* #define DEFAULT_RXD 1024 */ /* #define DEFAULT_RXD 1024 */
/* #define MAX_RXD 4096 */ /* #define MAX_RXD 4096 */
#define DEFAULT_RXD 512 #define DEFAULT_RXD 512
......
...@@ -205,7 +205,7 @@ ixgb_standby_eeprom(struct ixgb_hw *hw) ...@@ -205,7 +205,7 @@ ixgb_standby_eeprom(struct ixgb_hw *hw)
eecd_reg = IXGB_READ_REG(hw, EECD); eecd_reg = IXGB_READ_REG(hw, EECD);
/* Deselct EEPROM */ /* Deselect EEPROM */
eecd_reg &= ~(IXGB_EECD_CS | IXGB_EECD_SK); eecd_reg &= ~(IXGB_EECD_CS | IXGB_EECD_SK);
IXGB_WRITE_REG(hw, EECD, eecd_reg); IXGB_WRITE_REG(hw, EECD, eecd_reg);
udelay(50); udelay(50);
...@@ -293,7 +293,7 @@ ixgb_wait_eeprom_command(struct ixgb_hw *hw) ...@@ -293,7 +293,7 @@ ixgb_wait_eeprom_command(struct ixgb_hw *hw)
*/ */
ixgb_standby_eeprom(hw); ixgb_standby_eeprom(hw);
/* Now read DO repeatedly until is high (equal to '1'). The EEEPROM will /* Now read DO repeatedly until is high (equal to '1'). The EEPROM will
* signal that the command has been completed by raising the DO signal. * signal that the command has been completed by raising the DO signal.
* If DO does not go high in 10 milliseconds, then error out. * If DO does not go high in 10 milliseconds, then error out.
*/ */
...@@ -365,7 +365,7 @@ ixgb_update_eeprom_checksum(struct ixgb_hw *hw) ...@@ -365,7 +365,7 @@ ixgb_update_eeprom_checksum(struct ixgb_hw *hw)
* *
* hw - Struct containing variables accessed by shared code * hw - Struct containing variables accessed by shared code
* reg - offset within the EEPROM to be written to * reg - offset within the EEPROM to be written to
* data - 16 bit word to be writen to the EEPROM * data - 16 bit word to be written to the EEPROM
* *
* If ixgb_update_eeprom_checksum is not called after this function, the * If ixgb_update_eeprom_checksum is not called after this function, the
* EEPROM will most likely contain an invalid checksum. * EEPROM will most likely contain an invalid checksum.
......
...@@ -34,11 +34,11 @@ ...@@ -34,11 +34,11 @@
#define IXGB_ETH_LENGTH_OF_ADDRESS 6 #define IXGB_ETH_LENGTH_OF_ADDRESS 6
/* EEPROM Commands */ /* EEPROM Commands */
#define EEPROM_READ_OPCODE 0x6 /* EERPOM read opcode */ #define EEPROM_READ_OPCODE 0x6 /* EEPROM read opcode */
#define EEPROM_WRITE_OPCODE 0x5 /* EERPOM write opcode */ #define EEPROM_WRITE_OPCODE 0x5 /* EEPROM write opcode */
#define EEPROM_ERASE_OPCODE 0x7 /* EERPOM erase opcode */ #define EEPROM_ERASE_OPCODE 0x7 /* EEPROM erase opcode */
#define EEPROM_EWEN_OPCODE 0x13 /* EERPOM erase/write enable */ #define EEPROM_EWEN_OPCODE 0x13 /* EEPROM erase/write enable */
#define EEPROM_EWDS_OPCODE 0x10 /* EERPOM erast/write disable */ #define EEPROM_EWDS_OPCODE 0x10 /* EEPROM erase/write disable */
/* EEPROM MAP (Word Offsets) */ /* EEPROM MAP (Word Offsets) */
#define EEPROM_IA_1_2_REG 0x0000 #define EEPROM_IA_1_2_REG 0x0000
......
...@@ -371,7 +371,7 @@ ixgb_init_hw(struct ixgb_hw *hw) ...@@ -371,7 +371,7 @@ ixgb_init_hw(struct ixgb_hw *hw)
* hw - Struct containing variables accessed by shared code * hw - Struct containing variables accessed by shared code
* *
* Places the MAC address in receive address register 0 and clears the rest * Places the MAC address in receive address register 0 and clears the rest
* of the receive addresss registers. Clears the multicast table. Assumes * of the receive address registers. Clears the multicast table. Assumes
* the receiver is in reset when the routine is called. * the receiver is in reset when the routine is called.
*****************************************************************************/ *****************************************************************************/
static void static void
...@@ -964,7 +964,7 @@ ixgb_check_for_link(struct ixgb_hw *hw) ...@@ -964,7 +964,7 @@ ixgb_check_for_link(struct ixgb_hw *hw)
} }
/****************************************************************************** /******************************************************************************
* Check for a bad link condition that may have occured. * Check for a bad link condition that may have occurred.
* The indication is that the RFC / LFC registers may be incrementing * The indication is that the RFC / LFC registers may be incrementing
* continually. A full adapter reset is required to recover. * continually. A full adapter reset is required to recover.
* *
......
...@@ -2248,7 +2248,7 @@ static pci_ers_result_t ixgb_io_error_detected(struct pci_dev *pdev, ...@@ -2248,7 +2248,7 @@ static pci_ers_result_t ixgb_io_error_detected(struct pci_dev *pdev,
* ixgb_io_slot_reset - called after the pci bus has been reset. * ixgb_io_slot_reset - called after the pci bus has been reset.
* @pdev pointer to pci device with error * @pdev pointer to pci device with error
* *
* This callback is called after the PCI buss has been reset. * This callback is called after the PCI bus has been reset.
* Basically, this tries to restart the card from scratch. * Basically, this tries to restart the card from scratch.
* This is a shortened version of the device probe/discovery code, * This is a shortened version of the device probe/discovery code,
* it resembles the first-half of the ixgb_probe() routine. * it resembles the first-half of the ixgb_probe() routine.
......
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