diff options
Diffstat (limited to 'drivers/net/skfp')
-rw-r--r-- | drivers/net/skfp/ess.c | 8 | ||||
-rw-r--r-- | drivers/net/skfp/fplustm.c | 6 | ||||
-rw-r--r-- | drivers/net/skfp/h/cmtdef.h | 4 | ||||
-rw-r--r-- | drivers/net/skfp/h/fplustm.h | 4 | ||||
-rw-r--r-- | drivers/net/skfp/h/smc.h | 2 | ||||
-rw-r--r-- | drivers/net/skfp/h/smt.h | 2 | ||||
-rw-r--r-- | drivers/net/skfp/h/supern_2.h | 4 | ||||
-rw-r--r-- | drivers/net/skfp/hwmtm.c | 2 | ||||
-rw-r--r-- | drivers/net/skfp/pcmplc.c | 6 | ||||
-rw-r--r-- | drivers/net/skfp/smt.c | 2 |
10 files changed, 20 insertions, 20 deletions
diff --git a/drivers/net/skfp/ess.c b/drivers/net/skfp/ess.c index 8639a0884f5c..2fc5987b41dc 100644 --- a/drivers/net/skfp/ess.c +++ b/drivers/net/skfp/ess.c | |||
@@ -241,7 +241,7 @@ int ess_raf_received_pack(struct s_smc *smc, SMbuf *mb, struct smt_header *sm, | |||
241 | != SMT_RDF_SUCCESS) || | 241 | != SMT_RDF_SUCCESS) || |
242 | (sm->smt_tid != smc->ess.alloc_trans_id)) { | 242 | (sm->smt_tid != smc->ess.alloc_trans_id)) { |
243 | 243 | ||
244 | DB_ESS("ESS: Allocation Responce not accepted\n",0,0) ; | 244 | DB_ESS("ESS: Allocation Response not accepted\n",0,0) ; |
245 | return fs; | 245 | return fs; |
246 | } | 246 | } |
247 | 247 | ||
@@ -393,7 +393,7 @@ static int process_bw_alloc(struct s_smc *smc, long int payload, long int overhe | |||
393 | * | T-NEG | | 393 | * | T-NEG | |
394 | * - - | 394 | * - - |
395 | * | 395 | * |
396 | * T-NEG is discribed by the equation: | 396 | * T-NEG is described by the equation: |
397 | * | 397 | * |
398 | * (-) fddiMACT-NEG | 398 | * (-) fddiMACT-NEG |
399 | * T-NEG = ------------------- | 399 | * T-NEG = ------------------- |
@@ -479,7 +479,7 @@ static void ess_send_response(struct s_smc *smc, struct smt_header *sm, | |||
479 | void *p ; | 479 | void *p ; |
480 | 480 | ||
481 | /* | 481 | /* |
482 | * get and initialize the responce frame | 482 | * get and initialize the response frame |
483 | */ | 483 | */ |
484 | if (sba_cmd == CHANGE_ALLOCATION) { | 484 | if (sba_cmd == CHANGE_ALLOCATION) { |
485 | if (!(mb=smt_build_frame(smc,SMT_RAF,SMT_REPLY, | 485 | if (!(mb=smt_build_frame(smc,SMT_RAF,SMT_REPLY, |
@@ -578,7 +578,7 @@ static void ess_send_alc_req(struct s_smc *smc) | |||
578 | } | 578 | } |
579 | 579 | ||
580 | /* | 580 | /* |
581 | * get and initialize the responce frame | 581 | * get and initialize the response frame |
582 | */ | 582 | */ |
583 | if (!(mb=smt_build_frame(smc,SMT_RAF,SMT_REQUEST, | 583 | if (!(mb=smt_build_frame(smc,SMT_RAF,SMT_REQUEST, |
584 | sizeof(struct smt_sba_alc_req)))) | 584 | sizeof(struct smt_sba_alc_req)))) |
diff --git a/drivers/net/skfp/fplustm.c b/drivers/net/skfp/fplustm.c index ca4e7bb6a5a8..a20ed1a98099 100644 --- a/drivers/net/skfp/fplustm.c +++ b/drivers/net/skfp/fplustm.c | |||
@@ -340,7 +340,7 @@ static void mac_counter_init(struct s_smc *smc) | |||
340 | outpw(FM_A(FM_LCNTR),0) ; | 340 | outpw(FM_A(FM_LCNTR),0) ; |
341 | outpw(FM_A(FM_ECNTR),0) ; | 341 | outpw(FM_A(FM_ECNTR),0) ; |
342 | /* | 342 | /* |
343 | * clear internal error counter stucture | 343 | * clear internal error counter structure |
344 | */ | 344 | */ |
345 | ec = (u_long *)&smc->hw.fp.err_stats ; | 345 | ec = (u_long *)&smc->hw.fp.err_stats ; |
346 | for (i = (sizeof(struct err_st)/sizeof(long)) ; i ; i--) | 346 | for (i = (sizeof(struct err_st)/sizeof(long)) ; i ; i--) |
@@ -1262,8 +1262,8 @@ Function DOWNCALL/INTERN (SMT, fplustm.c) | |||
1262 | 1262 | ||
1263 | Para mode = 1 RX_ENABLE_ALLMULTI enable all multicasts | 1263 | Para mode = 1 RX_ENABLE_ALLMULTI enable all multicasts |
1264 | 2 RX_DISABLE_ALLMULTI disable "enable all multicasts" | 1264 | 2 RX_DISABLE_ALLMULTI disable "enable all multicasts" |
1265 | 3 RX_ENABLE_PROMISC enable promiscous | 1265 | 3 RX_ENABLE_PROMISC enable promiscuous |
1266 | 4 RX_DISABLE_PROMISC disable promiscous | 1266 | 4 RX_DISABLE_PROMISC disable promiscuous |
1267 | 5 RX_ENABLE_NSA enable reception of NSA frames | 1267 | 5 RX_ENABLE_NSA enable reception of NSA frames |
1268 | 6 RX_DISABLE_NSA disable reception of NSA frames | 1268 | 6 RX_DISABLE_NSA disable reception of NSA frames |
1269 | 1269 | ||
diff --git a/drivers/net/skfp/h/cmtdef.h b/drivers/net/skfp/h/cmtdef.h index f2f771d8be76..5a6c6122ccb0 100644 --- a/drivers/net/skfp/h/cmtdef.h +++ b/drivers/net/skfp/h/cmtdef.h | |||
@@ -19,7 +19,7 @@ | |||
19 | 19 | ||
20 | /* | 20 | /* |
21 | * implementation specific constants | 21 | * implementation specific constants |
22 | * MODIIFY THE FOLLWOING THREE DEFINES | 22 | * MODIIFY THE FOLLOWING THREE DEFINES |
23 | */ | 23 | */ |
24 | #define AMDPLC /* if Amd PLC chip used */ | 24 | #define AMDPLC /* if Amd PLC chip used */ |
25 | #ifdef CONC | 25 | #ifdef CONC |
@@ -456,7 +456,7 @@ struct s_plc { | |||
456 | u_long soft_err ; /* error counter */ | 456 | u_long soft_err ; /* error counter */ |
457 | u_long parity_err ; /* error counter */ | 457 | u_long parity_err ; /* error counter */ |
458 | u_long ebuf_err ; /* error counter */ | 458 | u_long ebuf_err ; /* error counter */ |
459 | u_long ebuf_cont ; /* continous error counter */ | 459 | u_long ebuf_cont ; /* continuous error counter */ |
460 | u_long phyinv ; /* error counter */ | 460 | u_long phyinv ; /* error counter */ |
461 | u_long vsym_ctr ; /* error counter */ | 461 | u_long vsym_ctr ; /* error counter */ |
462 | u_long mini_ctr ; /* error counter */ | 462 | u_long mini_ctr ; /* error counter */ |
diff --git a/drivers/net/skfp/h/fplustm.h b/drivers/net/skfp/h/fplustm.h index 6d738e1e2393..d43191ed938b 100644 --- a/drivers/net/skfp/h/fplustm.h +++ b/drivers/net/skfp/h/fplustm.h | |||
@@ -237,8 +237,8 @@ struct s_smt_fp { | |||
237 | */ | 237 | */ |
238 | #define RX_ENABLE_ALLMULTI 1 /* enable all multicasts */ | 238 | #define RX_ENABLE_ALLMULTI 1 /* enable all multicasts */ |
239 | #define RX_DISABLE_ALLMULTI 2 /* disable "enable all multicasts" */ | 239 | #define RX_DISABLE_ALLMULTI 2 /* disable "enable all multicasts" */ |
240 | #define RX_ENABLE_PROMISC 3 /* enable promiscous */ | 240 | #define RX_ENABLE_PROMISC 3 /* enable promiscuous */ |
241 | #define RX_DISABLE_PROMISC 4 /* disable promiscous */ | 241 | #define RX_DISABLE_PROMISC 4 /* disable promiscuous */ |
242 | #define RX_ENABLE_NSA 5 /* enable reception of NSA frames */ | 242 | #define RX_ENABLE_NSA 5 /* enable reception of NSA frames */ |
243 | #define RX_DISABLE_NSA 6 /* disable reception of NSA frames */ | 243 | #define RX_DISABLE_NSA 6 /* disable reception of NSA frames */ |
244 | 244 | ||
diff --git a/drivers/net/skfp/h/smc.h b/drivers/net/skfp/h/smc.h index 026a83b9f743..c774a95902f5 100644 --- a/drivers/net/skfp/h/smc.h +++ b/drivers/net/skfp/h/smc.h | |||
@@ -388,7 +388,7 @@ struct smt_config { | |||
388 | u_long rmt_t_poll ; /* RMT : claim/beacon poller */ | 388 | u_long rmt_t_poll ; /* RMT : claim/beacon poller */ |
389 | u_long rmt_dup_mac_behavior ; /* Flag for the beavior of SMT if | 389 | u_long rmt_dup_mac_behavior ; /* Flag for the beavior of SMT if |
390 | * a Duplicate MAC Address was detected. | 390 | * a Duplicate MAC Address was detected. |
391 | * FALSE: SMT will leave finaly the ring | 391 | * FALSE: SMT will leave finally the ring |
392 | * TRUE: SMT will reinstert into the ring | 392 | * TRUE: SMT will reinstert into the ring |
393 | */ | 393 | */ |
394 | u_long mac_d_max ; /* MAC : D_Max timer value */ | 394 | u_long mac_d_max ; /* MAC : D_Max timer value */ |
diff --git a/drivers/net/skfp/h/smt.h b/drivers/net/skfp/h/smt.h index 2976757a36fb..2030f9cbb24b 100644 --- a/drivers/net/skfp/h/smt.h +++ b/drivers/net/skfp/h/smt.h | |||
@@ -793,7 +793,7 @@ struct smt_rdf { | |||
793 | } ; | 793 | } ; |
794 | 794 | ||
795 | /* | 795 | /* |
796 | * SBA Request Allocation Responce Frame | 796 | * SBA Request Allocation Response Frame |
797 | */ | 797 | */ |
798 | struct smt_sba_alc_res { | 798 | struct smt_sba_alc_res { |
799 | struct smt_header smt ; /* generic header */ | 799 | struct smt_header smt ; /* generic header */ |
diff --git a/drivers/net/skfp/h/supern_2.h b/drivers/net/skfp/h/supern_2.h index 5ba0b8306753..0b73690280f6 100644 --- a/drivers/net/skfp/h/supern_2.h +++ b/drivers/net/skfp/h/supern_2.h | |||
@@ -14,7 +14,7 @@ | |||
14 | 14 | ||
15 | /* | 15 | /* |
16 | defines for AMD Supernet II chip set | 16 | defines for AMD Supernet II chip set |
17 | the chips are refered to as | 17 | the chips are referred to as |
18 | FPLUS Formac Plus | 18 | FPLUS Formac Plus |
19 | PLC Physical Layer | 19 | PLC Physical Layer |
20 | 20 | ||
@@ -386,7 +386,7 @@ struct tx_queue { | |||
386 | #define FM_MDISRCV (4<<8) /* disable receive function */ | 386 | #define FM_MDISRCV (4<<8) /* disable receive function */ |
387 | #define FM_MRES0 (5<<8) /* reserve */ | 387 | #define FM_MRES0 (5<<8) /* reserve */ |
388 | #define FM_MLIMPROM (6<<8) /* limited-promiscuous mode */ | 388 | #define FM_MLIMPROM (6<<8) /* limited-promiscuous mode */ |
389 | #define FM_MPROMISCOUS (7<<8) /* address detection : promiscous */ | 389 | #define FM_MPROMISCOUS (7<<8) /* address detection : promiscuous */ |
390 | 390 | ||
391 | #define FM_SELSA 0x0800 /* select-short-address bit */ | 391 | #define FM_SELSA 0x0800 /* select-short-address bit */ |
392 | 392 | ||
diff --git a/drivers/net/skfp/hwmtm.c b/drivers/net/skfp/hwmtm.c index af5a755e269d..e26398b5a7dc 100644 --- a/drivers/net/skfp/hwmtm.c +++ b/drivers/net/skfp/hwmtm.c | |||
@@ -691,7 +691,7 @@ static u_long repair_rxd_ring(struct s_smc *smc, struct s_smt_rx_queue *queue) | |||
691 | * interrupt service routine, handles the interrupt requests | 691 | * interrupt service routine, handles the interrupt requests |
692 | * generated by the FDDI adapter. | 692 | * generated by the FDDI adapter. |
693 | * | 693 | * |
694 | * NOTE: The operating system dependent module must garantee that the | 694 | * NOTE: The operating system dependent module must guarantee that the |
695 | * interrupts of the adapter are disabled when it calls fddi_isr. | 695 | * interrupts of the adapter are disabled when it calls fddi_isr. |
696 | * | 696 | * |
697 | * About the USE_BREAK_ISR mechanismn: | 697 | * About the USE_BREAK_ISR mechanismn: |
diff --git a/drivers/net/skfp/pcmplc.c b/drivers/net/skfp/pcmplc.c index 112d35b1bf0e..88d02d0a42c4 100644 --- a/drivers/net/skfp/pcmplc.c +++ b/drivers/net/skfp/pcmplc.c | |||
@@ -1680,7 +1680,7 @@ void plc_irq(struct s_smc *smc, int np, unsigned int cmd) | |||
1680 | * Prevent counter from being wrapped after | 1680 | * Prevent counter from being wrapped after |
1681 | * hanging years in that interrupt. | 1681 | * hanging years in that interrupt. |
1682 | */ | 1682 | */ |
1683 | plc->ebuf_cont++ ; /* Ebuf continous error */ | 1683 | plc->ebuf_cont++ ; /* Ebuf continuous error */ |
1684 | } | 1684 | } |
1685 | 1685 | ||
1686 | #ifdef SUPERNET_3 | 1686 | #ifdef SUPERNET_3 |
@@ -1717,8 +1717,8 @@ void plc_irq(struct s_smc *smc, int np, unsigned int cmd) | |||
1717 | } | 1717 | } |
1718 | #endif /* SUPERNET_3 */ | 1718 | #endif /* SUPERNET_3 */ |
1719 | } else { | 1719 | } else { |
1720 | /* Reset the continous error variable */ | 1720 | /* Reset the continuous error variable */ |
1721 | plc->ebuf_cont = 0 ; /* reset Ebuf continous error */ | 1721 | plc->ebuf_cont = 0 ; /* reset Ebuf continuous error */ |
1722 | } | 1722 | } |
1723 | if (cmd & PL_PHYINV) { /* physical layer invalid signal */ | 1723 | if (cmd & PL_PHYINV) { /* physical layer invalid signal */ |
1724 | plc->phyinv++ ; | 1724 | plc->phyinv++ ; |
diff --git a/drivers/net/skfp/smt.c b/drivers/net/skfp/smt.c index 1e1bd0c201c8..08d94329c12f 100644 --- a/drivers/net/skfp/smt.c +++ b/drivers/net/skfp/smt.c | |||
@@ -219,7 +219,7 @@ void smt_emulate_token_ct(struct s_smc *smc, int mac_index) | |||
219 | 219 | ||
220 | /* | 220 | /* |
221 | * Only when ring is up we will have a token count. The | 221 | * Only when ring is up we will have a token count. The |
222 | * flag is unfortunatly a single instance value. This | 222 | * flag is unfortunately a single instance value. This |
223 | * doesn't matter now, because we currently have only | 223 | * doesn't matter now, because we currently have only |
224 | * one MAC instance. | 224 | * one MAC instance. |
225 | */ | 225 | */ |