This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / drivers / net / skfp / ecm.c
index 47d922c..7eaab1c 100644 (file)
@@ -94,16 +94,17 @@ static const char * const ecm_events[] = {
  * function declarations
  */
 
-static void ecm_fsm(struct s_smc *smc, int cmd);
-static void start_ecm_timer(struct s_smc *smc, u_long value, int event);
-static void stop_ecm_timer(struct s_smc *smc);
-static void prop_actions(struct s_smc *smc);
+static void ecm_fsm(;
+static void start_ecm_timer(;
+static void stop_ecm_timer(;
+static void prop_actions(;
 
 /*
        init ECM state machine
        clear all ECM vars and flags
 */
-void ecm_init(struct s_smc *smc)
+void ecm_init(smc)
+struct s_smc *smc ;
 {
        smc->e.path_test = PT_PASSED ;
        smc->e.trace_prop = 0 ;
@@ -121,7 +122,9 @@ void ecm_init(struct s_smc *smc)
                process event
        until SM is stable
 */
-void ecm(struct s_smc *smc, int event)
+void ecm(smc,event)
+struct s_smc *smc ;
+int event ;
 {
        int     state ;
 
@@ -140,7 +143,9 @@ void ecm(struct s_smc *smc, int event)
 /*
        process ECM event
 */
-static void ecm_fsm(struct s_smc *smc, int cmd)
+static void ecm_fsm(smc,cmd)
+struct s_smc *smc ;
+int cmd ;
 {
        int ls_a ;                      /* current line state PHY A */
        int ls_b ;                      /* current line state PHY B */
@@ -424,7 +429,8 @@ static void ecm_fsm(struct s_smc *smc, int cmd)
 /*
  * trace propagation actions for SAS & DAS
  */
-static void prop_actions(struct s_smc *smc)
+static void prop_actions(smc)
+struct s_smc *smc ;
 {
        int     port_in = 0 ;
        int     port_out = 0 ;
@@ -474,7 +480,8 @@ static void prop_actions(struct s_smc *smc)
 /*
  * trace propagation actions for Concentrator
  */
-static void prop_actions(struct s_smc *smc)
+static void prop_actions(smc)
+struct s_smc *smc ;
 {
        int     initiator ;
        int     upstream ;
@@ -520,7 +527,10 @@ static void prop_actions(struct s_smc *smc)
  * SMT timer interface
  *     start ECM timer
  */
-static void start_ecm_timer(struct s_smc *smc, u_long value, int event)
+static void start_ecm_timer(smc,value,event)
+struct s_smc *smc ;
+u_long value;
+int event ;
 {
        smt_timer_start(smc,&smc->e.ecm_timer,value,EV_TOKEN(EVENT_ECM,event));
 }
@@ -529,7 +539,8 @@ static void start_ecm_timer(struct s_smc *smc, u_long value, int event)
  * SMT timer interface
  *     stop ECM timer
  */
-static void stop_ecm_timer(struct s_smc *smc)
+static void stop_ecm_timer(smc)
+struct s_smc *smc ;
 {
        if (smc->e.ecm_timer.tm_active)
                smt_timer_stop(smc,&smc->e.ecm_timer) ;