1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-10 06:48:05 +00:00
Commit Graph

5817 Commits

Author SHA1 Message Date
Noel Maersk
9f64ee9c99 Remove USB, FPGA and ASIC files.
Code referencing these files is still present, but not compiled through the use of defines.
2013-11-24 15:52:29 +02:00
Noel Maersk
bb29c29efb Update README warning. 2013-11-24 15:36:50 +02:00
Noel Maersk
37cd3fb04c Get rid of several opt_scrypt checks.
--scrypt will eventually become a default, and is the only reason to use this
version of cgminer.
2013-11-24 15:28:53 +02:00
Noel Maersk
593080d972 Update READMEs. 2013-11-19 02:39:17 +02:00
Noel Maersk
d0070c0424 HARD RESET to: Remove Bitcoin detection code.
I'm pretty sure no one was working on this but me.

The code was unusable (gave 100% hardware errors) due to me not
testing it sufficiently. I hope this will not happen again.

ADL doesn't work for some reason, too.
2013-11-19 02:32:58 +02:00
Noel Maersk
8ea32a0b7a Don't run configure automatically. 2013-11-17 03:31:25 +02:00
Con Kolivas
829f0687bf Bump version to 3.7.2 2013-11-06 00:26:12 +11:00
Con Kolivas
5d7c99f389 Revert "Return ETIMEDOUT regardless if we fail in cgsem_mswait since we may be waiting on it on shutdown and the return response is harmless."
This reverts commit 3dcae53e38.
2013-11-06 00:24:16 +11:00
Con Kolivas
0485208342 Bump version to 3.7.1 2013-11-05 22:07:26 +11:00
Con Kolivas
528eadb7fa Update NEWS 2013-11-05 21:59:49 +11:00
Con Kolivas
3dcae53e38 Return ETIMEDOUT regardless if we fail in cgsem_mswait since we may be waiting on it on shutdown and the return response is harmless. 2013-11-05 21:56:01 +11:00
Con Kolivas
82a97a04f5 Avalon doesn't like losing its device data even after it's been unplugged. 2013-11-05 21:27:11 +11:00
Con Kolivas
31bbaa1491 Don't free the cgpu data on shutting down avalon driver. 2013-11-05 21:21:57 +11:00
Con Kolivas
ce196049fd Clean up completely on avalon shutdown. 2013-11-05 21:19:48 +11:00
Con Kolivas
a4c96d759a Use cgsem timed waits in avalon driver to not miss any queued wake ups to account for async messages coming during a flush work. 2013-11-05 21:09:08 +11:00
Con Kolivas
7011a7a008 Statline before is too long on icarus that doesn't have monitoring. 2013-11-05 19:20:38 +11:00
Con Kolivas
b1be5c6d12 Different windows+usb combinations respond with varying levels of reliability wrt timeouts so use a nominal extra 40ms before cancelling transfers that fail to time out on their own. 2013-11-05 19:18:20 +11:00
Con Kolivas
21f18956a8 Revert "Use no cancel transfer functions on windows in callback_wait"
This reverts commit 8f6acad8ec.
2013-11-05 19:11:20 +11:00
Con Kolivas
757fcb3df6 Do all hotplug_process under the write mining_thr_lock 2013-11-05 17:29:20 +11:00
Con Kolivas
2489b2aeba Fix for opt_worktime on big endian machines. 2013-11-05 16:54:29 +11:00
Con Kolivas
463e366c8d Correct set_blockdiff for big endian machines. 2013-11-05 16:53:06 +11:00
Con Kolivas
043e9d9bab Make sure cgpu exists in the restart threads loop in cases of hotplug etc. 2013-11-05 16:20:19 +11:00
Con Kolivas
6bc691adb2 Treat usb write timeout errors as unrecoverable. 2013-11-05 15:55:19 +11:00
Con Kolivas
42b3cf19c4 Transfer errors are filtered out in usbutils now so no need to look for them in NODEV checks. 2013-11-05 15:46:07 +11:00
Con Kolivas
2e11a50484 Remove now unused entries from struct cg_usb_device 2013-11-05 13:55:56 +11:00
Con Kolivas
e692cd087f Do not double up with checking for end of timeout measurements in usb read/write. 2013-11-05 13:55:06 +11:00
Con Kolivas
8f6acad8ec Use no cancel transfer functions on windows in callback_wait 2013-11-05 13:05:54 +11:00
Con Kolivas
c030439d0b Do get_work in fill_queue without holding other locks. 2013-11-05 12:46:34 +11:00
Con Kolivas
4a620cce44 Initialise usb after all the locks and conditionals are initialised. 2013-11-05 11:46:45 +11:00
Con Kolivas
aa9938973e Use only a trylock in flush queue to prevent deadlocks. 2013-11-05 09:08:52 +11:00
Con Kolivas
f4cf0939a2 Add a wr_trylock wrapper for pthread rw lock write trylock. 2013-11-05 08:36:54 +11:00
Con Kolivas
251e1a98cc Give AMU a much longer timeout on windows than other icarus devices. 2013-11-05 08:20:04 +11:00
Con Kolivas
609ca9292a Scale diff for scrypt when testing for block solves. 2013-11-05 08:03:24 +11:00
Con Kolivas
c5b10a6cf3 Fix for non curses build. 2013-11-04 20:57:47 +11:00
Con Kolivas
e503fadb78 Bump version to 3.7.0 2013-11-04 19:29:29 +11:00
Con Kolivas
87f1a3fdd6 README updates. 2013-11-04 19:28:56 +11:00
Con Kolivas
e6e39ab8c6 Update NEWS 2013-11-04 18:16:30 +11:00
Con Kolivas
8b38d7fec8 Use WRITEIOERR macro check for all usb writes. 2013-11-04 16:53:03 +11:00
Con Kolivas
38164d637d Merge branch 'icarushit' 2013-11-04 08:54:31 +11:00
Con Kolivas
8fb7a0d1be Always use a usb read buffer instead of having to explicitly enable it. 2013-11-04 08:45:09 +11:00
Con Kolivas
e3ed101ce8 Force unlocking of the console lock on restart to avoid corrupting the console state when we finally quit. 2013-11-03 23:05:16 +11:00
Con Kolivas
6c2a8d8be7 Force unlocking of the console lock on restart to avoid corrupting the console state when we finally quit. 2013-11-03 23:03:43 +11:00
Con Kolivas
c9b54f1502 Never wait indefinitely for a pthread conditional in the hash_pop loop in case the work scheduler misses the last wakeup. 2013-11-03 22:41:32 +11:00
Con Kolivas
a077c9f9a4 Make hash_pop signal the work scheduler each time it waits on the conditional that it should look for more work. 2013-11-03 22:41:21 +11:00
Con Kolivas
3f9ccc1b27 Never wait indefinitely for a pthread conditional in the hash_pop loop in case the work scheduler misses the last wakeup. 2013-11-03 22:40:07 +11:00
Con Kolivas
31df767cc7 Make hash_pop signal the work scheduler each time it waits on the conditional that it should look for more work. 2013-11-03 22:40:07 +11:00
Con Kolivas
310aa75460 Discriminate between libusb transfer errors and regular libusb errors and make sure to capture them all. 2013-11-03 22:40:07 +11:00
Con Kolivas
d1683fe6b1 Always read a full sized transfer for bulk reads. 2013-11-03 22:40:06 +11:00
Con Kolivas
fc80e2feb6 Deprecate preferred packet size functions in usbutils since they're unhelpful. 2013-11-03 22:40:06 +11:00
Con Kolivas
ea12210032 Why are we reading extra again in usb read when buffering is enabled? Don't do that. 2013-11-03 22:40:06 +11:00