2017-05-10 20:50:21 +02:00
|
|
|
diff --git mstdump/crd_main/mstdump.c mstdump/crd_main/mstdump.c
|
|
|
|
index 32e2c28..7c66c85 100755
|
|
|
|
--- mstdump/crd_main/mstdump.c
|
|
|
|
+++ mstdump/crd_main/mstdump.c
|
2016-07-18 21:24:12 +02:00
|
|
|
@@ -125,12 +125,6 @@ int main(int argc, char* argv[]) {
|
|
|
|
}
|
|
|
|
++i; // move past the device parameter
|
|
|
|
|
|
|
|
-#ifndef MST_UL
|
|
|
|
- if (mf->tp == MST_MLNXOS) {
|
|
|
|
- mset_cr_access(mf, 1);
|
|
|
|
- }
|
|
|
|
-#endif
|
|
|
|
-
|
|
|
|
if (i < argc && !strncmp(argv[i], CAUSE_FLAG, strlen(CAUSE_FLAG))) {
|
|
|
|
i++;
|
|
|
|
}
|
2017-05-10 20:50:21 +02:00
|
|
|
diff --git small_utils/mcra.c small_utils/mcra.c
|
|
|
|
index dd18b2c..d77e20a 100644
|
|
|
|
--- small_utils/mcra.c
|
|
|
|
+++ small_utils/mcra.c
|
2016-07-18 21:24:12 +02:00
|
|
|
@@ -271,11 +271,7 @@ int main(int argc, char *argv[])
|
|
|
|
perror("mopen");
|
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
-#ifndef MST_UL
|
|
|
|
- if (mf->tp == MST_MLNXOS) {
|
|
|
|
- mset_cr_access(mf, 1);
|
|
|
|
- }
|
|
|
|
-#endif
|
|
|
|
+
|
|
|
|
if (i2c_slave)
|
|
|
|
mset_i2c_slave(mf, (u_int8_t)i2c_slave);
|
|
|
|
|