equal
deleted
inserted
replaced
65 static void *r_ana_out; |
65 static void *r_ana_out; |
66 static void *r_count; |
66 static void *r_count; |
67 static void *r_freq; |
67 static void *r_freq; |
68 |
68 |
69 #if 1 |
69 #if 1 |
70 ec_pdo_reg_t domain1_pdo_regs[] = { |
70 const static ec_pdo_reg_t domain1_pdo_regs[] = { |
71 {"2", Beckhoff_EL2004_Outputs, &r_dig_out}, |
71 {"2", Beckhoff_EL2004_Outputs, &r_dig_out}, |
72 {"3", Beckhoff_EL4132_Output1, &r_ana_out}, |
72 {"3", Beckhoff_EL4132_Output1, &r_ana_out}, |
73 {"4", Beckhoff_EL5101_Value, &r_count}, |
73 {"#888:1", Beckhoff_EL5101_Value, &r_count}, |
74 {"4", Beckhoff_EL5101_Frequency, &r_freq}, |
74 {"4", Beckhoff_EL5101_Frequency, &r_freq}, |
75 {} |
75 {} |
76 }; |
76 }; |
77 #endif |
77 #endif |
78 |
78 |
79 /*****************************************************************************/ |
79 /*****************************************************************************/ |
103 spin_lock(&master_lock); |
103 spin_lock(&master_lock); |
104 ecrt_master_get_status(master, &master_status); |
104 ecrt_master_get_status(master, &master_status); |
105 spin_unlock(&master_lock); |
105 spin_unlock(&master_lock); |
106 |
106 |
107 if (master_status.bus_status != old_status.bus_status) { |
107 if (master_status.bus_status != old_status.bus_status) { |
108 printk(KERN_INFO PFX "bus status changed to %u.\n", |
108 printk(KERN_INFO PFX "bus status changed to %i.\n", |
109 master_status.bus_status); |
109 master_status.bus_status); |
110 } |
110 } |
111 if (master_status.bus_tainted != old_status.bus_tainted) { |
111 if (master_status.bus_tainted != old_status.bus_tainted) { |
112 printk(KERN_INFO PFX "tainted flag changed to %u.\n", |
112 printk(KERN_INFO PFX "tainted flag changed to %u.\n", |
113 master_status.bus_tainted); |
113 master_status.bus_tainted); |