Commit ac399bc0f40a9d578bc31e0e5e31814dd1083e68

Authored by Justin P. Mattock
Committed by Greg Kroah-Hartman
1 parent cfbc6a9221

drivers:staging:et131x Fix some typo's in staging et131x.

The below patch fixes some comments with typos in the them and makes a comment make more sense.

 Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Showing 2 changed files with 5 additions and 5 deletions Side-by-side Diff

drivers/staging/et131x/et131x.c
... ... @@ -802,7 +802,7 @@
802 802 /* THIS IS A WORKAROUND:
803 803 * I need to call this function twice to get my card in a
804 804 * LG M1 Express Dual running. I tried also a msleep before this
805   - * function, because I thougth there could be some time condidions
  805 + * function, because I thought there could be some time condidions
806 806 * but it didn't work. Call the whole function twice also work.
807 807 */
808 808 if (pci_read_config_byte(pdev, ET1310_PCI_EEPROM_STATUS, &eestatus)) {
... ... @@ -987,7 +987,7 @@
987 987 writel(station1, &macregs->station_addr_1);
988 988 writel(station2, &macregs->station_addr_2);
989 989  
990   - /* Max ethernet packet in bytes that will passed by the mac without
  990 + /* Max ethernet packet in bytes that will be passed by the mac without
991 991 * being truncated. Allow the MAC to pass 4 more than our max packet
992 992 * size. This is 4 for the Ethernet CRC.
993 993 *
... ... @@ -4413,7 +4413,7 @@
4413 4413  
4414 4414 /**
4415 4415 * et131x_down - Bring down the device
4416   - * @netdev: device to be broght down
  4416 + * @netdev: device to be brought down
4417 4417 */
4418 4418 static void et131x_down(struct net_device *netdev)
4419 4419 {
drivers/staging/et131x/et131x.h
... ... @@ -596,7 +596,7 @@
596 596 * structure for tx test reg in txmac address map
597 597 * located at address 0x3014
598 598 * 31-17: unused
599   - * 16: reserved1
  599 + * 16: reserved
600 600 * 15: txtest_en
601 601 * 14-11: unused
602 602 * 10-0: txq test pointer
... ... @@ -1485,7 +1485,7 @@
1485 1485 * 3: reserved
1486 1486 * 2: ignore_10g_fr
1487 1487 * 1: reserved
1488   - * 0: preamble_supress_en
  1488 + * 0: preamble_suppress_en
1489 1489 */
1490 1490  
1491 1491 /* MI Register 22: PHY Configuration Reg(0x16)