--- a/examples/mini/mini.c Fri Mar 09 13:16:12 2007 +0000
+++ b/examples/mini/mini.c Fri Mar 09 13:24:15 2007 +0000
@@ -67,11 +67,11 @@
static void *r_freq;
#if 1
-ec_pdo_reg_t domain1_pdo_regs[] = {
- {"2", Beckhoff_EL2004_Outputs, &r_dig_out},
- {"3", Beckhoff_EL4132_Output1, &r_ana_out},
- {"4", Beckhoff_EL5101_Value, &r_count},
- {"4", Beckhoff_EL5101_Frequency, &r_freq},
+const static ec_pdo_reg_t domain1_pdo_regs[] = {
+ {"2", Beckhoff_EL2004_Outputs, &r_dig_out},
+ {"3", Beckhoff_EL4132_Output1, &r_ana_out},
+ {"#888:1", Beckhoff_EL5101_Value, &r_count},
+ {"4", Beckhoff_EL5101_Frequency, &r_freq},
{}
};
#endif
@@ -105,7 +105,7 @@
spin_unlock(&master_lock);
if (master_status.bus_status != old_status.bus_status) {
- printk(KERN_INFO PFX "bus status changed to %u.\n",
+ printk(KERN_INFO PFX "bus status changed to %i.\n",
master_status.bus_status);
}
if (master_status.bus_tainted != old_status.bus_tainted) {