aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorPaulius Zaleckas <pauliusz@yahoo.com>2008-02-03 08:42:53 -0500
committerAdrian Bunk <bunk@kernel.org>2008-02-03 08:42:53 -0500
commitefad798b9f01300565f65058b153250cc49d58f2 (patch)
treef425b1fad94ca5eb384f4df9418450afb163bcae /drivers/net
parent0cadfc09534033e2b9694bd2d226b5dcfebd6704 (diff)
Spelling fixes: lenght->length
Signed-off-by: Paulius Zaleckas <pauliusz@yahoo.com> Signed-off-by: Adrian Bunk <bunk@kernel.org>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/irda/ali-ircc.h4
-rw-r--r--drivers/net/irda/nsc-ircc.h4
-rw-r--r--drivers/net/irda/via-ircc.h4
-rw-r--r--drivers/net/skfp/ess.c2
-rw-r--r--drivers/net/skfp/fplustm.c2
-rw-r--r--drivers/net/skfp/hwmtm.c2
-rw-r--r--drivers/net/wan/cycx_drv.c4
-rw-r--r--drivers/net/wireless/libertas/scan.c2
8 files changed, 12 insertions, 12 deletions
diff --git a/drivers/net/irda/ali-ircc.h b/drivers/net/irda/ali-ircc.h
index e489c6661ee8..07876578887f 100644
--- a/drivers/net/irda/ali-ircc.h
+++ b/drivers/net/irda/ali-ircc.h
@@ -173,13 +173,13 @@ struct st_fifo {
173 173
174struct frame_cb { 174struct frame_cb {
175 void *start; /* Start of frame in DMA mem */ 175 void *start; /* Start of frame in DMA mem */
176 int len; /* Lenght of frame in DMA mem */ 176 int len; /* Length of frame in DMA mem */
177}; 177};
178 178
179struct tx_fifo { 179struct tx_fifo {
180 struct frame_cb queue[MAX_TX_WINDOW]; /* Info about frames in queue */ 180 struct frame_cb queue[MAX_TX_WINDOW]; /* Info about frames in queue */
181 int ptr; /* Currently being sent */ 181 int ptr; /* Currently being sent */
182 int len; /* Lenght of queue */ 182 int len; /* Length of queue */
183 int free; /* Next free slot */ 183 int free; /* Next free slot */
184 void *tail; /* Next free start in DMA mem */ 184 void *tail; /* Next free start in DMA mem */
185}; 185};
diff --git a/drivers/net/irda/nsc-ircc.h b/drivers/net/irda/nsc-ircc.h
index bbdc97ff83ca..29398a4f73fd 100644
--- a/drivers/net/irda/nsc-ircc.h
+++ b/drivers/net/irda/nsc-ircc.h
@@ -231,13 +231,13 @@ struct st_fifo {
231 231
232struct frame_cb { 232struct frame_cb {
233 void *start; /* Start of frame in DMA mem */ 233 void *start; /* Start of frame in DMA mem */
234 int len; /* Lenght of frame in DMA mem */ 234 int len; /* Length of frame in DMA mem */
235}; 235};
236 236
237struct tx_fifo { 237struct tx_fifo {
238 struct frame_cb queue[MAX_TX_WINDOW]; /* Info about frames in queue */ 238 struct frame_cb queue[MAX_TX_WINDOW]; /* Info about frames in queue */
239 int ptr; /* Currently being sent */ 239 int ptr; /* Currently being sent */
240 int len; /* Lenght of queue */ 240 int len; /* Length of queue */
241 int free; /* Next free slot */ 241 int free; /* Next free slot */
242 void *tail; /* Next free start in DMA mem */ 242 void *tail; /* Next free start in DMA mem */
243}; 243};
diff --git a/drivers/net/irda/via-ircc.h b/drivers/net/irda/via-ircc.h
index 204b1b34ffc7..9d012f0dbd30 100644
--- a/drivers/net/irda/via-ircc.h
+++ b/drivers/net/irda/via-ircc.h
@@ -54,13 +54,13 @@ struct st_fifo {
54 54
55struct frame_cb { 55struct frame_cb {
56 void *start; /* Start of frame in DMA mem */ 56 void *start; /* Start of frame in DMA mem */
57 int len; /* Lenght of frame in DMA mem */ 57 int len; /* Length of frame in DMA mem */
58}; 58};
59 59
60struct tx_fifo { 60struct tx_fifo {
61 struct frame_cb queue[MAX_TX_WINDOW + 2]; /* Info about frames in queue */ 61 struct frame_cb queue[MAX_TX_WINDOW + 2]; /* Info about frames in queue */
62 int ptr; /* Currently being sent */ 62 int ptr; /* Currently being sent */
63 int len; /* Lenght of queue */ 63 int len; /* Length of queue */
64 int free; /* Next free slot */ 64 int free; /* Next free slot */
65 void *tail; /* Next free start in DMA mem */ 65 void *tail; /* Next free start in DMA mem */
66}; 66};
diff --git a/drivers/net/skfp/ess.c b/drivers/net/skfp/ess.c
index 62b01328c496..889f98724610 100644
--- a/drivers/net/skfp/ess.c
+++ b/drivers/net/skfp/ess.c
@@ -598,7 +598,7 @@ static void ess_send_alc_req(struct s_smc *smc)
598 req->cmd.sba_cmd = REQUEST_ALLOCATION ; 598 req->cmd.sba_cmd = REQUEST_ALLOCATION ;
599 599
600 /* 600 /*
601 * set the parameter type and parameter lenght of all used 601 * set the parameter type and parameter length of all used
602 * parameters 602 * parameters
603 */ 603 */
604 604
diff --git a/drivers/net/skfp/fplustm.c b/drivers/net/skfp/fplustm.c
index a45205da8033..76dc8adc9441 100644
--- a/drivers/net/skfp/fplustm.c
+++ b/drivers/net/skfp/fplustm.c
@@ -398,7 +398,7 @@ static void copy_tx_mac(struct s_smc *smc, u_long td, struct fddi_mac *mac,
398/* u_long td; transmit descriptor */ 398/* u_long td; transmit descriptor */
399/* struct fddi_mac *mac; mac frame pointer */ 399/* struct fddi_mac *mac; mac frame pointer */
400/* unsigned off; start address within buffer memory */ 400/* unsigned off; start address within buffer memory */
401/* int len ; lenght of the frame including the FC */ 401/* int len ; length of the frame including the FC */
402{ 402{
403 int i ; 403 int i ;
404 u_int *p ; 404 u_int *p ;
diff --git a/drivers/net/skfp/hwmtm.c b/drivers/net/skfp/hwmtm.c
index 8a430a366547..46e339315656 100644
--- a/drivers/net/skfp/hwmtm.c
+++ b/drivers/net/skfp/hwmtm.c
@@ -1185,7 +1185,7 @@ void process_receive(struct s_smc *smc)
1185 1185
1186 DB_RX("frame length = %d",len,0,4) ; 1186 DB_RX("frame length = %d",len,0,4) ;
1187 /* 1187 /*
1188 * check the frame_lenght and all error flags 1188 * check the frame_length and all error flags
1189 */ 1189 */
1190 if (rfsw & (RX_MSRABT|RX_FS_E|RX_FS_CRC|RX_FS_IMPL)){ 1190 if (rfsw & (RX_MSRABT|RX_FS_E|RX_FS_CRC|RX_FS_IMPL)){
1191 if (rfsw & RD_S_MSRABT) { 1191 if (rfsw & RD_S_MSRABT) {
diff --git a/drivers/net/wan/cycx_drv.c b/drivers/net/wan/cycx_drv.c
index d347d59db656..d14e6678deed 100644
--- a/drivers/net/wan/cycx_drv.c
+++ b/drivers/net/wan/cycx_drv.c
@@ -322,7 +322,7 @@ static int cycx_data_boot(void __iomem *addr, u8 *code, u32 len)
322 void __iomem *pt_boot_cmd = addr + CMD_OFFSET; 322 void __iomem *pt_boot_cmd = addr + CMD_OFFSET;
323 u32 i; 323 u32 i;
324 324
325 /* boot buffer lenght */ 325 /* boot buffer length */
326 writew(CFM_LOAD_BUFSZ, pt_boot_cmd + sizeof(u16)); 326 writew(CFM_LOAD_BUFSZ, pt_boot_cmd + sizeof(u16));
327 writew(GEN_DEFPAR, pt_boot_cmd); 327 writew(GEN_DEFPAR, pt_boot_cmd);
328 328
@@ -353,7 +353,7 @@ static int cycx_code_boot(void __iomem *addr, u8 *code, u32 len)
353 void __iomem *pt_boot_cmd = addr + CMD_OFFSET; 353 void __iomem *pt_boot_cmd = addr + CMD_OFFSET;
354 u32 i; 354 u32 i;
355 355
356 /* boot buffer lenght */ 356 /* boot buffer length */
357 writew(CFM_LOAD_BUFSZ, pt_boot_cmd + sizeof(u16)); 357 writew(CFM_LOAD_BUFSZ, pt_boot_cmd + sizeof(u16));
358 writew(GEN_DEFPAR, pt_boot_cmd); 358 writew(GEN_DEFPAR, pt_boot_cmd);
359 359
diff --git a/drivers/net/wireless/libertas/scan.c b/drivers/net/wireless/libertas/scan.c
index 9a61188b62e9..69f94c92b32d 100644
--- a/drivers/net/wireless/libertas/scan.c
+++ b/drivers/net/wireless/libertas/scan.c
@@ -1473,7 +1473,7 @@ int lbs_get_scan(struct net_device *dev, struct iw_request_info *info,
1473 * Called via lbs_prepare_and_send_command(priv, CMD_802_11_SCAN, ...) 1473 * Called via lbs_prepare_and_send_command(priv, CMD_802_11_SCAN, ...)
1474 * from cmd.c 1474 * from cmd.c
1475 * 1475 *
1476 * Sends a fixed lenght data part (specifying the BSS type and BSSID filters) 1476 * Sends a fixed length data part (specifying the BSS type and BSSID filters)
1477 * as well as a variable number/length of TLVs to the firmware. 1477 * as well as a variable number/length of TLVs to the firmware.
1478 * 1478 *
1479 * @param priv A pointer to struct lbs_private structure 1479 * @param priv A pointer to struct lbs_private structure