drivers/net/: Spelling fixes
Subsystems (9)
PATCH 1/1 drivers/net/: Spelling fixes
Signed-off-by Joe Perches <[email protected]>
--- drivers/net/82596.c | 2 +- drivers/net/amd8111e.c | 8 ++++---- drivers/net/amd8111e.h | 2 +- drivers/net/appletalk/ltpc.c | 2 +- drivers/net/atl1/atl1_hw.c | 2 +- drivers/net/atl1/atl1_main.c | 2 +- drivers/net/bonding/bond_3ad.c | 4 ++-- drivers/net/chelsio/sge.c | 2 +- drivers/net/chelsio/subr.c | 2 +- drivers/net/cxgb3/t3_hw.c | 2 +- drivers/net/e1000/e1000_hw.c | 4 ++-- drivers/net/e1000/e1000_hw.h | 2 +- drivers/net/e1000/e1000_main.c | 2 +- drivers/net/e1000e/netdev.c | 2 +- drivers/net/eepro.c | 2 +- drivers/net/ehea/ehea.h | 2 +- drivers/net/forcedeth.c | 2 +- drivers/net/hamachi.c | 4 ++-- drivers/net/hp100.c | 2 +- drivers/net/hp100.h | 4 ++-- drivers/net/ibm_emac/ibm_emac.h | 2 +- drivers/net/ibm_newemac/emac.h | 2 +- drivers/net/ibmlana.c | 2 +- drivers/net/ibmlana.h | 2 +- drivers/net/ipg.c | 4 ++-- drivers/net/irda/ali-ircc.c | 6 +++--- drivers/net/irda/ali-ircc.h | 4 ++-- drivers/net/irda/donauboe.h | 2 +- drivers/net/irda/irport.c | 4 ++-- drivers/net/irda/nsc-ircc.h | 4 ++-- drivers/net/irda/smsc-ircc2.c | 4 ++-- drivers/net/irda/via-ircc.h | 4 ++-- drivers/net/ixgbe/ixgbe_common.c | 4 ++-- drivers/net/ixgbe/ixgbe_main.c | 2 +- drivers/net/lasi_82596.c | 2 +- drivers/net/lib82596.c | 2 +- drivers/net/macb.c | 2 +- drivers/net/meth.h | 2 +- drivers/net/mv643xx_eth.c | 4 ++-- drivers/net/netxen/netxen_nic_hw.h | 2 +- drivers/net/ppp_generic.c | 2 +- drivers/net/ps3_gelic_net.c | 2 +- drivers/net/qla3xxx.c | 2 +- drivers/net/s2io.h | 2 +- drivers/net/sis190.c | 2 +- drivers/net/sk98lin/skgepnmi.c | 2 +- drivers/net/sk98lin/skxmac2.c | 4 ++-- drivers/net/skfp/ess.c | 2 +- drivers/net/skfp/fplustm.c | 6 +++--- drivers/net/skfp/h/fplustm.h | 4 ++-- drivers/net/skfp/h/smt.h | 2 +- drivers/net/skfp/h/supern_2.h | 2 +- drivers/net/smc911x.c | 2 +- drivers/net/spider_net.c | 2 +- drivers/net/sunbmac.h | 2 +- drivers/net/sungem.c | 2 +- drivers/net/sunhme.h | 2 +- drivers/net/tc35815.c | 4 ++-- drivers/net/tehuti.c | 2 +- drivers/net/tehuti.h | 2 +- drivers/net/tokenring/3c359.c | 2 +- drivers/net/tokenring/lanstreamer.c | 2 +- drivers/net/tokenring/olympic.c | 2 +- drivers/net/tokenring/smctr.c | 6 +++--- drivers/net/tokenring/tms380tr.c | 2 +- drivers/net/tokenring/tms380tr.h | 2 +- drivers/net/tulip/xircom_cb.c | 2 +- drivers/net/tun.c | 4 ++-- drivers/net/ucc_geth_ethtool.c | 2 +- drivers/net/ucc_geth_mii.c | 6 +++--- drivers/net/wan/cycx_drv.c | 4 ++-- drivers/net/wan/sbni.c | 2 +- drivers/net/wireless/atmel.c | 2 +- drivers/net/wireless/bcm43xx/bcm43xx_debugfs.h | 2 +- drivers/net/wireless/ipw2200.c | 2 +- drivers/net/wireless/iwlwifi/iwl-4965.c | 2 +- drivers/net/wireless/libertas/cmd.c | 4 ++-- drivers/net/wireless/libertas/scan.c | 4 ++-- drivers/net/wireless/netwave_cs.c | 2 +- drivers/net/wireless/orinoco.h | 2 +- drivers/net/wireless/ray_cs.c | 2 +- drivers/net/wireless/rt2x00/rt2x00reg.h | 2 +- drivers/net/wireless/rt2x00/rt2x00usb.h | 6 +++--- drivers/net/wireless/rt2x00/rt73usb.c | 2 +- drivers/net/wireless/wavelan_cs.c | 2 +- drivers/net/wireless/zd1211rw/zd_chip.h | 4 ++-- drivers/net/yellowfin.c | 2 +- 87 files changed, 120 insertions(+), 120 deletions(-)
drivers/net/82596.c +1 -1
@@ -19,7 +19,7 @@ TBD: * look at deferring rx frames rather than discarding (as per tulip) * handle tx ring full as per tulip - * performace test to tune rx_copybreak + * performance test to tune rx_copybreak Most of my modifications relate to the braindead big-endian implementation by Intel. When the i596 is operating in
drivers/net/amd8111e.c +4 -4
@@ -1283,7 +1283,7 @@ static irqreturn_t amd8111e_interrupt(int irq, void *dev_id)#ifdef CONFIG_AMD8111E_NAPI if (intr0 &RINT0 ){if (netif_rx_schedule_prep (dev, &lp->napi)){ -/* Disable receive interupts */ +/* Disable receive interrupts */ writel (RINTEN0 , mmio +INTEN0 );/* Schedule a polling routine */ __netif_rx_schedule (dev, &lp->napi);
@@ -1493,7 +1493,7 @@ static void amd8111e_read_regs(struct amd8111e_priv *lp, u32 *buf)/* -This function sets promiscuos mode, all-multi mode or the multicast address +This function sets promiscuous mode, all-multi mode or the multicast address list to the device. */ static void amd8111e_set_multicast_list (struct net_device *dev)
@@ -1522,7 +1522,7 @@ static void amd8111e_set_multicast_list(struct net_device *dev) lp->mc_list =NULL ; lp->options &= ~OPTION_MULTICAST_ENABLE ;amd8111e_writeq (*(u64 *)mc_filter,lp->mmio +LADRF ); -/* disable promiscous mode */ +/* disable promiscuous mode */ writel (PROM , lp->mmio +CMD2 );return ; }
@@ -2016,7 +2016,7 @@ static int __devinit amd8111e_probe_one(struct pci_dev *pdev,for (i =0 ; i <ETH_ADDR_LEN ; i++) dev->dev_addr[i] =readb (lp->mmio +PADR + i); -/* Setting user defined parametrs */ +/* Setting user defined parameters */ lp->ext_phy_option = speed_duplex[card_idx];if (coalesce[card_idx]) lp->options |=OPTION_INTR_COAL_ENABLE ;
drivers/net/amd8111e.h +1 -1
@@ -614,7 +614,7 @@ typedef enum {#define CSTATE 1#define SSTATE 2 -/* Assume contoller gets data 10 times the maximum processing time */ +/* Assume controller gets data 10 times the maximum processing time */ #define REPEAT_CNT 10/* amd8111e decriptor flag definitions */
drivers/net/appletalk/ltpc.c +1 -1
@@ -1233,7 +1233,7 @@ static int __init ltpc_setup(char *str)if (ints[0 ] >2 ) { dma = ints[3 ]; } -/* ignore any other paramters */ +/* ignore any other parameters */ }return 1 ; }
drivers/net/atl1/atl1_hw.c +1 -1
@@ -645,7 +645,7 @@ s32 atl1_init_hw(struct atl1_hw *hw)atl1_init_flash_opcode (hw);if (!hw->phy_configured) { -/* enable GPHY LinkChange Interrrupt */ +/* enable GPHY LinkChange Interrupt */ ret_val =atl1_write_phy_reg (hw,18 ,0xC00 );if (ret_val)return ret_val;
drivers/net/atl1/atl1_main.c +1 -1
@@ -575,7 +575,7 @@ static u32 atl1_check_link(struct atl1_adapter *adapter)return ATL1_SUCCESS ; } -/* change orignal link status */ +/* change original link status */ if (netif_carrier_ok (netdev)) { adapter->link_speed =SPEED_0 ;netif_carrier_off (netdev);
drivers/net/bonding/bond_3ad.c +2 -2
@@ -869,7 +869,7 @@ static int ad_lacpdu_send(struct port *port) lacpdu_header = (struct lacpdu_header *)skb_put (skb, length); lacpdu_header->ad_header.destination_address = lacpdu_multicast_address; -/* Note: source addres is set to be the member's PERMANENT address, because we use it +/* Note: source address is set to be the member's PERMANENT address, because we use it to identify loopback lacpdus in receive. */ lacpdu_header->ad_header.source_address = *((struct mac_addr *)(slave->perm_hwaddr)); lacpdu_header->ad_header.length_type =PKT_TYPE_LACPDU ;
@@ -912,7 +912,7 @@ static int ad_marker_send(struct port *port, struct bond_marker *marker) marker_header = (struct bond_marker_header *)skb_put (skb, length); marker_header->ad_header.destination_address = lacpdu_multicast_address; -/* Note: source addres is set to be the member's PERMANENT address, because we use it +/* Note: source address is set to be the member's PERMANENT address, because we use it to identify loopback MARKERs in receive. */ marker_header->ad_header.source_address = *((struct mac_addr *)(slave->perm_hwaddr)); marker_header->ad_header.length_type =PKT_TYPE_LACPDU ;
drivers/net/chelsio/sge.c +1 -1
@@ -248,7 +248,7 @@ static void restart_sched(unsigned long);* * Interrupts are handled by a single CPU and it is likely that on a MP system * the application is migrated to another CPU. In that scenario, we try to -* seperate the RX(in irq context) and TX state in order to decrease memory +* separate the RX(in irq context) and TX state in order to decrease memory * contention. */ struct sge {
drivers/net/chelsio/subr.c +1 -1
@@ -559,7 +559,7 @@ struct chelsio_vpd_t {#define EEPROM_MAX_POLL 4/* -* Read SEEPROM. A zero is written to the flag register when the addres is +* Read SEEPROM. A zero is written to the flag register when the address is * written to the Control register. The hardware device will set the flag to a * one when 4B have been transferred to the Data register. */
drivers/net/cxgb3/t3_hw.c +1 -1
@@ -534,7 +534,7 @@ struct t3_vpd {* * Read a 32-bit word from a location in VPD EEPROM using the card's PCI * VPD ROM capability. A zero is written to the flag bit when the -* addres is written to the control register. The hardware device will +* address is written to the control register. The hardware device will * set the flag to 1 when 4 bytes have been read into the data register. */ int t3_seeprom_read (struct adapter *adapter,u32 addr,u32 *data)
drivers/net/e1000/e1000_hw.c +2 -2
@@ -803,7 +803,7 @@ e1000_initialize_hardware_bits(struct e1000_hw *hw)E1000_WRITE_REG (hw,CTRL , reg_ctrl);break ;case e1000_80003es2lan: -/* improve small packet performace for fiber/serdes */ +/* improve small packet performance for fiber/serdes */ if ((hw->media_type == e1000_media_type_fiber) || (hw->media_type == e1000_media_type_internal_serdes)) { reg_tarc0 &= ~(1 <<20 );
@@ -5001,7 +5001,7 @@ e1000_read_eeprom(struct e1000_hw *hw,return -E1000_ERR_EEPROM ; } -/* Eerd register EEPROM access requires no eeprom aquire/release */ +/* Eerd register EEPROM access requires no eeprom acquire/release */ if (eeprom->use_eerd == TRUE)return e1000_read_eeprom_eerd (hw, offset, words, data);
drivers/net/e1000/e1000_hw.h +1 -1
@@ -1068,7 +1068,7 @@ struct e1000_ffvt_entry {#define E1000_KUMCTRLSTA 0x00034/* MAC-PHY interface - RW */ #define E1000_MDPHYA 0x0003C/* PHY address - RW */ -#define E1000_MANC2H 0x05860/* Managment Control To Host - RW */ +#define E1000_MANC2H 0x05860/* Management Control To Host - RW */ #define E1000_SW_FW_SYNC 0x05B5C/* Software-Firmware Synchronization - RW */ #define E1000_GCR 0x05B00/* PCI-Ex Control */
drivers/net/e1000/e1000_main.c +1 -1
@@ -235,7 +235,7 @@ static struct pci_driver e1000_driver = { .probe = e1000_probe, .remove =__devexit_p (e1000_remove), #ifdef CONFIG_PM -/* Power Managment Hooks */ +/* Power Management Hooks */ .suspend = e1000_suspend, .resume = e1000_resume, #endif
drivers/net/e1000e/netdev.c +1 -1
@@ -4109,7 +4109,7 @@ static struct pci_driver e1000_driver = { .probe = e1000_probe, .remove =__devexit_p (e1000_remove), #ifdef CONFIG_PM -/* Power Managment Hooks */ +/* Power Management Hooks */ .suspend = e1000_suspend, .resume = e1000_resume, #endif
drivers/net/eepro.c +1 -1
@@ -1764,7 +1764,7 @@ module_param_array(io, int, NULL, 0);module_param_array (irq, int,NULL ,0 );module_param_array (mem, int,NULL ,0 );module_param (autodetect, int,0 ); -MODULE_PARM_DESC (io,"EtherExpress Pro/10 I/O base addres(es)" ); +MODULE_PARM_DESC (io,"EtherExpress Pro/10 I/O base address(es)" );MODULE_PARM_DESC (irq,"EtherExpress Pro/10 IRQ number(s)" );MODULE_PARM_DESC (mem,"EtherExpress Pro/10 Rx buffer size(es) in kB (3-29)" );MODULE_PARM_DESC (autodetect,"EtherExpress Pro/10 force board(s) detection (0-1)" );
drivers/net/ehea/ehea.h +1 -1
@@ -251,7 +251,7 @@ struct ehea_qp_init_attr { };/* -* Event Queue attributes, passed as paramter +* Event Queue attributes, passed as parameter */ struct ehea_eq_attr {u32 type;
drivers/net/forcedeth.c +1 -1
@@ -490,7 +490,7 @@ union ring_type {#define NV_RX3_VLAN_TAG_PRESENT (1<<16)#define NV_RX3_VLAN_TAG_MASK (0x0000FFFF) -/* Miscelaneous hardware related defines: */ +/* Miscellaneous hardware related defines: */ #define NV_PCI_REGSZ_VER1 0x270#define NV_PCI_REGSZ_VER2 0x2d4#define NV_PCI_REGSZ_VER3 0x604
drivers/net/hamachi.c +2 -2
@@ -86,7 +86,7 @@ static int force32;static int options[MAX_UNITS ] = {-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 };static int full_duplex[MAX_UNITS ] = {-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 };/* The Hamachi chipset supports 3 parameters each for Rx and Tx -* interruput management. Parameters will be loaded as specified into +* interrupt management. Parameters will be loaded as specified into * the TxIntControl and RxIntControl registers. * * The registers are arranged as follows:
@@ -811,7 +811,7 @@ static int __devinit read_eeprom(void __iomem *ioaddr, int location)return readb (ioaddr + EEData); } -/* MII Managemen Data I/O accesses. +/* MII Management Data I/O accesses. These routines assume the MDIO controller is idle, and do not exit until the command is finished. */
drivers/net/hp100.c +1 -1
@@ -2643,7 +2643,7 @@ static int hp100_login_to_vg_hub(struct net_device *dev, u_short force_relogin) }else {hp100_andb (~HP100_PROM_MODE ,VG_LAN_CFG_2 );/* For ETR parts we need to reset the prom. bit in the training -* register, otherwise promiscious mode won't be disabled. +* register, otherwise promiscuous mode won't be disabled. */ if (lp->chip ==HP100_CHIPID_LASSEN ) {hp100_andw (~HP100_MACRQ_PROMSC ,TRAIN_REQUEST );
drivers/net/hp100.h +2 -2
@@ -476,7 +476,7 @@#define HP100_MACRQ_REPEATER 0x0001/* 1: MAC tells HUB it wants to be * a cascaded repeater * 0: ... wants to be a DTE */ -#define HP100_MACRQ_PROMSC 0x0006/* 2 bits: Promiscious mode +#define HP100_MACRQ_PROMSC 0x0006/* 2 bits: Promiscuous mode * 00: Rcv only unicast packets * specifically addr to this * endnode
@@ -488,7 +488,7 @@#define HP100_CARD_MACVER 0xe000/* R: 3 bit Cards 100VG MAC version */ #define HP100_MALLOW_REPEATER 0x0001/* If reset, requested access as an * end node is allowed */ -#define HP100_MALLOW_PROMSC 0x0004/* 2 bits: Promiscious mode +#define HP100_MALLOW_PROMSC 0x0004/* 2 bits: Promiscuous mode * 00: Rcv only unicast packets * specifically addr to this * endnode
drivers/net/ibm_emac/ibm_emac.h +1 -1
@@ -1,7 +1,7 @@/* * drivers/net/ibm_emac/ibm_emac.h * -* Register definitions for PowerPC 4xx on-chip ethernet contoller +* Register definitions for PowerPC 4xx on-chip ethernet controller * * Copyright (c) 2004, 2005 Zultys Technologies. * Eugene Surovegin <[email protected]> or <[email protected]>
drivers/net/ibm_newemac/emac.h +1 -1
@@ -1,7 +1,7 @@/* * drivers/net/ibm_newemac/emac.h * -* Register definitions for PowerPC 4xx on-chip ethernet contoller +* Register definitions for PowerPC 4xx on-chip ethernet controller * * Copyright 2007 Benjamin Herrenschmidt, IBM Corp. * <[email protected]>
drivers/net/ibmlana.c +1 -1
@@ -481,7 +481,7 @@ static void InitBoard(struct net_device *dev)if ((dev->flags &IFF_ALLMULTI ) || (mcptr !=NULL )) rcrval |=RCREG_AMC ; -/* promiscous mode ? */ +/* promiscuous mode ? */ if (dev->flags &IFF_PROMISC ) rcrval |=RCREG_PRO ;
drivers/net/ibmlana.h +1 -1
@@ -90,7 +90,7 @@ typedef struct {#define RCREG_ERR 0x8000/* accept damaged and collided pkts */ #define RCREG_RNT 0x4000/* accept packets that are < 64 */ #define RCREG_BRD 0x2000/* accept broadcasts */ -#define RCREG_PRO 0x1000/* promiscous mode */ +#define RCREG_PRO 0x1000/* promiscuous mode */ #define RCREG_AMC 0x0800/* accept all multicasts */ #define RCREG_LB_NONE 0x0000/* no loopback */ #define RCREG_LB_MAC 0x0200/* MAC loopback */
drivers/net/ipg.c +2 -2
@@ -209,7 +209,7 @@ static int mdio_read(struct net_device * dev, int phy_id, int phy_reg) {void __iomem *ioaddr =ipg_ioaddr (dev);/* -* The GMII mangement frame structure for a read is as follows: +* The GMII management frame structure for a read is as follows: * * |Preamble|st|op|phyad|regad|ta| data |idle| * |< 32 1s>|01|10|AAAAA|RRRRR|z0|DDDDDDDDDDDDDDDD|z |
@@ -300,7 +300,7 @@ static void mdio_write(struct net_device *dev, int phy_id, int phy_reg, int val) {void __iomem *ioaddr =ipg_ioaddr (dev);/* -* The GMII mangement frame structure for a read is as follows: +* The GMII management frame structure for a read is as follows: * * |Preamble|st|op|phyad|regad|ta| data |idle| * |< 32 1s>|01|10|AAAAA|RRRRR|z0|DDDDDDDDDDDDDDDD|z |
drivers/net/irda/ali-ircc.c +3 -3
@@ -977,7 +977,7 @@ static void ali_ircc_change_speed(struct ali_ircc_cb *self, __u32 baud)/* Install FIR xmit handler*/ dev->hard_start_xmit = ali_ircc_fir_hard_xmit; -/* Enable Interuupt */ +/* Enable Interrupt */ self->ier =IER_EOM ;// benjamin 2000/11/20 07:24PM /* Be ready for incomming frames */
@@ -1096,7 +1096,7 @@ static void ali_ircc_sir_change_speed(struct ali_ircc_cb *priv, __u32 speed)outb (lcr, iobase+UART_LCR );/* Set 8N1 */ outb (fcr, iobase+UART_FCR );/* Enable FIFO's */ -/* without this, the conection will be broken after come back from FIR speed, +/* without this, the connection will be broken after come back from FIR speed, but with this, the SIR connection is harder to established */ outb ((UART_MCR_DTR |UART_MCR_RTS |UART_MCR_OUT2 ), iobase+UART_MCR );
@@ -1359,7 +1359,7 @@ static int ali_ircc_net_open(struct net_device *dev)return -EAGAIN ; } -/* Turn on interrups */ +/* Turn on interrupts */ outb (UART_IER_RDI , iobase+UART_IER );/* Ready to play! */
drivers/net/irda/ali-ircc.h +2 -2
@@ -173,13 +173,13 @@ struct st_fifo {struct frame_cb {void *start;/* Start of frame in DMA mem */ -int len;/* Lenght of frame in DMA mem */ +int len;/* Length of frame in DMA mem */ };struct tx_fifo {struct frame_cb queue[MAX_TX_WINDOW ];/* Info about frames in queue */ int ptr;/* Currently being sent */ -int len;/* Lenght of queue */ +int len;/* Length of queue */ int free;/* Next free slot */ void *tail;/* Next free start in DMA mem */ };
drivers/net/irda/donauboe.h +1 -1
@@ -30,7 +30,7 @@* or the type-DO IR port. * * IrDA chip set list from Toshiba Computer Engineering Corp. -* model method maker controler Version +* model method maker controller Version * Portege 320CT FIR,SIR Toshiba Oboe(Triangle) * Portege 3010CT FIR,SIR Toshiba Oboe(Sydney) * Portege 3015CT FIR,SIR Toshiba Oboe(Sydney)
drivers/net/irda/irport.c +2 -2
@@ -276,7 +276,7 @@ static void irport_start(struct irport_cb *self)outb (UART_LCR_WLEN8 , iobase+UART_LCR );/* Reset DLAB */ outb ((UART_MCR_DTR |UART_MCR_RTS |UART_MCR_OUT2 ), iobase+UART_MCR ); -/* Turn on interrups */ +/* Turn on interrupts */ outb (UART_IER_RLSI |UART_IER_RDI |UART_IER_THRI , iobase+UART_IER ); }
@@ -352,7 +352,7 @@ static void irport_change_speed(void *priv, __u32 speed)outb (lcr, iobase+UART_LCR );/* Set 8N1 */ outb (fcr, iobase+UART_FCR );/* Enable FIFO's */ -/* Turn on interrups */ +/* Turn on interrupts */ /* This will generate a fatal interrupt storm. * People calling us will do that properly - Jean II */ //outb(/*UART_IER_RLSI|*/UART_IER_RDI/*|UART_IER_THRI*/, iobase+UART_IER);
drivers/net/irda/nsc-ircc.h +2 -2
@@ -231,13 +231,13 @@ struct st_fifo {struct frame_cb {void *start;/* Start of frame in DMA mem */ -int len;/* Lenght of frame in DMA mem */ +int len;/* Length of frame in DMA mem */ };struct tx_fifo {struct frame_cb queue[MAX_TX_WINDOW ];/* Info about frames in queue */ int ptr;/* Currently being sent */ -int len;/* Lenght of queue */ +int len;/* Length of queue */ int free;/* Next free slot */ void *tail;/* Next free start in DMA mem */ };
drivers/net/irda/smsc-ircc2.c +2 -2
@@ -1165,7 +1165,7 @@ void smsc_ircc_set_sir_speed(struct smsc_ircc_cb *self, __u32 speed)outb (lcr, iobase +UART_LCR );/* Set 8N1 */ outb (fcr, iobase +UART_FCR );/* Enable FIFO's */ -/* Turn on interrups */ +/* Turn on interrupts */ outb (UART_IER_RLSI |UART_IER_RDI |UART_IER_THRI , iobase +UART_IER );IRDA_DEBUG (2 ,"%s() speed changed to: %d\n" , __FUNCTION__, speed);
@@ -1930,7 +1930,7 @@ void smsc_ircc_sir_start(struct smsc_ircc_cb *self)outb (UART_LCR_WLEN8 , sir_base +UART_LCR );/* Reset DLAB */ outb ((UART_MCR_DTR |UART_MCR_RTS |UART_MCR_OUT2 ), sir_base +UART_MCR ); -/* Turn on interrups */ +/* Turn on interrupts */ outb (UART_IER_RLSI |UART_IER_RDI |UART_IER_THRI , sir_base +UART_IER );IRDA_DEBUG (3 ,"%s() - exit\n" , __FUNCTION__);
drivers/net/irda/via-ircc.h +2 -2
@@ -54,13 +54,13 @@ struct st_fifo {struct frame_cb {void *start;/* Start of frame in DMA mem */ -int len;/* Lenght of frame in DMA mem */ +int len;/* Length of frame in DMA mem */ };struct tx_fifo {struct frame_cb queue[MAX_TX_WINDOW +2 ];/* Info about frames in queue */ int ptr;/* Currently being sent */ -int len;/* Lenght of queue */ +int len;/* Length of queue */ int free;/* Next free slot */ void *tail;/* Next free start in DMA mem */ };
drivers/net/ixgbe/ixgbe_common.c +2 -2
@@ -716,7 +716,7 @@ static s32 ixgbe_init_rx_addrs(struct ixgbe_hw *hw)* bit-vector to set in the multicast table. The hardware uses 12 bits, from * incoming rx multicast addresses, to determine the bit-vector to check in * the MTA. Which of the 4 combination, of 12-bits, the hardware uses is set -* by the MO field of the MCSTCTRL. The MO field is set during initalization +* by the MO field of the MCSTCTRL. The MO field is set during initialization * to mc_filter_type. **/ static s32 ixgbe_mta_vector (struct ixgbe_hw *hw,u8 *mc_addr)
@@ -1066,7 +1066,7 @@ s32 ixgbe_disable_pcie_master(struct ixgbe_hw *hw)/** -* ixgbe_acquire_swfw_sync - Aquire SWFW semaphore +* ixgbe_acquire_swfw_sync - Acquire SWFW semaphore * @hw: pointer to hardware structure * @mask: Mask to specify wich semaphore to acquire *
drivers/net/ixgbe/ixgbe_main.c +1 -1
@@ -592,7 +592,7 @@ quit_polling:* ixgbe_setup_msix - Initialize MSI-X interrupts * * ixgbe_setup_msix allocates MSI-X vectors and requests -* interrutps from the kernel. +* interrupts from the kernel. **/ static int ixgbe_setup_msix (struct ixgbe_adapter *adapter) {
drivers/net/lasi_82596.c +1 -1
@@ -47,7 +47,7 @@ TBD: * look at deferring rx frames rather than discarding (as per tulip) * handle tx ring full as per tulip - * performace test to tune rx_copybreak + * performance test to tune rx_copybreak Most of my modifications relate to the braindead big-endian implementation by Intel. When the i596 is operating in
drivers/net/lib82596.c +1 -1
@@ -47,7 +47,7 @@ TBD: * look at deferring rx frames rather than discarding (as per tulip) * handle tx ring full as per tulip - * performace test to tune rx_copybreak + * performance test to tune rx_copybreak Most of my modifications relate to the braindead big-endian implementation by Intel. When the i596 is operating in
drivers/net/macb.c +1 -1
@@ -239,7 +239,7 @@ static int macb_mii_init(struct macb *bp)struct eth_platform_data *pdata;int err = -ENXIO , i; -/* Enable managment port */ +/* Enable management port */ macb_writel (bp,NCR ,MACB_BIT (MPE )); bp->mii_bus.name = "MACB_mii_bus",
drivers/net/meth.h +1 -1
@@ -127,7 +127,7 @@ typedef struct rx_packet {#define METH_ACCEPT_MY 0/* 00: Accept PHY address only */ #define METH_ACCEPT_MCAST 0x20/* 01: Accept physical, broadcast, and multicast filter matches only */ #define METH_ACCEPT_AMCAST 0x40/* 10: Accept physical, broadcast, and all multicast packets */ -#define METH_PROMISC 0x60/* 11: Promiscious mode */ +#define METH_PROMISC 0x60/* 11: Promiscuous mode */ #define METH_PHY_LINK_FAIL BIT(7)/* 0: Link failure detection disabled, 1: Hardware scans for link failure in PHY */
drivers/net/mv643xx_eth.c +2 -2
@@ -535,7 +535,7 @@ struct mv643xx_private {int rx_resource_err;/* Rx ring resource error flag */ -/* Tx/Rx rings managment indexes fields. For driver use */ +/* Tx/Rx rings management indexes fields. For driver use */ /* Next available and first returning Rx resource */ int rx_curr_desc_q, rx_used_desc_q;
@@ -757,7 +757,7 @@ static void mv643xx_eth_update_mac_address(struct net_device *dev)/* * mv643xx_eth_set_rx_mode * -* Change from promiscuos to regular rx mode +* Change from promiscuous to regular rx mode * * Input : pointer to ethernet interface network device structure * Output : N/A
drivers/net/netxen/netxen_nic_hw.h +1 -1
@@ -429,7 +429,7 @@ typedef enum {#define netxen_get_niu_enable_ge (config_word) \ _netxen_crb_get_bit(config_word, 1) -/* Promiscous mode options (GbE mode only) */ +/* Promiscuous mode options (GbE mode only) */ typedef enum { NETXEN_NIU_PROMISC_MODE = 0, NETXEN_NIU_NON_PROMISC_MODE
drivers/net/ppp_generic.c +1 -1
@@ -2368,7 +2368,7 @@ find_compressor(int type) }/* -* Miscelleneous stuff. +* Miscellaneous stuff. */ static void
drivers/net/ps3_gelic_net.c +1 -1
@@ -1271,7 +1271,7 @@ static struct ethtool_ops gelic_net_ethtool_ops = {/** * gelic_net_tx_timeout_task - task scheduled by the watchdog timeout * function (to be called not under interrupt status) -* @work: work is context of tx timout task +* @work: work is context of tx timeout task * * called as task when tx hangs, resets interface (if interface is up) */
drivers/net/qla3xxx.c +1 -1
@@ -3691,7 +3691,7 @@ static int ql_adapter_up(struct ql3_adapter *qdev)ql_sem_unlock (qdev,QL_DRVR_SEM_MASK ); }else { printk(KERN_ERR PFX -"%s: Could not aquire driver lock.\n" , +"%s: Could not acquire driver lock.\n" , ndev->name); goto err_lock; }
drivers/net/s2io.h +1 -1
@@ -740,7 +740,7 @@ struct mac_info {u16 mc_pause_threshold_q0q3;u16 mc_pause_threshold_q4q7; -void *stats_mem;/* orignal pointer to allocated mem */ +void *stats_mem;/* original pointer to allocated mem */ dma_addr_t stats_mem_phy;/* Physical address of the stat block */ u32 stats_mem_sz;struct stat_block *stats_info;/* Logical address of the stat block */
drivers/net/sis190.c +1 -1
@@ -102,7 +102,7 @@ enum sis190_registers { IntrStatus =0x20 , IntrMask =0x24 , IntrControl =0x28 , - IntrTimer =0x2c ,// unused (Interupt Timer) + IntrTimer =0x2c ,// unused (Interrupt Timer) PMControl =0x30 ,// unused (Power Mgmt Control/Status) rsv2 =0x34 ,// reserved ROMControl = 0x38,
drivers/net/sk98lin/skgepnmi.c +1 -1
@@ -356,7 +356,7 @@ int Level) /* Initialization level */unsigned int PortMax;/* Number of ports */ unsigned int PortIndex;/* Current port index in loop */ SK_U16 Val16;/* Multiple purpose 16 bit variable */ -SK_U8 Val8;/* Mulitple purpose 8 bit variable */ +SK_U8 Val8;/* Multiple purpose 8 bit variable */ SK_EVPARA EventParam;/* Event struct for timer event */ SK_PNMI_VCT *pVctBackupData;
drivers/net/sk98lin/skxmac2.c +2 -2
@@ -3891,7 +3891,7 @@ int SkXmOverflowStatus(SK_AC *pAC,/* adapter context */ SK_IOC IoC, /* IO context */ unsigned int Port, /* Port Index (MAC_1 + n) */ -SK_U16 IStatus, /* Interupt Status from MAC */ +SK_U16 IStatus, /* Interrupt Status from MAC */ SK_U64 SK_FAR *pStatus) /* ptr for return overflow status value */ { SK_U64 Status; /* Overflow status */
@@ -4036,7 +4036,7 @@ int SkGmOverflowStatus(SK_AC *pAC,/* adapter context */ SK_IOC IoC, /* IO context */ unsigned int Port, /* Port Index (MAC_1 + n) */ -SK_U16 IStatus, /* Interupt Status from MAC */ +SK_U16 IStatus, /* Interrupt Status from MAC */ SK_U64 SK_FAR *pStatus) /* ptr for return overflow status value */ { SK_U64 Status; /* Overflow status */
drivers/net/skfp/ess.c +1 -1
@@ -598,7 +598,7 @@ static void ess_send_alc_req(struct s_smc *smc) req->cmd.sba_cmd =REQUEST_ALLOCATION ;/* -* set the parameter type and parameter lenght of all used +* set the parameter type and parameter length of all used * parameters */
drivers/net/skfp/fplustm.c +3 -3
@@ -398,7 +398,7 @@ static void copy_tx_mac(struct s_smc *smc, u_long td, struct fddi_mac *mac,/* u_long td; transmit descriptor */ /* struct fddi_mac *mac; mac frame pointer */ /* unsigned off; start address within buffer memory */ -/* int len ; lenght of the frame including the FC */ +/* int len ; length of the frame including the FC */ {int i ;u_int *p ;
@@ -1262,8 +1262,8 @@ Function DOWNCALL/INTERN (SMT, fplustm.c) Para mode = 1 RX_ENABLE_ALLMULTI enable all multicasts 2 RX_DISABLE_ALLMULTI disable "enable all multicasts" - 3 RX_ENABLE_PROMISC enable promiscous - 4 RX_DISABLE_PROMISC disable promiscous + 3 RX_ENABLE_PROMISC enable promiscuous + 4 RX_DISABLE_PROMISC disable promiscuous 5 RX_ENABLE_NSA enable reception of NSA frames 6 RX_DISABLE_NSA disable reception of NSA frames
drivers/net/skfp/h/fplustm.h +2 -2
@@ -237,8 +237,8 @@ struct s_smt_fp {*/ #define RX_ENABLE_ALLMULTI 1/* enable all multicasts */ #define RX_DISABLE_ALLMULTI 2/* disable "enable all multicasts" */ -#define RX_ENABLE_PROMISC 3/* enable promiscous */ -#define RX_DISABLE_PROMISC 4/* disable promiscous */ +#define RX_ENABLE_PROMISC 3/* enable promiscuous */ +#define RX_DISABLE_PROMISC 4/* disable promiscuous */ #define RX_ENABLE_NSA 5/* enable reception of NSA frames */ #define RX_DISABLE_NSA 6/* disable reception of NSA frames */
drivers/net/skfp/h/smt.h +1 -1
@@ -413,7 +413,7 @@ struct smt_p_reason {#define SMT_RDF_SUCCESS 0x00000003/* success (PMF) */ #define SMT_RDF_BADSET 0x00000004/* bad set count (PMF) */ #define SMT_RDF_ILLEGAL 0x00000005/* read only (PMF) */ -#define SMT_RDF_NOPARAM 0x6/* paramter not supported (PMF) */ +#define SMT_RDF_NOPARAM 0x6/* parameter not supported (PMF) */ #define SMT_RDF_RANGE 0x8/* out of range */ #define SMT_RDF_AUTHOR 0x9/* not autohorized */ #define SMT_RDF_LENGTH 0x0a/* length error */
drivers/net/skfp/h/supern_2.h +1 -1
@@ -386,7 +386,7 @@ struct tx_queue {#define FM_MDISRCV (4<<8)/* disable receive function */ #define FM_MRES0 (5<<8)/* reserve */ #define FM_MLIMPROM (6<<8)/* limited-promiscuous mode */ -#define FM_MPROMISCOUS (7<<8)/* address detection : promiscous */ +#define FM_MPROMISCOUS (7<<8)/* address detection : promiscuous */ #define FM_SELSA 0x0800/* select-short-address bit */
drivers/net/smc911x.c +1 -1
@@ -466,7 +466,7 @@ static inline void smc911x_rcv(struct net_device *dev)/* Align IP header to 32 bits * Note that the device is configured to add a 2 * byte padding to the packet start, so we really -* want to write to the orignal data pointer */ +* want to write to the original data pointer */ data = skb->data;skb_reserve (skb,2 );skb_put (skb,pkt_len-4 );
drivers/net/spider_net.c +1 -1
@@ -1826,7 +1826,7 @@ spider_net_enable_card(struct spider_net_card *card)spider_net_write_reg (card,SPIDER_NET_ECMODE ,SPIDER_NET_ECMODE_VALUE ); -/* set chain tail adress for RX chains and +/* set chain tail address for RX chains and * enable DMA */ spider_net_enable_rxchtails (card);spider_net_enable_rxdmac (card);
drivers/net/sunbmac.h +1 -1
@@ -185,7 +185,7 @@#define BIGMAC_RXCFG_ENABLE 0x00000001/* Enable the receiver */ #define BIGMAC_RXCFG_FIFO 0x0000000e/* Default rx fthresh... */ #define BIGMAC_RXCFG_PSTRIP 0x00000020/* Pad byte strip enable */ -#define BIGMAC_RXCFG_PMISC 0x00000040/* Enable promiscous mode */ +#define BIGMAC_RXCFG_PMISC 0x00000040/* Enable promiscuous mode */ #define BIGMAC_RXCFG_DERR 0x00000080/* Disable error checking */ #define BIGMAC_RXCFG_DCRCS 0x00000100/* Disable CRC stripping */ #define BIGMAC_RXCFG_ME 0x00000200/* Receive packets addressed to me */
drivers/net/sungem.c +1 -1
@@ -780,7 +780,7 @@ static int gem_rx(struct gem *gp, int work_to_do)break ;/* When writing back RX descriptor, GEM writes status -* then buffer address, possibly in seperate transactions. +* then buffer address, possibly in separate transactions. * If we don't wait for the chip to write both, we could * post a new buffer to this descriptor then have GEM spam * on the buffer address. We sync on the RX completion
drivers/net/sunhme.h +1 -1
@@ -223,7 +223,7 @@/* BigMac receive config register. */ #define BIGMAC_RXCFG_ENABLE 0x00000001/* Enable the receiver */ #define BIGMAC_RXCFG_PSTRIP 0x00000020/* Pad byte strip enable */ -#define BIGMAC_RXCFG_PMISC 0x00000040/* Enable promiscous mode */ +#define BIGMAC_RXCFG_PMISC 0x00000040/* Enable promiscuous mode */ #define BIGMAC_RXCFG_DERR 0x00000080/* Disable error checking */ #define BIGMAC_RXCFG_DCRCS 0x00000100/* Disable CRC stripping */ #define BIGMAC_RXCFG_REJME 0x00000200/* Reject packets addressed to me */
drivers/net/tc35815.c +2 -2
@@ -136,7 +136,7 @@ struct tc35815_regs {#define DMA_RxAlign_2 0x00800000#define DMA_RxAlign_3 0x00c00000#define DMA_M66EnStat 0x00080000/* 1:66MHz Enable State */ -#define DMA_IntMask 0x00040000/* 1:Interupt mask */ +#define DMA_IntMask 0x00040000/* 1:Interrupt mask */ #define DMA_SWIntReq 0x00020000/* 1:Software Interrupt request */ #define DMA_TxWakeUp 0x00010000/* 1:Transmit Wake Up */ #define DMA_RxBigE 0x00008000/* 1:Receive Big Endian */
@@ -281,7 +281,7 @@ struct tc35815_regs {#define Int_IntMacTx 0x00000001/* 1:Tx controller & Clear */ /* MD_CA bit asign --------------------------------------------------------- */ -#define MD_CA_PreSup 0x00001000/* 1:Preamble Supress */ +#define MD_CA_PreSup 0x00001000/* 1:Preamble Suppress */ #define MD_CA_Busy 0x00000800/* 1:Busy (Start Operation) */ #define MD_CA_Wr 0x00000400/* 1:Write 0:Read */
drivers/net/tehuti.c +1 -1
@@ -276,7 +276,7 @@ static irqreturn_t bdx_isr_napi(int irq, void *dev)* currently intrs are disabled (since we read ISR), * and we have failed to register next poll. * so we read the regs to trigger chip -* and allow further interupts. */ +* and allow further interrupts. */ READ_REG (priv, regTXF_WPTR_0);READ_REG (priv, regRXD_WPTR_0); }
drivers/net/tehuti.h +1 -1
@@ -510,7 +510,7 @@ struct txd_desc {#define GMAC_RX_FILTER_ACRC 0x0010/* accept crc error */ #define GMAC_RX_FILTER_AM 0x0008/* accept multicast */ #define GMAC_RX_FILTER_AB 0x0004/* accept broadcast */ -#define GMAC_RX_FILTER_PRM 0x0001/* [0:1] promiscous mode */ +#define GMAC_RX_FILTER_PRM 0x0001/* [0:1] promiscuous mode */ #define MAX_FRAME_AB_VAL 0x3fff/* 13:0 */
drivers/net/tokenring/3c359.c +1 -1
@@ -75,7 +75,7 @@ static char version[] __devinitdata =MODULE_AUTHOR ("Mike Phillips <[email protected]>" ) ;MODULE_DESCRIPTION ("3Com 3C359 Velocity XL Token Ring Adapter Driver \n" ) ; -/* Module paramters */ +/* Module parameters */ /* Ring Speed 0,4,16 * 0 = Autosense
drivers/net/tokenring/lanstreamer.c +1 -1
@@ -170,7 +170,7 @@ static char *open_min_error[] = { "Monitor Contention failer for RPL", "FDX Protocol Error" }; -/* Module paramters */ +/* Module parameters */ /* Ring Speed 0,4,16 * 0 = Autosense
drivers/net/tokenring/olympic.c +1 -1
@@ -132,7 +132,7 @@ static char *open_min_error[] = {"No error", "Function Failure", "Signal Lost","Reserved" ,"Reserved" ,"No Monitor Detected for RPL" , "Monitor Contention failer for RPL", "FDX Protocol Error"}; -/* Module paramters */ +/* Module parameters */ MODULE_AUTHOR ("Mike Phillips <[email protected]>" ) ;MODULE_DESCRIPTION ("Olympic PCI/Cardbus Chipset Driver" ) ;
drivers/net/tokenring/smctr.c +3 -3
@@ -2426,7 +2426,7 @@ static irqreturn_t smctr_interrupt(int irq, void *dev_id)break ;/* Type 0x0E - TRC Initialization Sequence Interrupt -* Subtype -- 00-FF Initializatin sequence complete +* Subtype -- 00-FF Initialization sequence complete */ case ISB_IMC_TRC_INTRNL_TST_STATUS : tp->status =INITIALIZED ;
@@ -3055,8 +3055,8 @@ static int smctr_load_node_addr(struct net_device *dev)* disabled.!? * * NOTE 2: If the monitor_state is MS_BEACON_TEST_STATE and the receive_mask -* has any multi-cast or promiscous bits set, the receive_mask needs to -* be changed to clear the multi-cast or promiscous mode bits, the lobe_test +* has any multi-cast or promiscuous bits set, the receive_mask needs to +* be changed to clear the multi-cast or promiscuous mode bits, the lobe_test * run, and then the receive mask set back to its original value if the test * is successful. */
drivers/net/tokenring/tms380tr.c +1 -1
@@ -48,7 +48,7 @@* 25-Sep-99 AF Uped TPL_NUM from 3 to 9 * Removed extraneous 'No free TPL' * 22-Dec-99 AF Added Madge PCI Mk2 support and generalized -* parts of the initilization procedure. +* parts of the initialization procedure. * 30-Dec-99 AF Turned tms380tr into a library ala 8390. * Madge support is provided in the abyss module * Generic PCI support is in the tmspci module.
drivers/net/tokenring/tms380tr.h +1 -1
@@ -441,7 +441,7 @@ typedef struct {#define PASS_FIRST_BUF_ONLY 0x0100/* Passes only first internal buffer * of each received frame; FrameSize * of RPLs must contain internal -* BUFFER_SIZE bits for promiscous mode. +* BUFFER_SIZE bits for promiscuous mode. */ #define ENABLE_FULL_DUPLEX_SELECTION 0x2000/* Enable the use of full-duplex
drivers/net/tulip/xircom_cb.c +1 -1
@@ -646,7 +646,7 @@ static void setup_descriptors(struct xircom_private *card) }wmb (); -/* wite the transmit descriptor ring to the card */ +/* write the transmit descriptor ring to the card */ address = (unsigned long ) card->tx_dma_handle; val =cpu_to_le32 (address);outl (val, card->io_port +CSR4 );/* xmit descr list address */
drivers/net/tun.c +2 -2
@@ -142,7 +142,7 @@ add_multi(u32* filter, const u8* addr) filter[bit_nr >>5 ] |=1 << (bit_nr &31 ); } -/** Remove the specified Ethernet addres from this multicast filter. */ +/** Remove the specified Ethernet address from this multicast filter. */ static void del_multi (u32 * filter,const u8 * addr) {
@@ -399,7 +399,7 @@ static ssize_t tun_chr_aio_read(struct kiocb *iocb, const struct iovec *iv,* - the packet is addressed to us. * - the packet is broadcast. * - the packet is multicast and -* - we are multicast promiscous. +* - we are multicast promiscuous. * - we belong to the multicast group. */ skb_copy_from_linear_data(skb, addr, min_t(size_t, sizeof addr,
drivers/net/ucc_geth_ethtool.c +1 -1
@@ -7,7 +7,7 @@* * Limitation: * Can only get/set setttings of the first queue. -* Need to re-open the interface manually after changing some paramters. +* Need to re-open the interface manually after changing some parameters. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the
drivers/net/ucc_geth_mii.c +3 -3
@@ -63,11 +63,11 @@ int uec_mdio_write(struct mii_bus *bus, int mii_id, int regnum, u16 value) {struct ucc_mii_mng __iomem *regs = (void __iomem *)bus->priv; -/* Setting up the MII Mangement Address Register */ +/* Setting up the MII Management Address Register */ out_be32 (®s->miimadd, (mii_id <<MIIMADD_PHY_ADDRESS_SHIFT ) | regnum); -/* Setting up the MII Mangement Control Register with the value */ +/* Setting up the MII Management Control Register with the value */ out_be32 (®s->miimcon, value);/* Wait till MII management write is complete */
@@ -85,7 +85,7 @@ int uec_mdio_read(struct mii_bus *bus, int mii_id, int regnum)struct ucc_mii_mng __iomem *regs = (void __iomem *)bus->priv;u16 value; -/* Setting up the MII Mangement Address Register */ +/* Setting up the MII Management Address Register */ out_be32 (®s->miimadd, (mii_id <<MIIMADD_PHY_ADDRESS_SHIFT ) | regnum);
drivers/net/wan/cycx_drv.c +2 -2
@@ -322,7 +322,7 @@ static int cycx_data_boot(void __iomem *addr, u8 *code, u32 len)void __iomem *pt_boot_cmd = addr +CMD_OFFSET ;u32 i; -/* boot buffer lenght */ +/* boot buffer length */ writew (CFM_LOAD_BUFSZ , pt_boot_cmd +sizeof (u16));writew (GEN_DEFPAR , pt_boot_cmd);
@@ -353,7 +353,7 @@ static int cycx_code_boot(void __iomem *addr, u8 *code, u32 len)void __iomem *pt_boot_cmd = addr +CMD_OFFSET ;u32 i; -/* boot buffer lenght */ +/* boot buffer length */ writew (CFM_LOAD_BUFSZ , pt_boot_cmd +sizeof (u16));writew (GEN_DEFPAR , pt_boot_cmd);
drivers/net/wan/sbni.c +1 -1
@@ -1472,7 +1472,7 @@ sbni_get_stats( struct net_device *dev )static void set_multicast_list (struct net_device *dev ) { -return ;/* sbni always operate in promiscuos mode */ +return ;/* sbni always operate in promiscuous mode */ }
drivers/net/wireless/atmel.c +1 -1
@@ -3278,7 +3278,7 @@ static void atmel_smooth_qual(struct atmel_private *priv) priv->wstats.qual.updated &= ~IW_QUAL_QUAL_INVALID ; } -/* deals with incoming managment frames. */ +/* deals with incoming management frames. */ static void atmel_management_frame (struct atmel_private *priv,struct ieee80211_hdr_4addr *header,u16 frame_len,u8 rssi)
drivers/net/wireless/bcm43xx/bcm43xx_debugfs.h +1 -1
@@ -28,7 +28,7 @@ struct bcm43xx_dfsentry {struct bcm43xx_xmitstatus *xmitstatus_buffer;int xmitstatus_ptr;int xmitstatus_cnt; -/* We need a seperate buffer while printing to avoid +/* We need a separate buffer while printing to avoid * concurrency issues. (New xmitstatus can arrive * while we are printing). */
drivers/net/wireless/ipw2200.c +1 -1
@@ -1144,7 +1144,7 @@ static void ipw_led_shutdown(struct ipw_priv *priv)/* * The following adds a new attribute to the sysfs representation * of this device driver (i.e. a new file in /sys/bus/pci/drivers/ipw/) -* used for controling the debug level. +* used for controlling the debug level. * * See the level definitions in ipw for details. */
drivers/net/wireless/iwlwifi/iwl-4965.c +1 -1
@@ -4051,7 +4051,7 @@ static int iwl4965_tx_status_reply_compressed_ba(struct iwl_priv *priv, agg->wait_for_ba =0 ;IWL_DEBUG_TX_REPLY ("BA %d %d\n" , agg->start_idx, ba_resp->ba_seq_ctl); sh = agg->start_idx -SEQ_TO_INDEX (ba_seq_ctl>>4 ); -if (sh <0 )/* tbw something is wrong with indeces */ +if (sh <0 )/* tbw something is wrong with indices */ sh +=0x100 ;/* don't use 64 bits for now */
drivers/net/wireless/libertas/cmd.c +2 -2
@@ -1120,7 +1120,7 @@ int libertas_set_mac_packet_filter(wlan_private * priv)* @param cmd_action command action: GET or SET * @param wait_option wait option: wait response or not * @param cmd_oid cmd oid: treated as sub command -* @param pdata_buf A pointer to informaion buffer +* @param pdata_buf A pointer to information buffer * @return 0 or -1 */ int libertas_prepare_and_send_command(wlan_private * priv,
@@ -1606,7 +1606,7 @@ static void cleanup_cmdnode(struct cmd_ctrl_node *ptempnode)* @param ptempnode A pointer to cmd_ctrl_node structure * @param cmd_oid cmd oid: treated as sub command * @param wait_option wait option: wait response or not -* @param pdata_buf A pointer to informaion buffer +* @param pdata_buf A pointer to information buffer * @return 0 or -1 */ void libertas_set_cmd_ctrl_node(wlan_private * priv,
drivers/net/wireless/libertas/scan.c +2 -2
@@ -443,7 +443,7 @@ wlan_scan_setup_scan_config(wlan_private * priv, ptlvpos = pscancfgout->tlvbuffer;/* -* Set the initial scan paramters for progressive scanning. If a specific +* Set the initial scan parameters for progressive scanning. If a specific * BSSID or SSID is used, the number of channels in the scan command * will be increased to the absolute maximum */
@@ -1679,7 +1679,7 @@ int libertas_get_scan(struct net_device *dev, struct iw_request_info *info,* * Called from libertas_prepare_and_send_command() in cmd.c * -* Sends a fixed lenght data part (specifying the BSS type and BSSID filters) +* Sends a fixed length data part (specifying the BSS type and BSSID filters) * as well as a variable number/length of TLVs to the firmware. * * @param priv A pointer to wlan_private structure
drivers/net/wireless/netwave_cs.c +1 -1
@@ -1408,7 +1408,7 @@ static void set_multicast_list(struct net_device *dev)/* Multicast Mode */ rcvMode = rxConfRxEna + rxConfAMP + rxConfBcast; }else if (dev->flags &IFF_PROMISC ) { -/* Promiscous mode */ +/* Promiscuous mode */ rcvMode = rxConfRxEna + rxConfPro + rxConfAMP + rxConfBcast; }else {/* Normal mode */
drivers/net/wireless/orinoco.h +1 -1
@@ -108,7 +108,7 @@ struct orinoco_private {int scan_inprogress;/* Scan pending... */ u32 scan_mode;/* Type of scan done */ char * scan_result;/* Result of previous scan */ -int scan_len;/* Lenght of result */ +int scan_len;/* Length of result */ };#ifdef ORINOCO_DEBUG
drivers/net/wireless/ray_cs.c +1 -1
@@ -129,7 +129,7 @@ static void ray_reset(struct net_device *dev);static void ray_update_parm (struct net_device *dev,UCHAR objid,UCHAR *value,int len);static void verify_dl_startup (u_long ); -/* Prototypes for interrpt time functions **********************************/ +/* Prototypes for interrupt time functions **********************************/ static irqreturn_t ray_interrupt (int reg,void *dev_id);static void clear_interrupt (ray_dev_t *local); static void rx_deauthenticate(ray_dev_t *local, struct rcs __iomem *prcs,
drivers/net/wireless/rt2x00/rt2x00reg.h +1 -1
@@ -230,7 +230,7 @@ static inline u8 rt2x00_get_field8(const u8 reg,* corresponds with the TX register format for the current device. * 4 - plcp, 802.11b rates are device specific, * 802.11g rates are set according to the ieee802.11a-1999 p.14. -* The bit to enable preamble is set in a seperate define. +* The bit to enable preamble is set in a separate define. */ #define DEV_RATE FIELD32(0x000007ff)#define DEV_PREAMBLE FIELD32(0x00000800)
drivers/net/wireless/rt2x00/rt2x00usb.h +3 -3
@@ -135,13 +135,13 @@ static inline int rt2x00usb_vendor_request_sw(const struct rt2x00_dev* kmalloc for correct handling inside the kernel USB layer. */ static inline int rt2x00usb_eeprom_read (const struct rt2x00_dev *rt2x00dev, -__le16 *eeprom,const u16 lenght) +__le16 *eeprom,const u16 length) { -int timeout =REGISTER_TIMEOUT * (lenght /sizeof (u16)); +int timeout =REGISTER_TIMEOUT * (length /sizeof (u16));return rt2x00usb_vendor_request (rt2x00dev,USB_EEPROM_READ ,USB_VENDOR_REQUEST_IN ,0x0000 , -0x0000 , eeprom, lenght, timeout); +0x0000 , eeprom, length, timeout); }/*
drivers/net/wireless/rt2x00/rt73usb.c +1 -1
@@ -833,7 +833,7 @@ static int rt73usb_load_firmware(struct rt2x00_dev *rt2x00dev, void *data,/* * Write firmware to device. -* We setup a seperate cache for this action, +* We setup a separate cache for this action, * since we are going to write larger chunks of data * then normally used cache size. */
drivers/net/wireless/wavelan_cs.c +1 -1
@@ -159,7 +159,7 @@ psa_read(struct net_device * dev,/*------------------------------------------------------------------*/ /* -* Write the Paramter Storage Area to the WaveLAN card's memory +* Write the Parameter Storage Area to the WaveLAN card's memory */ static void psa_write(struct net_device * dev,
drivers/net/wireless/zd1211rw/zd_chip.h +2 -2
@@ -620,8 +620,8 @@ enum {#define E2P_PWR_INT_GUARD 8#define E2P_CHANNEL_COUNT 14 -/* If you compare this addresses with the ZYDAS orignal driver, please notify -* that we use word mapping for the EEPROM. +/* If you compare these addresses with the ZYDAS original driver, +* please notice that we use word mapping for the EEPROM. */ /*
drivers/net/yellowfin.c +1 -1
@@ -533,7 +533,7 @@ static int __devinit read_eeprom(void __iomem *ioaddr, int location)return ioread8 (ioaddr + EERead); } -/* MII Managemen Data I/O accesses. +/* MII Management Data I/O accesses. These routines assume the MDIO controller is idle, and do not exit until the command is finished. */
Signature · 1 line
1.5.3.7.949.g2221a6
Quoted 2 lines · Joe Perches
drivers/net/atl1/atl1_hw.c | 2 +- drivers/net/atl1/atl1_main.c | 2 +-
The atl1 code will be heavily reworked in the 2.6.25 merge window, so this may cause headaches. Please remove these chunks before merging.
The spelling corrections themselves are fine, and I will ensure that the revised driver includes them, if the comments in question are still present at all once we're done with all the changes and cleanups.
-- Chris
drivers/net/ucc_geth_ethtool.c line 9
Quoted 8 lines · On Mon, 17 Dec 2007 11:40:08 -0800 Joe Perches <[email protected]> wrote:
drivers/net/ucc_geth_ethtool.c +0
-0@@ -7,7 +7,7 @@* * Limitation: * Can only get/set setttings of the first queue.
^^^
Signature · 2 lines
Ciao Stefano
Quoted 4 lines · Stefano Brivio
Review
Quoted 1 line · On Mon, 17 Dec 2007 11:40:08 -0800 Joe Perches <[email protected]> wrote:
(quoted diff) +0
-0
b/drivers/net/ucc_geth_ethtool.c
Quoted 8 lines
drivers/net/ucc_geth_ethtool.c line 9
Quoted 7 lines
index 9a9622c..f8d319b 100644
drivers/net/ucc_geth_ethtool.c +0
-0@@ -7,7 +7,7 @@* * Limitation: * Can only get/set setttings of the first queue. ^^^
Good eyes... Unrelated to what I changed too.
cheers, Joe
Signed-off-by Joe Perches <[email protected]>
---
drivers/net/s2io.c +2 -2
@@ -6823,8 +6823,8 @@ static void do_s2io_card_down(struct s2io_nic * sp, int do_io)while (do_io) {/* As per the HW requirement we need to replenish the * receive buffer to avoid the ring bump. Since there is -* no intention of processing the Rx frame at this pointwe are -* just settting the ownership bit of rxd in Each Rx +* no intention of processing the Rx frame at this point we are +* just setting the ownership bit of rxd in each Rx * ring to HW and set the appropriate buffer size * based on the ring mode */
drivers/net/ucc_geth_ethtool.c +1 -1
@@ -6,7 +6,7 @@* Author: Li Yang <[email protected]> * * Limitation: -* Can only get/set setttings of the first queue. +* Can only get/set settings of the first queue. * Need to re-open the interface manually after changing some parameters. * * This program is free software; you can redistribute it and/or modify it