driver-ztex.c


Log

Author Commit Date CI Message
Kano d3955b89 2013-05-02T23:44:47 ztx correct applog typing
Con Kolivas 3cb24c2c 2013-04-21T19:11:20 Use cgtime in driver-ztex.c
James Z.M. Gao c9ae7150 2013-04-04T22:59:10 Compile CPU mining for win32 and win64
Con Kolivas c45096d8 2013-03-04T12:56:12 Merge pull request #381 from denis2342/hw_errors several changes to avoid the display of hw errors
Kano 00489f4c 2013-03-03T16:04:47 ZTX bug set missing drv_id
Kano bc575523 2013-02-08T02:12:09 call a separate get_devices() with locking, as required
Kano 983fe2b0 2013-02-02T09:51:47 usbutils hotplug v0.1
Kano a344deb6 2013-01-05T23:47:26 rename device_api -> device_drv and all related api -> drv and add a device_drv->drv enum for identifying which driver each is
Denis Ahrens f5306156 2012-12-22T21:39:40 driver-ztex: only reset errors if there are some Only check the errors and print the log message if there actually were errros.
Denis Ahrens 8be5da3d 2012-12-22T17:47:10 driver-ztex: react to new work in 10ms and not 250ms
Denis Ahrens f553c50b 2012-12-22T01:22:42 ztex: if we had only errors in one round we do not count the errors to detect a totally non working fpga we only do that if the last round had some valid nonces. if we would count the errors the automatic megahertz adaption would drop and never recover.
Denis Ahrens ccee686a 2012-12-22T01:12:00 ztex: precheck the secondary solutions to avoid hw errors the ztex bitstreams gives back the latest checked nonce and its hash7 value and two possible solutions. every 250ms the latest nonce is checked and compared with hash7 to count hw errors and adapt the MHz value. one change is to use the solutions even if the latest nonce is not correct. the original java ztex code also does it this way. since the second solution is often not correct we have alot of hw errors. now we always check the second solution before we submit it to the cgminer main code. the java code also ignores all hw errors 500ms after a sendHash. we now do the same. this can possibly yield in a higher MHz rate. but the chance is so low nobody will ever notice in practice.
Con Kolivas deb9aec0 2012-12-24T12:54:09 Remove the unused sha224 functions.
Denis Ahrens abae6b98 2012-12-13T00:21:21 driver-ztex: use the correct size for the swap array
Denis Ahrens 7c01f165 2012-12-11T23:47:26 driver-ztex: search the complete noncerange based on the actual speed search the complete noncerange until the range to the end is more work than at the last round. doing one more round would mean we would have a overrun, which is a waste. with actual ztex boards this means that a new getwork is needed every 19 seconds in general and not every 10 seconds (without rollntime).
Denis Ahrens 26ef730c 2012-12-09T11:37:02 driver-ztex: support for broken fpga on a multifpga board
Con Kolivas b53fa540 2012-12-08T12:38:58 Merge pull request #347 from denis2342/ztex Ztex: more whitespace and style fixes
Denis Ahrens dba00728 2012-12-08T13:09:24 ztex: more style and whitespace fixes
Con Kolivas c99636f2 2012-12-07T13:21:46 Begin tearing down the old workio command queues by removing submit commands from there and submit them asynchronously via their own threads.
Denis Ahrens f7083c00 2012-12-06T16:52:06 driver-ztex: libztex_setFreq() must be called before ztex_releaseFpga()
Denis Ahrens e59f6681 2012-12-06T15:07:04 driver-ztex: changed two pairs of malloc()/memset() to calloc()
Denis Ahrens 0e5c716c 2012-11-26T02:41:07 ztex: Correctly release mutex and reset FPGA if configuration fails
Denis Ahrens 4629553a 2012-11-26T02:34:27 ztex: Display FPGA clock frequency with only one decimal
Con Kolivas 14e169b2 2012-11-24T12:41:35 Add an extra slot in the max backlog for ztex to minimise dupes.
Con Kolivas 90d1d7b6 2012-11-18T22:21:20 Convert unreliable usleep calls to nmsleep calls in ztex driver.
ckolivas 5c7e0308 2012-07-11T22:59:58 Modify te scanhash API to use an int64_t and return -1 on error, allowing zero to be a valid return value.
Luke Dashjr d4af2d05 2012-07-06T02:39:32 Turn work_restart array into a bool in thr_info
Con Kolivas ae400b4f 2012-06-26T22:38:18 Only show ztex board count if any exist.
Con Kolivas 5cf4b7c4 2012-06-25T16:59:29 Make the devices array a dynamically allocated array of pointers to allow unlimited devices.
Paul Sheppard 820d662c 2012-06-10T23:11:59 Removed idle mode. Added watchdog thread BFL temperature monitoring.
Paul Sheppard ebeaf15f 2012-06-09T19:30:32 Added idle mode Idle is only set by pgadisable, so GPU/CPU is unaffected. For Icarus/Ztex, in scanhash the thread is immediately set disabled then returns.
nelisky ed60e33a 2012-05-04T08:33:13 Some tweaks to reporting and logging. - Adding fpga number to the ztex string representation - Removing usb details from the ztex string representation - First frequency set no longer reports a bogus old freq
nelisky ec336cde 2012-05-04T01:10:35 Removing extra debug
nelisky 0eda5415 2012-05-03T13:32:21 ztex updateFreq was always reporting on fpga 0
nelisky 0080aea4 2012-05-03T13:24:59 Trying harder to get 1.15y working
nelisky 4c4d3b51 2012-05-03T10:28:29 fix typo
nelisky 7aaf1b6a 2012-05-03T09:35:59 Specifying threads on multi fpga boards extra cgpu
nelisky 5a58b3f5 2012-05-03T09:06:09 Missing the add cgpu per extra fpga on 1.15y boards
nelisky 57a72d51 2012-05-02T07:26:52 Blind implementation of multi-fpga board 1.15y.
Con Kolivas ab764da4 2012-04-26T16:33:27 Merge pull request #178 from nelisky/ztex-120417 Firmware 15d4 support
nelisky 316ebc3b 2012-04-25T03:52:52 Code style cleanup
nelisky b29edd11 2012-04-25T01:55:56 Using less heap space as my TP-Link seems to not handle this much
Kano cad0855b 2012-04-23T18:10:21 Ensure everyone sees the same screen/api name as the previous version for ZTex
nelisky 5f5e1063 2012-04-22T08:14:54 Firmware 15d4 support Not yet using suspend and while we have fpga counting implemented it isn't being used yet, thus only the groundwork for quad board support is done, not actually working yet.
Con Kolivas 78a32f2e 2012-04-22T10:54:26 Style police on driver-ztex.c
Luke Dashjr 730849c9 2012-04-21T03:01:42 Make a union for cgpu device handles, and rename "device" to "device_ztex" since it's Ztex-specific
Luke Dashjr 657716e5 2012-04-21T02:52:20 Merge branch 'master' into ztex