Browse Source

VS2010 build: Added PSW kernel. Version bump to 4.1.0.

nfactor-troky
unknown 11 years ago
parent
commit
b178ade675
  1. 26
      sgminer.c
  2. 7
      winbuild/dist/include/config.h

26
sgminer.c

@ -1204,14 +1204,14 @@ static struct opt_table opt_config_table[] = {
OPT_WITHOUT_ARG("--net-delay", OPT_WITHOUT_ARG("--net-delay",
opt_set_bool, &opt_delaynet, opt_set_bool, &opt_delaynet,
"Impose small delays in networking to not overload slow routers"), "Impose small delays in networking to not overload slow routers"),
#ifdef HAVE_ADL
OPT_WITHOUT_ARG("--no-adl", OPT_WITHOUT_ARG("--no-adl",
opt_set_bool, &opt_noadl, opt_set_bool, &opt_noadl,
#ifdef HAVE_ADL "Disable the ATI display library used for monitoring and setting GPU parameters"),
"Disable the ATI display library used for monitoring and setting GPU parameters"
#else #else
opt_hidden OPT_WITHOUT_ARG("--no-adl",
opt_set_bool, &opt_noadl,opt_hidden),
#endif #endif
),
OPT_WITHOUT_ARG("--no-pool-disable", OPT_WITHOUT_ARG("--no-pool-disable",
opt_set_invbool, &opt_disable_pool, opt_set_invbool, &opt_disable_pool,
opt_hidden), opt_hidden),
@ -1289,14 +1289,15 @@ static struct opt_table opt_config_table[] = {
opt_set_bool, &use_syslog, opt_set_bool, &use_syslog,
"Use system log for output messages (default: standard error)"), "Use system log for output messages (default: standard error)"),
#endif #endif
#if defined(HAVE_LIBCURL) && defined(CURL_HAS_KEEPALIVE)
OPT_WITH_ARG("--tcp-keepalive", OPT_WITH_ARG("--tcp-keepalive",
set_int_0_to_9999, opt_show_intval, &opt_tcp_keepalive, set_int_0_to_9999, opt_show_intval, &opt_tcp_keepalive,
#if defined(HAVE_LIBCURL) && defined(CURL_HAS_KEEPALIVE) "TCP keepalive packet idle time"),
"TCP keepalive packet idle time"
#else #else
opt_hidden OPT_WITH_ARG("--tcp-keepalive",
set_int_0_to_9999, opt_show_intval, &opt_tcp_keepalive,
opt_hidden),
#endif #endif
),
#ifdef HAVE_ADL #ifdef HAVE_ADL
OPT_WITH_ARG("--temp-cutoff", OPT_WITH_ARG("--temp-cutoff",
set_temp_cutoff, opt_show_intval, &opt_cutofftemp, set_temp_cutoff, opt_show_intval, &opt_cutofftemp,
@ -1311,14 +1312,15 @@ static struct opt_table opt_config_table[] = {
set_temp_target, opt_show_intval, &opt_targettemp, set_temp_target, opt_show_intval, &opt_targettemp,
"Temperature which a device should stay at while automanaging fan and/or GPU, one value or comma separated list"), "Temperature which a device should stay at while automanaging fan and/or GPU, one value or comma separated list"),
#endif #endif
#ifdef HAVE_CURSES
OPT_WITHOUT_ARG("--text-only|-T", OPT_WITHOUT_ARG("--text-only|-T",
opt_set_invbool, &use_curses, opt_set_invbool, &use_curses,
#ifdef HAVE_CURSES "Disable ncurses formatted screen output"),
"Disable ncurses formatted screen output"
#else #else
opt_hidden OPT_WITHOUT_ARG("--text-only|-T",
opt_set_invbool, &use_curses,
opt_hidden),
#endif #endif
),
OPT_WITH_ARG("--thread-concurrency", OPT_WITH_ARG("--thread-concurrency",
set_thread_concurrency, NULL, NULL, set_thread_concurrency, NULL, NULL,
"Set GPU thread concurrency for scrypt mining, comma separated"), "Set GPU thread concurrency for scrypt mining, comma separated"),

7
winbuild/dist/include/config.h vendored

@ -7,6 +7,7 @@
#define ALEXKAROLD_KERNNAME "alexkarold" #define ALEXKAROLD_KERNNAME "alexkarold"
#define CKOLIVAS_KERNNAME "ckolivas" #define CKOLIVAS_KERNNAME "ckolivas"
#define ZUIKKIS_KERNNAME "zuikkis" #define ZUIKKIS_KERNNAME "zuikkis"
#define PSW_KERNNAME "psw"
#if defined(_MSC_VER) #if defined(_MSC_VER)
@ -208,12 +209,12 @@ inline void* memmem (void* buf, size_t buflen, void* pat, size_t patlen)
#endif #endif
#define VERSION "v4.0.0" #define VERSION "v4.1.0"
#define PACKAGE_NAME "sgminer" #define PACKAGE_NAME "sgminer"
#define PACKAGE_TARNAME "sgminer" #define PACKAGE_TARNAME "sgminer"
#define PACKAGE_VERSION "4.0.0" #define PACKAGE_VERSION "4.1.0"
#define PACKAGE_STRING "sgminer 4.0.0" #define PACKAGE_STRING "sgminer 4.1.0"
#define PACKAGE "sgminer" #define PACKAGE "sgminer"
#define SGMINER_PREFIX "" #define SGMINER_PREFIX ""

Loading…
Cancel
Save