Show sync manager index in 'ethercat domain'.
--- a/tools/Master.cpp Thu Jun 26 14:28:09 2008 +0000
+++ b/tools/Master.cpp Thu Jun 26 14:56:39 2008 +0000
@@ -1191,9 +1191,10 @@
cout << " SlaveConfig "
<< fmmu.slave_config_alias << ":" << fmmu.slave_config_position
- << ", Dir "
- << setfill(' ') << setw(3) << (fmmu.dir == EC_DIR_INPUT ? "In" : "Out")
- << ", LogAddr 0x"
+ << ", SM" << dec << (unsigned int) fmmu.sync_index << " ("
+ << setfill(' ') << setw(3)
+ << (fmmu.dir == EC_DIR_INPUT ? "Input" : "Output")
+ << "), LogAddr 0x"
<< hex << setfill('0') << setw(8) << fmmu.logical_address
<< ", Size " << dec << fmmu.data_size << endl;