forked from pool/mstflint
a05eabac96
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/492827 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mstflint?expand=0&rev=5
35 lines
863 B
Diff
35 lines
863 B
Diff
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
|
|
@@ -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++;
|
|
}
|
|
diff --git small_utils/mcra.c small_utils/mcra.c
|
|
index dd18b2c..d77e20a 100644
|
|
--- small_utils/mcra.c
|
|
+++ small_utils/mcra.c
|
|
@@ -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);
|
|
|