1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-09 14:28:12 +00:00
Commit Graph

5649 Commits

Author SHA1 Message Date
Con Kolivas
824aa5cb51 Keep a global counter of how many async usb transfers are in place. 2013-10-24 20:36:53 +11:00
Con Kolivas
856471e392 Perform libusb_submit_transfer under the write variant of cgusb_fd_lock 2013-10-24 20:32:17 +11:00
kanoi
3c2647d4b5 Merge pull request #511 from kanoi/master
klondike - error condition handling
2013-10-23 14:14:11 -07:00
Kano
8437805f5c klondike - error condition handling 2013-10-24 03:44:04 +11:00
Con Kolivas
5ea6a8eaa2 Merge branch 'master' into hashfast
Conflicts:
	Makefile.am
2013-10-23 22:45:56 +11:00
Con Kolivas
4f7b6fe4c3 Avoid entering static libusb directory if --with-system-libusb is enabled. 2013-10-23 22:40:13 +11:00
Con Kolivas
e76421320e Minor opencl build corrections. 2013-10-23 22:31:00 +11:00
Con Kolivas
ed16f32d8f Enable dynamic linking against system libusb --with-system-libusb 2013-10-23 22:24:58 +11:00
Con Kolivas
9fa8e920c7 Modify Makefile to only include opencl related code when configured in. 2013-10-23 21:29:42 +11:00
Con Kolivas
05478b5937 Convert opencl to need to be explicitly enabled during build with --enable-opencl 2013-10-23 21:19:03 +11:00
Con Kolivas
d2719e312f Implement a cglock_destroy function. 2013-10-23 20:41:12 +11:00
Con Kolivas
de4ad515e0 Implement a rwlock_destroy function. 2013-10-23 20:41:04 +11:00
Con Kolivas
6bd5139cfc Implement a mutex_destroy function. 2013-10-23 20:40:52 +11:00
Con Kolivas
fc6472fcb3 Minor buildfix for other platforms. 2013-10-23 12:55:32 +11:00
Con Kolivas
669bcac36c Merge branch 'master' into hashfast 2013-10-23 12:06:20 +11:00
Con Kolivas
269a145a70 Add usb command name to critical libusb error reporting. 2013-10-23 10:45:22 +11:00
Con Kolivas
ce61b9b060 Merge branch 'master' of github.com:ckolivas/cgminer 2013-10-23 10:19:48 +11:00
Con Kolivas
8dcbc86b97 Use windows' own higher resolution time and handlers allowing us to have higher precision absolute timeouts. 2013-10-23 10:19:04 +11:00
Con Kolivas
563cad189e Fix lldiv error in windows cgminer_t calculation. 2013-10-23 09:13:50 +11:00
Kano
9932c95569 miner.php correct sort gen field names largest to smallest 2013-10-22 19:30:03 +11:00
Kano
d9449b2578 api ... the code related to device elapsed 2013-10-22 19:27:44 +11:00
Con Kolivas
939b8d0091 Merge branch 'master' into hashfast 2013-10-22 17:18:42 +11:00
Kano
cac7cdb25e api add device elapsed since hotplug devices Elapsed is less than cgminer Elapsed 2013-10-22 10:28:45 +11:00
Con Kolivas
5ee279ca00 Add atmel init sequence likely to be required on hashfast for windows to work. 2013-10-21 13:30:17 +11:00
Con Kolivas
75726f6e00 Implement max temp and volt monitoring on statline for hashfast driver. 2013-10-21 13:15:52 +11:00
Con Kolivas
f5679aaa61 Check for nodev on hashfast driver and disable it if it has disappeared. 2013-10-21 12:50:45 +11:00
Con Kolivas
1eb18061f8 Limit the number of work items we queue at any one time in the hashfast driver and do not keep updating the job count during the scanwork() loop to prevent indefinitely changing our tail. 2013-10-21 12:42:54 +11:00
Con Kolivas
ad8e0f13ea Free hashfast structures allocated on driver shutdown. 2013-10-21 12:25:15 +11:00
Con Kolivas
44cc52c3d0 Drop usb buffering message to debug logging level. 2013-10-21 12:19:11 +11:00
Con Kolivas
6493b976d3 Drop usb buffering message to debug logging level. 2013-10-21 12:18:42 +11:00
Con Kolivas
cbb72aa041 Drop sending op_usb_init message level in hashfast driver to verbose logging. 2013-10-21 12:17:13 +11:00
Con Kolivas
2a92d2ada0 Make the cmd stored in hfa_cmd structure a uint8_t to match opcodes. 2013-10-21 12:14:24 +11:00
Con Kolivas
a999611505 Op work restart needs a usb command macro offset for hashfast driver. 2013-10-21 11:20:47 +11:00
Con Kolivas
1bafafb5d3 Enable USB buffers for hashfast on initialise and clear buffers where appropriate. 2013-10-21 11:05:38 +11:00
Con Kolivas
17baf4548a Send correct command with hfa_send_frame in hashfast driver. 2013-10-20 16:52:34 +11:00
Con Kolivas
eb1f54fbf2 Add die temperatures and voltages to hashfast api output. 2013-10-20 15:53:19 +11:00
Con Kolivas
5acaf1fd46 Add die statistics to hashfast api output. 2013-10-20 15:27:54 +11:00
Con Kolivas
9645c1a107 Add asic and core counts to hashfast api data. 2013-10-20 15:19:35 +11:00
Con Kolivas
1124853b22 Add hf_long_usb_stats1 to hashfast api data. 2013-10-20 15:17:00 +11:00
Con Kolivas
063b2db77c Add hf_usb_init_base info to hashfast api output. 2013-10-20 15:06:03 +11:00
Con Kolivas
273b04be62 Do the ntime binary modification to the work struct when submitting an ntime offset nonce within submit_noffset_nonce 2013-10-20 13:23:11 +11:00
Con Kolivas
572c8b9624 Do the ntime binary modification to the work struct when submitting an ntime offset nonce within submit_noffset_nonce 2013-10-20 13:22:14 +11:00
Con Kolivas
a9835b0472 Implement a shutdown routine for the hashfast driver. 2013-10-20 11:46:45 +11:00
Con Kolivas
71c6206d08 Remove unused statistics from hashfast driver struct and don't pack hashfast info structs since there is no need for them to match the device ones identically. 2013-10-20 11:28:27 +11:00
Con Kolivas
6b2a39d298 Add op stats1 processing for the hashfast driver. 2013-10-20 11:23:42 +11:00
Con Kolivas
92a5a2d7a7 Implement update_die_statistics for hashfast driver. 2013-10-20 11:11:35 +11:00
Roy Badami
5d6167700a Code cleanup and improved documentation 2013-10-20 01:06:14 +01:00
Con Kolivas
51548c6134 Move to consistent function names hfa_ for hashfast driver. 2013-10-20 11:05:10 +11:00
Con Kolivas
8218ba2f06 Implement OP_NONCE processing in hashfast driver read thread. 2013-10-20 10:57:17 +11:00
Roy Badami
c69a130dc1 Improvements to support for BitBurner boards
--bitburner-fury-options allows avalon-options to be overridden for
BitBurner Fury Boards, facilitating simultanous use of BitBurner XX
and BitBurner Fury boards

More sensible defaults for BitBurner boards, so cgminer should do something
sensible without any command line args
2013-10-19 18:42:20 +01:00