305c4316b8
1 OBS-URL: https://build.opensuse.org/request/show/408924 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mstflint?expand=0&rev=4
35 lines
897 B
Diff
35 lines
897 B
Diff
Index: b/mstdump/crd_main/mstdump.c
|
|
===================================================================
|
|
--- a/mstdump/crd_main/mstdump.c
|
|
+++ b/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++;
|
|
}
|
|
Index: b/small_utils/mcra.c
|
|
===================================================================
|
|
--- a/small_utils/mcra.c
|
|
+++ b/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);
|
|
|