|
@@ -71,10 +71,13 @@ bool knc_titan_get_report(const char *repr, void * const ctx, int channel, int d
|
|
|
return true;
|
|
return true;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+/* Use bare function without extra checks */
|
|
|
|
|
+extern bool knc_titan_setup_core_(void * const ctx, int channel, int die, int core, struct titan_setup_core_params *params);
|
|
|
|
|
+
|
|
|
/* This fails if core is hashing!
|
|
/* This fails if core is hashing!
|
|
|
* Stop it before setting up.
|
|
* Stop it before setting up.
|
|
|
*/
|
|
*/
|
|
|
bool knc_titan_setup_core_local(const char *repr, void * const ctx, int channel, int die, int core, struct titan_setup_core_params *params)
|
|
bool knc_titan_setup_core_local(const char *repr, void * const ctx, int channel, int die, int core, struct titan_setup_core_params *params)
|
|
|
{
|
|
{
|
|
|
- return knc_titan_setup_core(ctx, channel, die, core, params);
|
|
|
|
|
|
|
+ return knc_titan_setup_core_(ctx, channel, die, core, params);
|
|
|
}
|
|
}
|