aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2009-12-07 12:36:35 -0500
committerJiri Kosina <jkosina@suse.cz>2009-12-07 12:36:35 -0500
commitd014d043869cdc591f3a33243d3481fa4479c2d0 (patch)
tree63626829498e647ba058a1ce06419fe7e4d5f97d /drivers/net
parent6ec22f9b037fc0c2e00ddb7023fad279c365324d (diff)
parent6070d81eb5f2d4943223c96e7609a53cdc984364 (diff)
Merge branch 'for-next' into for-linus
Conflicts: kernel/irq/chip.c
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/82596.c2
-rw-r--r--drivers/net/amd8111e.c7
-rw-r--r--drivers/net/appletalk/cops.c2
-rw-r--r--drivers/net/ariadne.h2
-rw-r--r--drivers/net/atl1c/atl1c_main.c2
-rw-r--r--drivers/net/benet/be_cmds.h2
-rw-r--r--drivers/net/benet/be_main.c2
-rw-r--r--drivers/net/bnx2x_reg.h2
-rw-r--r--drivers/net/bonding/bond_alb.c2
-rw-r--r--drivers/net/cxgb3/sge.c2
-rw-r--r--drivers/net/ehea/ehea_ethtool.c4
-rw-r--r--drivers/net/hamradio/baycom_ser_fdx.c2
-rw-r--r--drivers/net/irda/smsc-ircc2.c2
-rw-r--r--drivers/net/iseries_veth.c2
-rw-r--r--drivers/net/lasi_82596.c2
-rw-r--r--drivers/net/lib82596.c2
-rw-r--r--drivers/net/mlx4/en_rx.c2
-rw-r--r--drivers/net/mlx4/en_tx.c2
-rw-r--r--drivers/net/mlx4/mlx4_en.h2
-rw-r--r--drivers/net/ps3_gelic_net.c2
-rw-r--r--drivers/net/ps3_gelic_wireless.h2
-rw-r--r--drivers/net/qla3xxx.c2
-rw-r--r--drivers/net/s2io.c2
-rw-r--r--drivers/net/sis900.c4
-rw-r--r--drivers/net/skfp/h/smc.h8
-rw-r--r--drivers/net/skfp/skfddi.c2
-rw-r--r--drivers/net/sky2.c2
-rw-r--r--drivers/net/smsc911x.c2
-rw-r--r--drivers/net/smsc911x.h2
-rw-r--r--drivers/net/spider_net.c2
-rw-r--r--drivers/net/stmmac/gmac.c2
-rw-r--r--drivers/net/stmmac/gmac.h4
-rw-r--r--drivers/net/tokenring/ibmtr.c2
-rw-r--r--drivers/net/tokenring/smctr.c2
-rw-r--r--drivers/net/ucc_geth.c2
-rw-r--r--drivers/net/ucc_geth.h20
-rw-r--r--drivers/net/usb/smsc95xx.c2
-rw-r--r--drivers/net/wan/hdlc_fr.c2
-rw-r--r--drivers/net/wan/lmc/lmc_main.c2
-rw-r--r--drivers/net/wimax/i2400m/rx.c2
-rw-r--r--drivers/net/wireless/ath/ath5k/base.h4
-rw-r--r--drivers/net/wireless/ath/ath5k/eeprom.c2
-rw-r--r--drivers/net/wireless/ath/ath5k/phy.c6
-rw-r--r--drivers/net/wireless/ath/ath9k/rc.c2
-rw-r--r--drivers/net/wireless/b43/main.c2
-rw-r--r--drivers/net/wireless/b43legacy/main.c2
-rw-r--r--drivers/net/wireless/ipw2x00/ipw2100.c6
-rw-r--r--drivers/net/wireless/ipw2x00/ipw2200.c8
-rw-r--r--drivers/net/wireless/ipw2x00/libipw_module.c2
-rw-r--r--drivers/net/wireless/iwmc3200wifi/hal.c2
-rw-r--r--drivers/net/wireless/iwmc3200wifi/rx.c2
-rw-r--r--drivers/net/wireless/libertas/if_sdio.c2
-rw-r--r--drivers/net/wireless/orinoco/hermes_dld.c4
-rw-r--r--drivers/net/wireless/prism54/isl_ioctl.c4
-rw-r--r--drivers/net/wireless/rt2x00/rt2400pci.h2
-rw-r--r--drivers/net/wireless/rt2x00/rt2500pci.h2
-rw-r--r--drivers/net/wireless/rt2x00/rt2500usb.h2
-rw-r--r--drivers/net/wireless/rt2x00/rt61pci.h2
-rw-r--r--drivers/net/wireless/rt2x00/rt73usb.h2
-rw-r--r--drivers/net/wireless/wavelan_cs.c2
-rw-r--r--drivers/net/wireless/zd1211rw/zd_mac.c2
61 files changed, 91 insertions, 86 deletions
diff --git a/drivers/net/82596.c b/drivers/net/82596.c
index ea6b139b812..1663bc9e45d 100644
--- a/drivers/net/82596.c
+++ b/drivers/net/82596.c
@@ -19,7 +19,7 @@
19 TBD: 19 TBD:
20 * look at deferring rx frames rather than discarding (as per tulip) 20 * look at deferring rx frames rather than discarding (as per tulip)
21 * handle tx ring full as per tulip 21 * handle tx ring full as per tulip
22 * performace test to tune rx_copybreak 22 * performance test to tune rx_copybreak
23 23
24 Most of my modifications relate to the braindead big-endian 24 Most of my modifications relate to the braindead big-endian
25 implementation by Intel. When the i596 is operating in 25 implementation by Intel. When the i596 is operating in
diff --git a/drivers/net/amd8111e.c b/drivers/net/amd8111e.c
index 4e6359fff0e..766aabfdfc7 100644
--- a/drivers/net/amd8111e.c
+++ b/drivers/net/amd8111e.c
@@ -1633,8 +1633,13 @@ static int amd8111e_enable_link_change(struct amd8111e_priv* lp)
1633 readl(lp->mmio + CMD7); 1633 readl(lp->mmio + CMD7);
1634 return 0; 1634 return 0;
1635} 1635}
1636/* This function is called when a packet transmission fails to complete within a resonable period, on the assumption that an interrupts have been failed or the interface is locked up. This function will reinitialize the hardware */
1637 1636
1637/*
1638 * This function is called when a packet transmission fails to complete
1639 * within a reasonable period, on the assumption that an interrupt have
1640 * failed or the interface is locked up. This function will reinitialize
1641 * the hardware.
1642 */
1638static void amd8111e_tx_timeout(struct net_device *dev) 1643static void amd8111e_tx_timeout(struct net_device *dev)
1639{ 1644{
1640 struct amd8111e_priv* lp = netdev_priv(dev); 1645 struct amd8111e_priv* lp = netdev_priv(dev);
diff --git a/drivers/net/appletalk/cops.c b/drivers/net/appletalk/cops.c
index b5dc7f55072..9d828aed968 100644
--- a/drivers/net/appletalk/cops.c
+++ b/drivers/net/appletalk/cops.c
@@ -120,7 +120,7 @@ static int irq = 5; /* Default IRQ */
120 * DAYNA driver mode: 120 * DAYNA driver mode:
121 * Dayna DL2000/DaynaTalk PC (Half Length), COPS LT-95, 121 * Dayna DL2000/DaynaTalk PC (Half Length), COPS LT-95,
122 * Farallon PhoneNET PC III, Farallon PhoneNET PC II 122 * Farallon PhoneNET PC III, Farallon PhoneNET PC II
123 * Other cards possibly supported mode unkown though: 123 * Other cards possibly supported mode unknown though:
124 * Dayna DL2000 (Full length), COPS LT/M (Micro-Channel) 124 * Dayna DL2000 (Full length), COPS LT/M (Micro-Channel)
125 * 125 *
126 * Cards NOT supported by this driver but supported by the ltpc.c 126 * Cards NOT supported by this driver but supported by the ltpc.c
diff --git a/drivers/net/ariadne.h b/drivers/net/ariadne.h
index bb613f292e0..727be5cdd1e 100644
--- a/drivers/net/ariadne.h
+++ b/drivers/net/ariadne.h
@@ -244,7 +244,7 @@ struct Am79C960 {
244#define DLNKTST 0x0010 /* Disable Link Status */ 244#define DLNKTST 0x0010 /* Disable Link Status */
245#define DAPC 0x0008 /* Disable Automatic Polarity Correction */ 245#define DAPC 0x0008 /* Disable Automatic Polarity Correction */
246#define MENDECL 0x0004 /* MENDEC Loopback Mode */ 246#define MENDECL 0x0004 /* MENDEC Loopback Mode */
247#define LRTTSEL 0x0002 /* Low Receive Treshold/Transmit Mode Select */ 247#define LRTTSEL 0x0002 /* Low Receive Threshold/Transmit Mode Select */
248#define PORTSEL1 0x0001 /* Port Select Bits */ 248#define PORTSEL1 0x0001 /* Port Select Bits */
249#define PORTSEL2 0x8000 /* Port Select Bits */ 249#define PORTSEL2 0x8000 /* Port Select Bits */
250#define INTL 0x4000 /* Internal Loopback */ 250#define INTL 0x4000 /* Internal Loopback */
diff --git a/drivers/net/atl1c/atl1c_main.c b/drivers/net/atl1c/atl1c_main.c
index 1372e9a99f5..96506eacc13 100644
--- a/drivers/net/atl1c/atl1c_main.c
+++ b/drivers/net/atl1c/atl1c_main.c
@@ -1543,7 +1543,7 @@ static irqreturn_t atl1c_intr(int irq, void *data)
1543 if (status & ISR_OVER) 1543 if (status & ISR_OVER)
1544 if (netif_msg_intr(adapter)) 1544 if (netif_msg_intr(adapter))
1545 dev_warn(&pdev->dev, 1545 dev_warn(&pdev->dev,
1546 "TX/RX over flow (status = 0x%x)\n", 1546 "TX/RX overflow (status = 0x%x)\n",
1547 status & ISR_OVER); 1547 status & ISR_OVER);
1548 1548
1549 /* link event */ 1549 /* link event */
diff --git a/drivers/net/benet/be_cmds.h b/drivers/net/benet/be_cmds.h
index e5f9676cf1b..21f40779f52 100644
--- a/drivers/net/benet/be_cmds.h
+++ b/drivers/net/benet/be_cmds.h
@@ -435,7 +435,7 @@ enum be_if_flags {
435 * filtering capabilities. */ 435 * filtering capabilities. */
436struct be_cmd_req_if_create { 436struct be_cmd_req_if_create {
437 struct be_cmd_req_hdr hdr; 437 struct be_cmd_req_hdr hdr;
438 u32 version; /* ignore currntly */ 438 u32 version; /* ignore currently */
439 u32 capability_flags; 439 u32 capability_flags;
440 u32 enable_flags; 440 u32 enable_flags;
441 u8 mac_addr[ETH_ALEN]; 441 u8 mac_addr[ETH_ALEN];
diff --git a/drivers/net/benet/be_main.c b/drivers/net/benet/be_main.c
index 876b357101f..c3a7db326c9 100644
--- a/drivers/net/benet/be_main.c
+++ b/drivers/net/benet/be_main.c
@@ -1877,7 +1877,7 @@ int be_load_fw(struct be_adapter *adapter, u8 *func)
1877 goto fw_exit; 1877 goto fw_exit;
1878 } 1878 }
1879 1879
1880 dev_info(&adapter->pdev->dev, "Firmware flashed succesfully\n"); 1880 dev_info(&adapter->pdev->dev, "Firmware flashed successfully\n");
1881 1881
1882fw_exit: 1882fw_exit:
1883 release_firmware(fw); 1883 release_firmware(fw);
diff --git a/drivers/net/bnx2x_reg.h b/drivers/net/bnx2x_reg.h
index aa76cbada5e..732eafdeb0f 100644
--- a/drivers/net/bnx2x_reg.h
+++ b/drivers/net/bnx2x_reg.h
@@ -2536,7 +2536,7 @@
2536/* [RC 1] A flag to indicate that overflow error occurred in one of the 2536/* [RC 1] A flag to indicate that overflow error occurred in one of the
2537 queues. */ 2537 queues. */
2538#define QM_REG_OVFERROR 0x16805c 2538#define QM_REG_OVFERROR 0x16805c
2539/* [RC 7] the Q were the qverflow occurs */ 2539/* [RC 7] the Q where the overflow occurs */
2540#define QM_REG_OVFQNUM 0x168058 2540#define QM_REG_OVFQNUM 0x168058
2541/* [R 16] Pause state for physical queues 15-0 */ 2541/* [R 16] Pause state for physical queues 15-0 */
2542#define QM_REG_PAUSESTATE0 0x168410 2542#define QM_REG_PAUSESTATE0 0x168410
diff --git a/drivers/net/bonding/bond_alb.c b/drivers/net/bonding/bond_alb.c
index 9b5936f072d..a1e7eb92bbf 100644
--- a/drivers/net/bonding/bond_alb.c
+++ b/drivers/net/bonding/bond_alb.c
@@ -559,7 +559,7 @@ static void rlb_update_rx_clients(struct bonding *bond)
559 } 559 }
560 } 560 }
561 561
562 /* do not update the entries again untill this counter is zero so that 562 /* do not update the entries again until this counter is zero so that
563 * not to confuse the clients. 563 * not to confuse the clients.
564 */ 564 */
565 bond_info->rlb_update_delay_counter = RLB_UPDATE_DELAY; 565 bond_info->rlb_update_delay_counter = RLB_UPDATE_DELAY;
diff --git a/drivers/net/cxgb3/sge.c b/drivers/net/cxgb3/sge.c
index 6366061712f..b8d92c6f3dd 100644
--- a/drivers/net/cxgb3/sge.c
+++ b/drivers/net/cxgb3/sge.c
@@ -1285,7 +1285,7 @@ netdev_tx_t t3_eth_xmit(struct sk_buff *skb, struct net_device *dev)
1285 1285
1286 /* 1286 /*
1287 * We do not use Tx completion interrupts to free DMAd Tx packets. 1287 * We do not use Tx completion interrupts to free DMAd Tx packets.
1288 * This is good for performamce but means that we rely on new Tx 1288 * This is good for performance but means that we rely on new Tx
1289 * packets arriving to run the destructors of completed packets, 1289 * packets arriving to run the destructors of completed packets,
1290 * which open up space in their sockets' send queues. Sometimes 1290 * which open up space in their sockets' send queues. Sometimes
1291 * we do not get such new packets causing Tx to stall. A single 1291 * we do not get such new packets causing Tx to stall. A single
diff --git a/drivers/net/ehea/ehea_ethtool.c b/drivers/net/ehea/ehea_ethtool.c
index d7688522336..75b099ce49c 100644
--- a/drivers/net/ehea/ehea_ethtool.c
+++ b/drivers/net/ehea/ehea_ethtool.c
@@ -118,7 +118,7 @@ doit:
118 ret = ehea_set_portspeed(port, sp); 118 ret = ehea_set_portspeed(port, sp);
119 119
120 if (!ret) 120 if (!ret)
121 ehea_info("%s: Port speed succesfully set: %dMbps " 121 ehea_info("%s: Port speed successfully set: %dMbps "
122 "%s Duplex", 122 "%s Duplex",
123 port->netdev->name, port->port_speed, 123 port->netdev->name, port->port_speed,
124 port->full_duplex == 1 ? "Full" : "Half"); 124 port->full_duplex == 1 ? "Full" : "Half");
@@ -134,7 +134,7 @@ static int ehea_nway_reset(struct net_device *dev)
134 ret = ehea_set_portspeed(port, EHEA_SPEED_AUTONEG); 134 ret = ehea_set_portspeed(port, EHEA_SPEED_AUTONEG);
135 135
136 if (!ret) 136 if (!ret)
137 ehea_info("%s: Port speed succesfully set: %dMbps " 137 ehea_info("%s: Port speed successfully set: %dMbps "
138 "%s Duplex", 138 "%s Duplex",
139 port->netdev->name, port->port_speed, 139 port->netdev->name, port->port_speed,
140 port->full_duplex == 1 ? "Full" : "Half"); 140 port->full_duplex == 1 ? "Full" : "Half");
diff --git a/drivers/net/hamradio/baycom_ser_fdx.c b/drivers/net/hamradio/baycom_ser_fdx.c
index ed60fd66427..0cab992b3d1 100644
--- a/drivers/net/hamradio/baycom_ser_fdx.c
+++ b/drivers/net/hamradio/baycom_ser_fdx.c
@@ -35,7 +35,7 @@
35 * driver only supports standard serial hardware (8250, 16450, 16550A) 35 * driver only supports standard serial hardware (8250, 16450, 16550A)
36 * 36 *
37 * This modem usually draws its supply current out of the otherwise unused 37 * This modem usually draws its supply current out of the otherwise unused
38 * TXD pin of the serial port. Thus a contignuous stream of 0x00-bytes 38 * TXD pin of the serial port. Thus a contiguous stream of 0x00-bytes
39 * is transmitted to achieve a positive supply voltage. 39 * is transmitted to achieve a positive supply voltage.
40 * 40 *
41 * hsk: This is a 4800 baud FSK modem, designed for TNC use. It works fine 41 * hsk: This is a 4800 baud FSK modem, designed for TNC use. It works fine
diff --git a/drivers/net/irda/smsc-ircc2.c b/drivers/net/irda/smsc-ircc2.c
index 1e8dd8c74a6..8f7d0d146f2 100644
--- a/drivers/net/irda/smsc-ircc2.c
+++ b/drivers/net/irda/smsc-ircc2.c
@@ -115,7 +115,7 @@ struct smsc_ircc_subsystem_configuration {
115 unsigned short vendor; /* PCI vendor ID */ 115 unsigned short vendor; /* PCI vendor ID */
116 unsigned short device; /* PCI vendor ID */ 116 unsigned short device; /* PCI vendor ID */
117 unsigned short subvendor; /* PCI subsystem vendor ID */ 117 unsigned short subvendor; /* PCI subsystem vendor ID */
118 unsigned short subdevice; /* PCI sybsystem device ID */ 118 unsigned short subdevice; /* PCI subsystem device ID */
119 unsigned short sir_io; /* I/O port for SIR */ 119 unsigned short sir_io; /* I/O port for SIR */
120 unsigned short fir_io; /* I/O port for FIR */ 120 unsigned short fir_io; /* I/O port for FIR */
121 unsigned char fir_irq; /* FIR IRQ */ 121 unsigned char fir_irq; /* FIR IRQ */
diff --git a/drivers/net/iseries_veth.c b/drivers/net/iseries_veth.c
index aa7286bc436..8739ba850f8 100644
--- a/drivers/net/iseries_veth.c
+++ b/drivers/net/iseries_veth.c
@@ -1384,7 +1384,7 @@ static inline void veth_build_dma_list(struct dma_chunk *list,
1384 unsigned long done; 1384 unsigned long done;
1385 int i = 1; 1385 int i = 1;
1386 1386
1387 /* FIXME: skbs are continguous in real addresses. Do we 1387 /* FIXME: skbs are contiguous in real addresses. Do we
1388 * really need to break it into PAGE_SIZE chunks, or can we do 1388 * really need to break it into PAGE_SIZE chunks, or can we do
1389 * it just at the granularity of iSeries real->absolute 1389 * it just at the granularity of iSeries real->absolute
1390 * mapping? Indeed, given the way the allocator works, can we 1390 * mapping? Indeed, given the way the allocator works, can we
diff --git a/drivers/net/lasi_82596.c b/drivers/net/lasi_82596.c
index a0c578585a5..b77238dbafb 100644
--- a/drivers/net/lasi_82596.c
+++ b/drivers/net/lasi_82596.c
@@ -47,7 +47,7 @@
47 TBD: 47 TBD:
48 * look at deferring rx frames rather than discarding (as per tulip) 48 * look at deferring rx frames rather than discarding (as per tulip)
49 * handle tx ring full as per tulip 49 * handle tx ring full as per tulip
50 * performace test to tune rx_copybreak 50 * performance test to tune rx_copybreak
51 51
52 Most of my modifications relate to the braindead big-endian 52 Most of my modifications relate to the braindead big-endian
53 implementation by Intel. When the i596 is operating in 53 implementation by Intel. When the i596 is operating in
diff --git a/drivers/net/lib82596.c b/drivers/net/lib82596.c
index 51e11c3e53e..c0dbfc185b5 100644
--- a/drivers/net/lib82596.c
+++ b/drivers/net/lib82596.c
@@ -47,7 +47,7 @@
47 TBD: 47 TBD:
48 * look at deferring rx frames rather than discarding (as per tulip) 48 * look at deferring rx frames rather than discarding (as per tulip)
49 * handle tx ring full as per tulip 49 * handle tx ring full as per tulip
50 * performace test to tune rx_copybreak 50 * performance test to tune rx_copybreak
51 51
52 Most of my modifications relate to the braindead big-endian 52 Most of my modifications relate to the braindead big-endian
53 implementation by Intel. When the i596 is operating in 53 implementation by Intel. When the i596 is operating in
diff --git a/drivers/net/mlx4/en_rx.c b/drivers/net/mlx4/en_rx.c
index 03b781a7a18..829b9ec9ff6 100644
--- a/drivers/net/mlx4/en_rx.c
+++ b/drivers/net/mlx4/en_rx.c
@@ -204,7 +204,7 @@ static void mlx4_en_free_rx_desc(struct mlx4_en_priv *priv,
204 en_dbg(DRV, priv, "Freeing fragment:%d\n", nr); 204 en_dbg(DRV, priv, "Freeing fragment:%d\n", nr);
205 dma = be64_to_cpu(rx_desc->data[nr].addr); 205 dma = be64_to_cpu(rx_desc->data[nr].addr);
206 206
207 en_dbg(DRV, priv, "Unmaping buffer at dma:0x%llx\n", (u64) dma); 207 en_dbg(DRV, priv, "Unmapping buffer at dma:0x%llx\n", (u64) dma);
208 pci_unmap_single(mdev->pdev, dma, skb_frags[nr].size, 208 pci_unmap_single(mdev->pdev, dma, skb_frags[nr].size,
209 PCI_DMA_FROMDEVICE); 209 PCI_DMA_FROMDEVICE);
210 put_page(skb_frags[nr].page); 210 put_page(skb_frags[nr].page);
diff --git a/drivers/net/mlx4/en_tx.c b/drivers/net/mlx4/en_tx.c
index 8c7279965b4..3d1396af946 100644
--- a/drivers/net/mlx4/en_tx.c
+++ b/drivers/net/mlx4/en_tx.c
@@ -47,7 +47,7 @@ enum {
47static int inline_thold __read_mostly = MAX_INLINE; 47static int inline_thold __read_mostly = MAX_INLINE;
48 48
49module_param_named(inline_thold, inline_thold, int, 0444); 49module_param_named(inline_thold, inline_thold, int, 0444);
50MODULE_PARM_DESC(inline_thold, "treshold for using inline data"); 50MODULE_PARM_DESC(inline_thold, "threshold for using inline data");
51 51
52int mlx4_en_create_tx_ring(struct mlx4_en_priv *priv, 52int mlx4_en_create_tx_ring(struct mlx4_en_priv *priv,
53 struct mlx4_en_tx_ring *ring, u32 size, 53 struct mlx4_en_tx_ring *ring, u32 size,
diff --git a/drivers/net/mlx4/mlx4_en.h b/drivers/net/mlx4/mlx4_en.h
index 4376147b0ea..82c3ebc584e 100644
--- a/drivers/net/mlx4/mlx4_en.h
+++ b/drivers/net/mlx4/mlx4_en.h
@@ -162,7 +162,7 @@ enum {
162#define MLX4_EN_DEF_RX_PAUSE 1 162#define MLX4_EN_DEF_RX_PAUSE 1
163#define MLX4_EN_DEF_TX_PAUSE 1 163#define MLX4_EN_DEF_TX_PAUSE 1
164 164
165/* Interval between sucessive polls in the Tx routine when polling is used 165/* Interval between successive polls in the Tx routine when polling is used
166 instead of interrupts (in per-core Tx rings) - should be power of 2 */ 166 instead of interrupts (in per-core Tx rings) - should be power of 2 */
167#define MLX4_EN_TX_POLL_MODER 16 167#define MLX4_EN_TX_POLL_MODER 16
168#define MLX4_EN_TX_POLL_TIMEOUT (HZ / 4) 168#define MLX4_EN_TX_POLL_TIMEOUT (HZ / 4)
diff --git a/drivers/net/ps3_gelic_net.c b/drivers/net/ps3_gelic_net.c
index b211613e9db..86fde1a90a5 100644
--- a/drivers/net/ps3_gelic_net.c
+++ b/drivers/net/ps3_gelic_net.c
@@ -296,7 +296,7 @@ static void gelic_card_reset_chain(struct gelic_card *card,
296 * @card: card structure 296 * @card: card structure
297 * @descr: descriptor to re-init 297 * @descr: descriptor to re-init
298 * 298 *
299 * return 0 on succes, <0 on failure 299 * return 0 on success, <0 on failure
300 * 300 *
301 * allocates a new rx skb, iommu-maps it and attaches it to the descriptor. 301 * allocates a new rx skb, iommu-maps it and attaches it to the descriptor.
302 * Activate the descriptor state-wise 302 * Activate the descriptor state-wise
diff --git a/drivers/net/ps3_gelic_wireless.h b/drivers/net/ps3_gelic_wireless.h
index 5b631c6c977..0a88b535197 100644
--- a/drivers/net/ps3_gelic_wireless.h
+++ b/drivers/net/ps3_gelic_wireless.h
@@ -199,7 +199,7 @@ struct gelic_eurus_rssi_info {
199/* for 'stat' member of gelic_wl_info */ 199/* for 'stat' member of gelic_wl_info */
200enum gelic_wl_info_status_bit { 200enum gelic_wl_info_status_bit {
201 GELIC_WL_STAT_CONFIGURED, 201 GELIC_WL_STAT_CONFIGURED,
202 GELIC_WL_STAT_CH_INFO, /* ch info aquired */ 202 GELIC_WL_STAT_CH_INFO, /* ch info acquired */
203 GELIC_WL_STAT_ESSID_SET, /* ESSID specified by userspace */ 203 GELIC_WL_STAT_ESSID_SET, /* ESSID specified by userspace */
204 GELIC_WL_STAT_BSSID_SET, /* BSSID specified by userspace */ 204 GELIC_WL_STAT_BSSID_SET, /* BSSID specified by userspace */
205 GELIC_WL_STAT_WPA_PSK_SET, /* PMK specified by userspace */ 205 GELIC_WL_STAT_WPA_PSK_SET, /* PMK specified by userspace */
diff --git a/drivers/net/qla3xxx.c b/drivers/net/qla3xxx.c
index 4c610511eb4..f72643313ba 100644
--- a/drivers/net/qla3xxx.c
+++ b/drivers/net/qla3xxx.c
@@ -3651,7 +3651,7 @@ static int ql_adapter_up(struct ql3_adapter *qdev)
3651 ql_sem_unlock(qdev, QL_DRVR_SEM_MASK); 3651 ql_sem_unlock(qdev, QL_DRVR_SEM_MASK);
3652 } else { 3652 } else {
3653 printk(KERN_ERR PFX 3653 printk(KERN_ERR PFX
3654 "%s: Could not aquire driver lock.\n", 3654 "%s: Could not acquire driver lock.\n",
3655 ndev->name); 3655 ndev->name);
3656 goto err_lock; 3656 goto err_lock;
3657 } 3657 }
diff --git a/drivers/net/s2io.c b/drivers/net/s2io.c
index 0dd7839322b..cc4218667cb 100644
--- a/drivers/net/s2io.c
+++ b/drivers/net/s2io.c
@@ -3238,7 +3238,7 @@ static u64 s2io_mdio_read(u32 mmd_type, u64 addr, struct net_device *dev)
3238 3238
3239/** 3239/**
3240 * s2io_chk_xpak_counter - Function to check the status of the xpak counters 3240 * s2io_chk_xpak_counter - Function to check the status of the xpak counters
3241 * @counter : couter value to be updated 3241 * @counter : counter value to be updated
3242 * @flag : flag to indicate the status 3242 * @flag : flag to indicate the status
3243 * @type : counter type 3243 * @type : counter type
3244 * Description: 3244 * Description:
diff --git a/drivers/net/sis900.c b/drivers/net/sis900.c
index c072f7f36ac..9d94a141555 100644
--- a/drivers/net/sis900.c
+++ b/drivers/net/sis900.c
@@ -1760,7 +1760,7 @@ static int sis900_rx(struct net_device *net_dev)
1760 sis_priv->rx_ring[entry].bufptr, RX_BUF_SIZE, 1760 sis_priv->rx_ring[entry].bufptr, RX_BUF_SIZE,
1761 PCI_DMA_FROMDEVICE); 1761 PCI_DMA_FROMDEVICE);
1762 1762
1763 /* refill the Rx buffer, what if there is not enought 1763 /* refill the Rx buffer, what if there is not enough
1764 * memory for new socket buffer ?? */ 1764 * memory for new socket buffer ?? */
1765 if ((skb = dev_alloc_skb(RX_BUF_SIZE)) == NULL) { 1765 if ((skb = dev_alloc_skb(RX_BUF_SIZE)) == NULL) {
1766 /* 1766 /*
@@ -1775,7 +1775,7 @@ static int sis900_rx(struct net_device *net_dev)
1775 } 1775 }
1776 1776
1777 /* This situation should never happen, but due to 1777 /* This situation should never happen, but due to
1778 some unknow bugs, it is possible that 1778 some unknown bugs, it is possible that
1779 we are working on NULL sk_buff :-( */ 1779 we are working on NULL sk_buff :-( */
1780 if (sis_priv->rx_skbuff[entry] == NULL) { 1780 if (sis_priv->rx_skbuff[entry] == NULL) {
1781 if (netif_msg_rx_err(sis_priv)) 1781 if (netif_msg_rx_err(sis_priv))
diff --git a/drivers/net/skfp/h/smc.h b/drivers/net/skfp/h/smc.h
index 1758d954836..026a83b9f74 100644
--- a/drivers/net/skfp/h/smc.h
+++ b/drivers/net/skfp/h/smc.h
@@ -393,10 +393,10 @@ struct smt_config {
393 */ 393 */
394 u_long mac_d_max ; /* MAC : D_Max timer value */ 394 u_long mac_d_max ; /* MAC : D_Max timer value */
395 395
396 u_long lct_short ; /* LCT : error threshhold */ 396 u_long lct_short ; /* LCT : error threshold */
397 u_long lct_medium ; /* LCT : error threshhold */ 397 u_long lct_medium ; /* LCT : error threshold */
398 u_long lct_long ; /* LCT : error threshhold */ 398 u_long lct_long ; /* LCT : error threshold */
399 u_long lct_extended ; /* LCT : error threshhold */ 399 u_long lct_extended ; /* LCT : error threshold */
400} ; 400} ;
401 401
402#ifdef DEBUG 402#ifdef DEBUG
diff --git a/drivers/net/skfp/skfddi.c b/drivers/net/skfp/skfddi.c
index b27156eaf26..db216a72850 100644
--- a/drivers/net/skfp/skfddi.c
+++ b/drivers/net/skfp/skfddi.c
@@ -1002,7 +1002,7 @@ static int skfp_ioctl(struct net_device *dev, struct ifreq *rq, int cmd)
1002 } 1002 }
1003 break; 1003 break;
1004 default: 1004 default:
1005 printk("ioctl for %s: unknow cmd: %04x\n", dev->name, ioc.cmd); 1005 printk("ioctl for %s: unknown cmd: %04x\n", dev->name, ioc.cmd);
1006 status = -EOPNOTSUPP; 1006 status = -EOPNOTSUPP;
1007 1007
1008 } // switch 1008 } // switch
diff --git a/drivers/net/sky2.c b/drivers/net/sky2.c
index 6a10d7ba587..a76cd66c228 100644
--- a/drivers/net/sky2.c
+++ b/drivers/net/sky2.c
@@ -1975,7 +1975,7 @@ static void sky2_link_down(struct sky2_port *sky2)
1975 1975
1976 netif_carrier_off(sky2->netdev); 1976 netif_carrier_off(sky2->netdev);
1977 1977
1978 /* Turn on link LED */ 1978 /* Turn off link LED */
1979 sky2_write8(hw, SK_REG(port, LNK_LED_REG), LINKLED_OFF); 1979 sky2_write8(hw, SK_REG(port, LNK_LED_REG), LINKLED_OFF);
1980 1980
1981 if (netif_msg_link(sky2)) 1981 if (netif_msg_link(sky2))
diff --git a/drivers/net/smsc911x.c b/drivers/net/smsc911x.c
index f9cdcbcb77d..24954fecf3d 100644
--- a/drivers/net/smsc911x.c
+++ b/drivers/net/smsc911x.c
@@ -816,7 +816,7 @@ static int smsc911x_mii_probe(struct net_device *dev)
816 SMSC_TRACE(HW, "Passed Loop Back Test"); 816 SMSC_TRACE(HW, "Passed Loop Back Test");
817#endif /* USE_PHY_WORK_AROUND */ 817#endif /* USE_PHY_WORK_AROUND */
818 818
819 SMSC_TRACE(HW, "phy initialised succesfully"); 819 SMSC_TRACE(HW, "phy initialised successfully");
820 return 0; 820 return 0;
821} 821}
822 822
diff --git a/drivers/net/smsc911x.h b/drivers/net/smsc911x.h
index b5716bd8a59..016360c65ce 100644
--- a/drivers/net/smsc911x.h
+++ b/drivers/net/smsc911x.h
@@ -30,7 +30,7 @@
30#define SMSC_NAPI_WEIGHT 16 30#define SMSC_NAPI_WEIGHT 16
31 31
32/* implements a PHY loopback test at initialisation time, to ensure a packet 32/* implements a PHY loopback test at initialisation time, to ensure a packet
33 * can be succesfully looped back */ 33 * can be successfully looped back */
34#define USE_PHY_WORK_AROUND 34#define USE_PHY_WORK_AROUND
35 35
36#define DPRINTK(nlevel, klevel, fmt, args...) \ 36#define DPRINTK(nlevel, klevel, fmt, args...) \
diff --git a/drivers/net/spider_net.c b/drivers/net/spider_net.c
index 90e663f4515..40b51e6bc77 100644
--- a/drivers/net/spider_net.c
+++ b/drivers/net/spider_net.c
@@ -409,7 +409,7 @@ spider_net_free_rx_chain_contents(struct spider_net_card *card)
409 * @card: card structure 409 * @card: card structure
410 * @descr: descriptor to re-init 410 * @descr: descriptor to re-init
411 * 411 *
412 * Return 0 on succes, <0 on failure. 412 * Return 0 on success, <0 on failure.
413 * 413 *
414 * Allocates a new rx skb, iommu-maps it and attaches it to the 414 * Allocates a new rx skb, iommu-maps it and attaches it to the
415 * descriptor. Mark the descriptor as activated, ready-to-use. 415 * descriptor. Mark the descriptor as activated, ready-to-use.
diff --git a/drivers/net/stmmac/gmac.c b/drivers/net/stmmac/gmac.c
index b624bb5bae0..52586ee6895 100644
--- a/drivers/net/stmmac/gmac.c
+++ b/drivers/net/stmmac/gmac.c
@@ -112,7 +112,7 @@ static void gmac_dma_operation_mode(unsigned long ioaddr, int txmode,
112 " (threshold = %d)\n", txmode); 112 " (threshold = %d)\n", txmode);
113 csr6 &= ~DMA_CONTROL_TSF; 113 csr6 &= ~DMA_CONTROL_TSF;
114 csr6 &= DMA_CONTROL_TC_TX_MASK; 114 csr6 &= DMA_CONTROL_TC_TX_MASK;
115 /* Set the transmit threashold */ 115 /* Set the transmit threshold */
116 if (txmode <= 32) 116 if (txmode <= 32)
117 csr6 |= DMA_CONTROL_TTC_32; 117 csr6 |= DMA_CONTROL_TTC_32;
118 else if (txmode <= 64) 118 else if (txmode <= 64)
diff --git a/drivers/net/stmmac/gmac.h b/drivers/net/stmmac/gmac.h
index 684a363120a..2e82d6c9a14 100644
--- a/drivers/net/stmmac/gmac.h
+++ b/drivers/net/stmmac/gmac.h
@@ -154,14 +154,14 @@ enum rx_tx_priority_ratio {
154#define DMA_CONTROL_DT 0x04000000 /* Disable Drop TCP/IP csum error */ 154#define DMA_CONTROL_DT 0x04000000 /* Disable Drop TCP/IP csum error */
155#define DMA_CONTROL_RSF 0x02000000 /* Receive Store and Forward */ 155#define DMA_CONTROL_RSF 0x02000000 /* Receive Store and Forward */
156#define DMA_CONTROL_DFF 0x01000000 /* Disaable flushing */ 156#define DMA_CONTROL_DFF 0x01000000 /* Disaable flushing */
157/* Theshold for Activating the FC */ 157/* Threshold for Activating the FC */
158enum rfa { 158enum rfa {
159 act_full_minus_1 = 0x00800000, 159 act_full_minus_1 = 0x00800000,
160 act_full_minus_2 = 0x00800200, 160 act_full_minus_2 = 0x00800200,
161 act_full_minus_3 = 0x00800400, 161 act_full_minus_3 = 0x00800400,
162 act_full_minus_4 = 0x00800600, 162 act_full_minus_4 = 0x00800600,
163}; 163};
164/* Theshold for Deactivating the FC */ 164/* Threshold for Deactivating the FC */
165enum rfd { 165enum rfd {
166 deac_full_minus_1 = 0x00400000, 166 deac_full_minus_1 = 0x00400000,
167 deac_full_minus_2 = 0x00400800, 167 deac_full_minus_2 = 0x00400800,
diff --git a/drivers/net/tokenring/ibmtr.c b/drivers/net/tokenring/ibmtr.c
index 75fa32e34fd..685cc3a4d2a 100644
--- a/drivers/net/tokenring/ibmtr.c
+++ b/drivers/net/tokenring/ibmtr.c
@@ -96,7 +96,7 @@
96 * 96 *
97 * Change by Mike Sullivan et al.: 97 * Change by Mike Sullivan et al.:
98 * + added turbo card support. No need to use lanaid to configure 98 * + added turbo card support. No need to use lanaid to configure
99 * the adapter into isa compatiblity mode. 99 * the adapter into isa compatibility mode.
100 * 100 *
101 * Changes by Burt Silverman to allow the computer to behave nicely when 101 * Changes by Burt Silverman to allow the computer to behave nicely when
102 * a cable is pulled or not in place, or a PCMCIA card is removed hot. 102 * a cable is pulled or not in place, or a PCMCIA card is removed hot.
diff --git a/drivers/net/tokenring/smctr.c b/drivers/net/tokenring/smctr.c
index ebda61bc4c2..78e12b5e3ac 100644
--- a/drivers/net/tokenring/smctr.c
+++ b/drivers/net/tokenring/smctr.c
@@ -426,7 +426,7 @@ static int smctr_alloc_shared_memory(struct net_device *dev)
426 smctr_malloc(dev, 1L); 426 smctr_malloc(dev, 1L);
427 427
428 /* Allocate Non-MAC receive data buffers. 428 /* Allocate Non-MAC receive data buffers.
429 * To guarantee a minimum of 256 contigous memory to 429 * To guarantee a minimum of 256 contiguous memory to
430 * UM_Receive_Packet's lookahead pointer, before a page 430 * UM_Receive_Packet's lookahead pointer, before a page
431 * change or ring end is encountered, place each rx buffer on 431 * change or ring end is encountered, place each rx buffer on
432 * a 256 byte boundary. 432 * a 256 byte boundary.
diff --git a/drivers/net/ucc_geth.c b/drivers/net/ucc_geth.c
index 4469f2451a6..5e9adbaf674 100644
--- a/drivers/net/ucc_geth.c
+++ b/drivers/net/ucc_geth.c
@@ -3798,7 +3798,7 @@ static int ucc_geth_probe(struct of_device* ofdev, const struct of_device_id *ma
3798 prop = of_get_property(np, "tx-clock", NULL); 3798 prop = of_get_property(np, "tx-clock", NULL);
3799 if (!prop) { 3799 if (!prop) {
3800 printk(KERN_ERR 3800 printk(KERN_ERR
3801 "ucc_geth: mising tx-clock-name property\n"); 3801 "ucc_geth: missing tx-clock-name property\n");
3802 return -EINVAL; 3802 return -EINVAL;
3803 } 3803 }
3804 if ((*prop < QE_CLK_NONE) || (*prop > QE_CLK24)) { 3804 if ((*prop < QE_CLK_NONE) || (*prop > QE_CLK24)) {
diff --git a/drivers/net/ucc_geth.h b/drivers/net/ucc_geth.h
index 03a6ca016d5..a007e2acf65 100644
--- a/drivers/net/ucc_geth.h
+++ b/drivers/net/ucc_geth.h
@@ -80,16 +80,16 @@ struct ucc_geth {
80 frames) received that were between 128 80 frames) received that were between 128
81 (Including FCS length==4) and 255 octets */ 81 (Including FCS length==4) and 255 octets */
82 u32 txok; /* Total number of octets residing in frames 82 u32 txok; /* Total number of octets residing in frames
83 that where involved in succesfull 83 that where involved in successfull
84 transmission */ 84 transmission */
85 u16 txcf; /* Total number of PAUSE control frames 85 u16 txcf; /* Total number of PAUSE control frames
86 transmitted by this MAC */ 86 transmitted by this MAC */
87 u8 res4[0x2]; 87 u8 res4[0x2];
88 u32 tmca; /* Total number of frames that were transmitted 88 u32 tmca; /* Total number of frames that were transmitted
89 succesfully with the group address bit set 89 successfully with the group address bit set
90 that are not broadcast frames */ 90 that are not broadcast frames */
91 u32 tbca; /* Total number of frames transmitted 91 u32 tbca; /* Total number of frames transmitted
92 succesfully that had destination address 92 successfully that had destination address
93 field equal to the broadcast address */ 93 field equal to the broadcast address */
94 u32 rxfok; /* Total number of frames received OK */ 94 u32 rxfok; /* Total number of frames received OK */
95 u32 rxbok; /* Total number of octets received OK */ 95 u32 rxbok; /* Total number of octets received OK */
@@ -98,9 +98,9 @@ struct ucc_geth {
98 HW because it includes octets in frames that 98 HW because it includes octets in frames that
99 never even reach the UCC */ 99 never even reach the UCC */
100 u32 rmca; /* Total number of frames that were received 100 u32 rmca; /* Total number of frames that were received
101 succesfully with the group address bit set 101 successfully with the group address bit set
102 that are not broadcast frames */ 102 that are not broadcast frames */
103 u32 rbca; /* Total number of frames received succesfully 103 u32 rbca; /* Total number of frames received successfully
104 that had destination address equal to the 104 that had destination address equal to the
105 broadcast address */ 105 broadcast address */
106 u32 scar; /* Statistics carry register */ 106 u32 scar; /* Statistics carry register */
@@ -759,15 +759,15 @@ struct ucc_geth_hardware_statistics {
759 frames) received that were between 128 759 frames) received that were between 128
760 (Including FCS length==4) and 255 octets */ 760 (Including FCS length==4) and 255 octets */
761 u32 txok; /* Total number of octets residing in frames 761 u32 txok; /* Total number of octets residing in frames
762 that where involved in succesfull 762 that where involved in successfull
763 transmission */ 763 transmission */
764 u16 txcf; /* Total number of PAUSE control frames 764 u16 txcf; /* Total number of PAUSE control frames
765 transmitted by this MAC */ 765 transmitted by this MAC */
766 u32 tmca; /* Total number of frames that were transmitted 766 u32 tmca; /* Total number of frames that were transmitted
767 succesfully with the group address bit set 767 successfully with the group address bit set
768 that are not broadcast frames */ 768 that are not broadcast frames */
769 u32 tbca; /* Total number of frames transmitted 769 u32 tbca; /* Total number of frames transmitted
770 succesfully that had destination address 770 successfully that had destination address
771 field equal to the broadcast address */ 771 field equal to the broadcast address */
772 u32 rxfok; /* Total number of frames received OK */ 772 u32 rxfok; /* Total number of frames received OK */
773 u32 rxbok; /* Total number of octets received OK */ 773 u32 rxbok; /* Total number of octets received OK */
@@ -776,9 +776,9 @@ struct ucc_geth_hardware_statistics {
776 HW because it includes octets in frames that 776 HW because it includes octets in frames that
777 never even reach the UCC */ 777 never even reach the UCC */
778 u32 rmca; /* Total number of frames that were received 778 u32 rmca; /* Total number of frames that were received
779 succesfully with the group address bit set 779 successfully with the group address bit set
780 that are not broadcast frames */ 780 that are not broadcast frames */
781 u32 rbca; /* Total number of frames received succesfully 781 u32 rbca; /* Total number of frames received successfully
782 that had destination address equal to the 782 that had destination address equal to the
783 broadcast address */ 783 broadcast address */
784} __attribute__ ((packed)); 784} __attribute__ ((packed));
diff --git a/drivers/net/usb/smsc95xx.c b/drivers/net/usb/smsc95xx.c
index c6c922247d0..0c3c738d741 100644
--- a/drivers/net/usb/smsc95xx.c
+++ b/drivers/net/usb/smsc95xx.c
@@ -748,7 +748,7 @@ static int smsc95xx_phy_initialize(struct usbnet *dev)
748 mii_nway_restart(&dev->mii); 748 mii_nway_restart(&dev->mii);
749 749
750 if (netif_msg_ifup(dev)) 750 if (netif_msg_ifup(dev))
751 devdbg(dev, "phy initialised succesfully"); 751 devdbg(dev, "phy initialised successfully");
752 return 0; 752 return 0;
753} 753}
754 754
diff --git a/drivers/net/wan/hdlc_fr.c b/drivers/net/wan/hdlc_fr.c
index 840cff72a0f..4d4c543c146 100644
--- a/drivers/net/wan/hdlc_fr.c
+++ b/drivers/net/wan/hdlc_fr.c
@@ -182,7 +182,7 @@ static inline pvc_device* find_pvc(hdlc_device *hdlc, u16 dlci)
182 if (pvc->dlci == dlci) 182 if (pvc->dlci == dlci)
183 return pvc; 183 return pvc;
184 if (pvc->dlci > dlci) 184 if (pvc->dlci > dlci)
185 return NULL; /* the listed is sorted */ 185 return NULL; /* the list is sorted */
186 pvc = pvc->next; 186 pvc = pvc->next;
187 } 187 }
188 188
diff --git a/drivers/net/wan/lmc/lmc_main.c b/drivers/net/wan/lmc/lmc_main.c
index 7ea71b33d2e..ee784e091f6 100644
--- a/drivers/net/wan/lmc/lmc_main.c
+++ b/drivers/net/wan/lmc/lmc_main.c
@@ -927,7 +927,7 @@ static int __devinit lmc_init_one(struct pci_dev *pdev,
927 sc->lmc_media = &lmc_t1_media; 927 sc->lmc_media = &lmc_t1_media;
928 break; 928 break;
929 default: 929 default:
930 printk(KERN_WARNING "%s: LMC UNKOWN CARD!\n", dev->name); 930 printk(KERN_WARNING "%s: LMC UNKNOWN CARD!\n", dev->name);
931 break; 931 break;
932 } 932 }
933 933
diff --git a/drivers/net/wimax/i2400m/rx.c b/drivers/net/wimax/i2400m/rx.c
index 07c32e68909..99d27473ba3 100644
--- a/drivers/net/wimax/i2400m/rx.c
+++ b/drivers/net/wimax/i2400m/rx.c
@@ -1114,7 +1114,7 @@ error:
1114 * device. See the file header for the format. Run all checks on the 1114 * device. See the file header for the format. Run all checks on the
1115 * buffer header, then run over each payload's descriptors, verify 1115 * buffer header, then run over each payload's descriptors, verify
1116 * their consistency and act on each payload's contents. If 1116 * their consistency and act on each payload's contents. If
1117 * everything is succesful, update the device's statistics. 1117 * everything is successful, update the device's statistics.
1118 * 1118 *
1119 * Note: You need to set the skb to contain only the length of the 1119 * Note: You need to set the skb to contain only the length of the
1120 * received buffer; for that, use skb_trim(skb, RECEIVED_SIZE). 1120 * received buffer; for that, use skb_trim(skb, RECEIVED_SIZE).
diff --git a/drivers/net/wireless/ath/ath5k/base.h b/drivers/net/wireless/ath/ath5k/base.h
index a28c42f32c9..4da02941046 100644
--- a/drivers/net/wireless/ath/ath5k/base.h
+++ b/drivers/net/wireless/ath/ath5k/base.h
@@ -36,7 +36,7 @@
36 */ 36 */
37 37
38/* 38/*
39 * Defintions for the Atheros Wireless LAN controller driver. 39 * Definitions for the Atheros Wireless LAN controller driver.
40 */ 40 */
41#ifndef _DEV_ATH_ATHVAR_H 41#ifndef _DEV_ATH_ATHVAR_H
42#define _DEV_ATH_ATHVAR_H 42#define _DEV_ATH_ATHVAR_H
@@ -193,7 +193,7 @@ struct ath5k_softc {
193 struct ath5k_txq *cabq; /* content after beacon */ 193 struct ath5k_txq *cabq; /* content after beacon */
194 194
195 int power_level; /* Requested tx power in dbm */ 195 int power_level; /* Requested tx power in dbm */
196 bool assoc; /* assocate state */ 196 bool assoc; /* associate state */
197 bool enable_beacon; /* true if beacons are on */ 197 bool enable_beacon; /* true if beacons are on */
198}; 198};
199 199
diff --git a/drivers/net/wireless/ath/ath5k/eeprom.c b/drivers/net/wireless/ath/ath5k/eeprom.c
index 644962adda9..81ea52c4faf 100644
--- a/drivers/net/wireless/ath/ath5k/eeprom.c
+++ b/drivers/net/wireless/ath/ath5k/eeprom.c
@@ -1492,7 +1492,7 @@ ath5k_eeprom_read_target_rate_pwr_info(struct ath5k_hw *ah, unsigned int mode)
1492 * This info is used to calibrate the baseband power table. Imagine 1492 * This info is used to calibrate the baseband power table. Imagine
1493 * that for each channel there is a power curve that's hw specific 1493 * that for each channel there is a power curve that's hw specific
1494 * (depends on amplifier etc) and we try to "correct" this curve using 1494 * (depends on amplifier etc) and we try to "correct" this curve using
1495 * offests we pass on to phy chip (baseband -> before amplifier) so that 1495 * offsets we pass on to phy chip (baseband -> before amplifier) so that
1496 * it can use accurate power values when setting tx power (takes amplifier's 1496 * it can use accurate power values when setting tx power (takes amplifier's
1497 * performance on each channel into account). 1497 * performance on each channel into account).
1498 * 1498 *
diff --git a/drivers/net/wireless/ath/ath5k/phy.c b/drivers/net/wireless/ath/ath5k/phy.c
index 1a039f2bd73..6f04cc758dc 100644
--- a/drivers/net/wireless/ath/ath5k/phy.c
+++ b/drivers/net/wireless/ath/ath5k/phy.c
@@ -117,7 +117,7 @@ static unsigned int ath5k_hw_rfb_op(struct ath5k_hw *ah,
117 117
118/* 118/*
119 * This code is used to optimize rf gain on different environments 119 * This code is used to optimize rf gain on different environments
120 * (temprature mostly) based on feedback from a power detector. 120 * (temperature mostly) based on feedback from a power detector.
121 * 121 *
122 * It's only used on RF5111 and RF5112, later RF chips seem to have 122 * It's only used on RF5111 and RF5112, later RF chips seem to have
123 * auto adjustment on hw -notice they have a much smaller BANK 7 and 123 * auto adjustment on hw -notice they have a much smaller BANK 7 and
@@ -2675,7 +2675,7 @@ ath5k_setup_channel_powertable(struct ath5k_hw *ah,
2675 /* Fill curves in reverse order 2675 /* Fill curves in reverse order
2676 * from lower power (max gain) 2676 * from lower power (max gain)
2677 * to higher power. Use curve -> idx 2677 * to higher power. Use curve -> idx
2678 * backmaping we did on eeprom init */ 2678 * backmapping we did on eeprom init */
2679 u8 idx = pdg_curve_to_idx[pdg]; 2679 u8 idx = pdg_curve_to_idx[pdg];
2680 2680
2681 /* Grab the needed curves by index */ 2681 /* Grab the needed curves by index */
@@ -2777,7 +2777,7 @@ ath5k_setup_channel_powertable(struct ath5k_hw *ah,
2777 /* Now we have a set of curves for this 2777 /* Now we have a set of curves for this
2778 * channel on tmpL (x range is table_max - table_min 2778 * channel on tmpL (x range is table_max - table_min
2779 * and y values are tmpL[pdg][]) sorted in the same 2779 * and y values are tmpL[pdg][]) sorted in the same
2780 * order as EEPROM (because we've used the backmaping). 2780 * order as EEPROM (because we've used the backmapping).
2781 * So for RF5112 it's from higher power to lower power 2781 * So for RF5112 it's from higher power to lower power
2782 * and for RF2413 it's from lower power to higher power. 2782 * and for RF2413 it's from lower power to higher power.
2783 * For RF5111 we only have one curve. */ 2783 * For RF5111 we only have one curve. */
diff --git a/drivers/net/wireless/ath/ath9k/rc.c b/drivers/net/wireless/ath/ath9k/rc.c
index 1895d63aad0..0a35ee62a02 100644
--- a/drivers/net/wireless/ath/ath9k/rc.c
+++ b/drivers/net/wireless/ath/ath9k/rc.c
@@ -969,7 +969,7 @@ static bool ath_rc_update_per(struct ath_softc *sc,
969 * Since this probe succeeded, we allow the next 969 * Since this probe succeeded, we allow the next
970 * probe twice as soon. This allows the maxRate 970 * probe twice as soon. This allows the maxRate
971 * to move up faster if the probes are 971 * to move up faster if the probes are
972 * succesful. 972 * successful.
973 */ 973 */
974 ath_rc_priv->probe_time = 974 ath_rc_priv->probe_time =
975 now_msec - rate_table->probe_interval / 2; 975 now_msec - rate_table->probe_interval / 2;
diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c
index 098dda1a67c..e56b941ecaa 100644
--- a/drivers/net/wireless/b43/main.c
+++ b/drivers/net/wireless/b43/main.c
@@ -2955,7 +2955,7 @@ static void do_periodic_work(struct b43_wldev *dev)
2955/* Periodic work locking policy: 2955/* Periodic work locking policy:
2956 * The whole periodic work handler is protected by 2956 * The whole periodic work handler is protected by
2957 * wl->mutex. If another lock is needed somewhere in the 2957 * wl->mutex. If another lock is needed somewhere in the
2958 * pwork callchain, it's aquired in-place, where it's needed. 2958 * pwork callchain, it's acquired in-place, where it's needed.
2959 */ 2959 */
2960static void b43_periodic_work_handler(struct work_struct *work) 2960static void b43_periodic_work_handler(struct work_struct *work)
2961{ 2961{
diff --git a/drivers/net/wireless/b43legacy/main.c b/drivers/net/wireless/b43legacy/main.c
index 4b60148a5e6..881784b18b0 100644
--- a/drivers/net/wireless/b43legacy/main.c
+++ b/drivers/net/wireless/b43legacy/main.c
@@ -2277,7 +2277,7 @@ static void do_periodic_work(struct b43legacy_wldev *dev)
2277/* Periodic work locking policy: 2277/* Periodic work locking policy:
2278 * The whole periodic work handler is protected by 2278 * The whole periodic work handler is protected by
2279 * wl->mutex. If another lock is needed somewhere in the 2279 * wl->mutex. If another lock is needed somewhere in the
2280 * pwork callchain, it's aquired in-place, where it's needed. 2280 * pwork callchain, it's acquired in-place, where it's needed.
2281 */ 2281 */
2282static void b43legacy_periodic_work_handler(struct work_struct *work) 2282static void b43legacy_periodic_work_handler(struct work_struct *work)
2283{ 2283{
diff --git a/drivers/net/wireless/ipw2x00/ipw2100.c b/drivers/net/wireless/ipw2x00/ipw2100.c
index 6e2fc0cb6f8..64af9080fe9 100644
--- a/drivers/net/wireless/ipw2x00/ipw2100.c
+++ b/drivers/net/wireless/ipw2x00/ipw2100.c
@@ -551,7 +551,7 @@ static int ipw2100_get_ordinal(struct ipw2100_priv *priv, u32 ord,
551 /* get number of entries */ 551 /* get number of entries */
552 field_count = *(((u16 *) & field_info) + 1); 552 field_count = *(((u16 *) & field_info) + 1);
553 553
554 /* abort if no enought memory */ 554 /* abort if no enough memory */
555 total_length = field_len * field_count; 555 total_length = field_len * field_count;
556 if (total_length > *len) { 556 if (total_length > *len) {
557 *len = total_length; 557 *len = total_length;
@@ -3044,7 +3044,7 @@ static void ipw2100_tx_send_data(struct ipw2100_priv *priv)
3044 IPW_MAX_BDS)) { 3044 IPW_MAX_BDS)) {
3045 /* TODO: Support merging buffers if more than 3045 /* TODO: Support merging buffers if more than
3046 * IPW_MAX_BDS are used */ 3046 * IPW_MAX_BDS are used */
3047 IPW_DEBUG_INFO("%s: Maximum BD theshold exceeded. " 3047 IPW_DEBUG_INFO("%s: Maximum BD threshold exceeded. "
3048 "Increase fragmentation level.\n", 3048 "Increase fragmentation level.\n",
3049 priv->net_dev->name); 3049 priv->net_dev->name);
3050 } 3050 }
@@ -6820,7 +6820,7 @@ static int ipw2100_wx_get_range(struct net_device *dev,
6820 range->max_qual.updated = 7; /* Updated all three */ 6820 range->max_qual.updated = 7; /* Updated all three */
6821 6821
6822 range->avg_qual.qual = 70; /* > 8% missed beacons is 'bad' */ 6822 range->avg_qual.qual = 70; /* > 8% missed beacons is 'bad' */
6823 /* TODO: Find real 'good' to 'bad' threshol value for RSSI */ 6823 /* TODO: Find real 'good' to 'bad' threshold value for RSSI */
6824 range->avg_qual.level = 20 + IPW2100_RSSI_TO_DBM; 6824 range->avg_qual.level = 20 + IPW2100_RSSI_TO_DBM;
6825 range->avg_qual.noise = 0; 6825 range->avg_qual.noise = 0;
6826 range->avg_qual.updated = 7; /* Updated all three */ 6826 range->avg_qual.updated = 7; /* Updated all three */
diff --git a/drivers/net/wireless/ipw2x00/ipw2200.c b/drivers/net/wireless/ipw2x00/ipw2200.c
index a6ca536e44f..fdbc97b7fcb 100644
--- a/drivers/net/wireless/ipw2x00/ipw2200.c
+++ b/drivers/net/wireless/ipw2x00/ipw2200.c
@@ -768,7 +768,7 @@ static int ipw_get_ordinal(struct ipw_priv *priv, u32 ord, void *val, u32 * len)
768 /* get number of entries */ 768 /* get number of entries */
769 field_count = *(((u16 *) & field_info) + 1); 769 field_count = *(((u16 *) & field_info) + 1);
770 770
771 /* abort if not enought memory */ 771 /* abort if not enough memory */
772 total_len = field_len * field_count; 772 total_len = field_len * field_count;
773 if (total_len > *len) { 773 if (total_len > *len) {
774 *len = total_len; 774 *len = total_len;
@@ -7732,7 +7732,7 @@ static void ipw_rebuild_decrypted_skb(struct ipw_priv *priv,
7732 case SEC_LEVEL_0: 7732 case SEC_LEVEL_0:
7733 break; 7733 break;
7734 default: 7734 default:
7735 printk(KERN_ERR "Unknow security level %d\n", 7735 printk(KERN_ERR "Unknown security level %d\n",
7736 priv->ieee->sec.level); 7736 priv->ieee->sec.level);
7737 break; 7737 break;
7738 } 7738 }
@@ -8916,7 +8916,7 @@ static int ipw_wx_get_range(struct net_device *dev,
8916 range->max_qual.updated = 7; /* Updated all three */ 8916 range->max_qual.updated = 7; /* Updated all three */
8917 8917
8918 range->avg_qual.qual = 70; 8918 range->avg_qual.qual = 70;
8919 /* TODO: Find real 'good' to 'bad' threshol value for RSSI */ 8919 /* TODO: Find real 'good' to 'bad' threshold value for RSSI */
8920 range->avg_qual.level = 0; /* FIXME to real average level */ 8920 range->avg_qual.level = 0; /* FIXME to real average level */
8921 range->avg_qual.noise = 0; 8921 range->avg_qual.noise = 0;
8922 range->avg_qual.updated = 7; /* Updated all three */ 8922 range->avg_qual.updated = 7; /* Updated all three */
@@ -10289,7 +10289,7 @@ static int ipw_tx_skb(struct ipw_priv *priv, struct libipw_txb *txb,
10289 case SEC_LEVEL_0: 10289 case SEC_LEVEL_0:
10290 break; 10290 break;
10291 default: 10291 default:
10292 printk(KERN_ERR "Unknow security level %d\n", 10292 printk(KERN_ERR "Unknown security level %d\n",
10293 priv->ieee->sec.level); 10293 priv->ieee->sec.level);
10294 break; 10294 break;
10295 } 10295 }
diff --git a/drivers/net/wireless/ipw2x00/libipw_module.c b/drivers/net/wireless/ipw2x00/libipw_module.c
index eb2b60834c1..c7b3f17d8da 100644
--- a/drivers/net/wireless/ipw2x00/libipw_module.c
+++ b/drivers/net/wireless/ipw2x00/libipw_module.c
@@ -175,7 +175,7 @@ struct net_device *alloc_ieee80211(int sizeof_priv)
175 ieee->host_decrypt = 1; 175 ieee->host_decrypt = 1;
176 ieee->host_mc_decrypt = 1; 176 ieee->host_mc_decrypt = 1;
177 177
178 /* Host fragementation in Open mode. Default is enabled. 178 /* Host fragmentation in Open mode. Default is enabled.
179 * Note: host fragmentation is always enabled if host encryption 179 * Note: host fragmentation is always enabled if host encryption
180 * is enabled. For cards can do hardware encryption, they must do 180 * is enabled. For cards can do hardware encryption, they must do
181 * hardware fragmentation as well. So we don't need a variable 181 * hardware fragmentation as well. So we don't need a variable
diff --git a/drivers/net/wireless/iwmc3200wifi/hal.c b/drivers/net/wireless/iwmc3200wifi/hal.c
index c430418248b..d13c8853ee8 100644
--- a/drivers/net/wireless/iwmc3200wifi/hal.c
+++ b/drivers/net/wireless/iwmc3200wifi/hal.c
@@ -411,7 +411,7 @@ static void iwm_build_lmac_hdr(struct iwm_priv *iwm, struct iwm_lmac_hdr *hdr,
411/* 411/*
412 * iwm_hal_send_host_cmd(): sends commands to the UMAC or the LMAC. 412 * iwm_hal_send_host_cmd(): sends commands to the UMAC or the LMAC.
413 * Sending command to the LMAC is equivalent to sending a 413 * Sending command to the LMAC is equivalent to sending a
414 * regular UMAC command with the LMAC passtrough or the LMAC 414 * regular UMAC command with the LMAC passthrough or the LMAC
415 * wrapper UMAC command IDs. 415 * wrapper UMAC command IDs.
416 */ 416 */
417int iwm_hal_send_host_cmd(struct iwm_priv *iwm, 417int iwm_hal_send_host_cmd(struct iwm_priv *iwm,
diff --git a/drivers/net/wireless/iwmc3200wifi/rx.c b/drivers/net/wireless/iwmc3200wifi/rx.c
index 771a301003c..8ddb51a2a97 100644
--- a/drivers/net/wireless/iwmc3200wifi/rx.c
+++ b/drivers/net/wireless/iwmc3200wifi/rx.c
@@ -1448,7 +1448,7 @@ static void iwm_rx_process_packet(struct iwm_priv *iwm,
1448 kfree_skb(packet->skb); 1448 kfree_skb(packet->skb);
1449 break; 1449 break;
1450 default: 1450 default:
1451 IWM_ERR(iwm, "Unknow ticket action: %d\n", 1451 IWM_ERR(iwm, "Unknown ticket action: %d\n",
1452 le16_to_cpu(ticket_node->ticket->action)); 1452 le16_to_cpu(ticket_node->ticket->action));
1453 kfree_skb(packet->skb); 1453 kfree_skb(packet->skb);
1454 } 1454 }
diff --git a/drivers/net/wireless/libertas/if_sdio.c b/drivers/net/wireless/libertas/if_sdio.c
index 485a8d40652..afe6abecc04 100644
--- a/drivers/net/wireless/libertas/if_sdio.c
+++ b/drivers/net/wireless/libertas/if_sdio.c
@@ -934,7 +934,7 @@ static int if_sdio_probe(struct sdio_func *func,
934 } 934 }
935 935
936 if (i == ARRAY_SIZE(if_sdio_models)) { 936 if (i == ARRAY_SIZE(if_sdio_models)) {
937 lbs_pr_err("unkown card model 0x%x\n", card->model); 937 lbs_pr_err("unknown card model 0x%x\n", card->model);
938 ret = -ENODEV; 938 ret = -ENODEV;
939 goto free; 939 goto free;
940 } 940 }
diff --git a/drivers/net/wireless/orinoco/hermes_dld.c b/drivers/net/wireless/orinoco/hermes_dld.c
index a3eefe109df..84200da900b 100644
--- a/drivers/net/wireless/orinoco/hermes_dld.c
+++ b/drivers/net/wireless/orinoco/hermes_dld.c
@@ -550,7 +550,7 @@ static const struct { \
550 550
551#define DEFAULT_PDR(pid) default_pdr_data_##pid 551#define DEFAULT_PDR(pid) default_pdr_data_##pid
552 552
553/* HWIF Compatiblity */ 553/* HWIF Compatibility */
554DEFINE_DEFAULT_PDR(0x0005, 10, "\x00\x00\x06\x00\x01\x00\x01\x00\x01\x00"); 554DEFINE_DEFAULT_PDR(0x0005, 10, "\x00\x00\x06\x00\x01\x00\x01\x00\x01\x00");
555 555
556/* PPPPSign */ 556/* PPPPSign */
@@ -656,7 +656,7 @@ int hermes_apply_pda_with_defaults(hermes_t *hw,
656 record_id + 1, pdi); 656 record_id + 1, pdi);
657 } 657 }
658 break; 658 break;
659 case 0x5: /* HWIF Compatiblity */ 659 case 0x5: /* HWIF Compatibility */
660 default_pdi = (struct pdi *) &DEFAULT_PDR(0x0005); 660 default_pdi = (struct pdi *) &DEFAULT_PDR(0x0005);
661 break; 661 break;
662 case 0x108: /* PPPPSign */ 662 case 0x108: /* PPPPSign */
diff --git a/drivers/net/wireless/prism54/isl_ioctl.c b/drivers/net/wireless/prism54/isl_ioctl.c
index bc08464d832..f7f5c793514 100644
--- a/drivers/net/wireless/prism54/isl_ioctl.c
+++ b/drivers/net/wireless/prism54/isl_ioctl.c
@@ -1897,7 +1897,7 @@ prism54_get_mac(struct net_device *ndev, struct iw_request_info *info,
1897 return 0; 1897 return 0;
1898} 1898}
1899 1899
1900/* Setting policy also clears the MAC acl, even if we don't change the defaut 1900/* Setting policy also clears the MAC acl, even if we don't change the default
1901 * policy 1901 * policy
1902 */ 1902 */
1903 1903
@@ -2323,7 +2323,7 @@ prism54_process_trap_helper(islpci_private *priv, enum oid_num_t oid,
2323 2323
2324 case DOT11_OID_BEACON: 2324 case DOT11_OID_BEACON:
2325 send_formatted_event(priv, 2325 send_formatted_event(priv,
2326 "Received a beacon from an unkown AP", 2326 "Received a beacon from an unknown AP",
2327 mlme, 0); 2327 mlme, 0);
2328 break; 2328 break;
2329 2329
diff --git a/drivers/net/wireless/rt2x00/rt2400pci.h b/drivers/net/wireless/rt2x00/rt2400pci.h
index ccd644104ad..aced0577569 100644
--- a/drivers/net/wireless/rt2x00/rt2400pci.h
+++ b/drivers/net/wireless/rt2x00/rt2400pci.h
@@ -35,7 +35,7 @@
35 35
36/* 36/*
37 * Signal information. 37 * Signal information.
38 * Defaul offset is required for RSSI <-> dBm conversion. 38 * Default offset is required for RSSI <-> dBm conversion.
39 */ 39 */
40#define DEFAULT_RSSI_OFFSET 100 40#define DEFAULT_RSSI_OFFSET 100
41 41
diff --git a/drivers/net/wireless/rt2x00/rt2500pci.h b/drivers/net/wireless/rt2x00/rt2500pci.h
index 54d37957883..3db9041838a 100644
--- a/drivers/net/wireless/rt2x00/rt2500pci.h
+++ b/drivers/net/wireless/rt2x00/rt2500pci.h
@@ -46,7 +46,7 @@
46 46
47/* 47/*
48 * Signal information. 48 * Signal information.
49 * Defaul offset is required for RSSI <-> dBm conversion. 49 * Default offset is required for RSSI <-> dBm conversion.
50 */ 50 */
51#define DEFAULT_RSSI_OFFSET 121 51#define DEFAULT_RSSI_OFFSET 121
52 52
diff --git a/drivers/net/wireless/rt2x00/rt2500usb.h b/drivers/net/wireless/rt2x00/rt2500usb.h
index b01edca4258..d3000827883 100644
--- a/drivers/net/wireless/rt2x00/rt2500usb.h
+++ b/drivers/net/wireless/rt2x00/rt2500usb.h
@@ -46,7 +46,7 @@
46 46
47/* 47/*
48 * Signal information. 48 * Signal information.
49 * Defaul offset is required for RSSI <-> dBm conversion. 49 * Default offset is required for RSSI <-> dBm conversion.
50 */ 50 */
51#define DEFAULT_RSSI_OFFSET 120 51#define DEFAULT_RSSI_OFFSET 120
52 52
diff --git a/drivers/net/wireless/rt2x00/rt61pci.h b/drivers/net/wireless/rt2x00/rt61pci.h
index 93eb699165c..77b5116f549 100644
--- a/drivers/net/wireless/rt2x00/rt61pci.h
+++ b/drivers/net/wireless/rt2x00/rt61pci.h
@@ -37,7 +37,7 @@
37 37
38/* 38/*
39 * Signal information. 39 * Signal information.
40 * Defaul offset is required for RSSI <-> dBm conversion. 40 * Default offset is required for RSSI <-> dBm conversion.
41 */ 41 */
42#define DEFAULT_RSSI_OFFSET 120 42#define DEFAULT_RSSI_OFFSET 120
43 43
diff --git a/drivers/net/wireless/rt2x00/rt73usb.h b/drivers/net/wireless/rt2x00/rt73usb.h
index 81fe0be51c4..e194332dac5 100644
--- a/drivers/net/wireless/rt2x00/rt73usb.h
+++ b/drivers/net/wireless/rt2x00/rt73usb.h
@@ -37,7 +37,7 @@
37 37
38/* 38/*
39 * Signal information. 39 * Signal information.
40 * Defaul offset is required for RSSI <-> dBm conversion. 40 * Default offset is required for RSSI <-> dBm conversion.
41 */ 41 */
42#define DEFAULT_RSSI_OFFSET 120 42#define DEFAULT_RSSI_OFFSET 120
43 43
diff --git a/drivers/net/wireless/wavelan_cs.c b/drivers/net/wireless/wavelan_cs.c
index 33918fd5b23..10c702b5be4 100644
--- a/drivers/net/wireless/wavelan_cs.c
+++ b/drivers/net/wireless/wavelan_cs.c
@@ -3987,7 +3987,7 @@ wavelan_interrupt(int irq,
3987#endif 3987#endif
3988 3988
3989 /* Prevent reentrancy. We need to do that because we may have 3989 /* Prevent reentrancy. We need to do that because we may have
3990 * multiple interrupt handler running concurently. 3990 * multiple interrupt handler running concurrently.
3991 * It is safe because interrupts are disabled before aquiring 3991 * It is safe because interrupts are disabled before aquiring
3992 * the spinlock. */ 3992 * the spinlock. */
3993 spin_lock(&lp->spinlock); 3993 spin_lock(&lp->spinlock);
diff --git a/drivers/net/wireless/zd1211rw/zd_mac.c b/drivers/net/wireless/zd1211rw/zd_mac.c
index 6d666359a42..2b7f9659437 100644
--- a/drivers/net/wireless/zd1211rw/zd_mac.c
+++ b/drivers/net/wireless/zd1211rw/zd_mac.c
@@ -312,7 +312,7 @@ static void tx_status(struct ieee80211_hw *hw, struct sk_buff *skb,
312 * zd_mac_tx_failed - callback for failed frames 312 * zd_mac_tx_failed - callback for failed frames
313 * @dev: the mac80211 wireless device 313 * @dev: the mac80211 wireless device
314 * 314 *
315 * This function is called if a frame couldn't be succesfully be 315 * This function is called if a frame couldn't be successfully be
316 * transferred. The first frame from the tx queue, will be selected and 316 * transferred. The first frame from the tx queue, will be selected and
317 * reported as error to the upper layers. 317 * reported as error to the upper layers.
318 */ 318 */