Con Kolivas
|
9e287f9598
|
Merge pull request #499 from someone42/master
changes to bitburner driver for bitburner fury boards
|
11 years ago |
Con Kolivas
|
f706fef537
|
Merge branch 'master' of github.com:ckolivas/cgminer
|
11 years ago |
Con Kolivas
|
4b66519778
|
Update NEWS.
|
11 years ago |
kanoi
|
fb32e31c18
|
Merge pull request #504 from kanoi/master
klondike - can only calculate the nonce difference on or after the 2nd nonce
|
11 years ago |
Kano
|
1452cbff12
|
klondike - can only calculate the nonce difference on or after the 2nd nonce
|
11 years ago |
Con Kolivas
|
c3b0566247
|
Merge branch 'master' into libusbx
|
11 years ago |
kanoi
|
5c7b9f7e57
|
Merge pull request #503 from kanoi/master
Klondike - driver redesign + api message correction
|
11 years ago |
Con Kolivas
|
07837072f1
|
hexstr is too small in test_work_current
|
11 years ago |
Con Kolivas
|
166200c094
|
Windows uses errno for WSAETIMEDOUT
|
11 years ago |
Con Kolivas
|
02a4f8df9c
|
Convert the usb callback function to using cgsem_t timed waits to avoid race conditions with conditionals/mutexes.
|
11 years ago |
Con Kolivas
|
c9c39ac14d
|
Give correct return code in cgsem_mswait
|
11 years ago |
Con Kolivas
|
1d9f90b256
|
Revert "Convert the usb callback function to use a cgsem_t using the timedwait code to avoid races with mutexes/conditionals."
This reverts commit 433465bcfc .
Not ready yet.
|
11 years ago |
Con Kolivas
|
433465bcfc
|
Convert the usb callback function to use a cgsem_t using the timedwait code to avoid races with mutexes/conditionals.
|
11 years ago |
Con Kolivas
|
6e948d8750
|
Check for correct timeout error in cgsem_mswait
|
11 years ago |
Con Kolivas
|
51f8107b32
|
Fix util.h exports for cgsem_mswait
|
11 years ago |
Con Kolivas
|
c75ce853a9
|
Implement a generic cgsem_mswait similar to sem_timedwait
|
11 years ago |
Con Kolivas
|
9ca22ed493
|
Use the one LIBUSB_ERROR_TIMEOUT for cancelled transactions since this error is explicitly tested for in various drivers.
|
11 years ago |
Con Kolivas
|
a7580f1ff2
|
Do not use locking on usb callback function pthread signalling to prevent deadlock with libusb's own event lock.
|
11 years ago |
Con Kolivas
|
280dc4bf01
|
Lock mutex before second pthread_cond_wait in usbutils to prevent a race.
|
11 years ago |
Con Kolivas
|
9d29e0940a
|
Merge branch 'master' into libusbx
|
11 years ago |
Con Kolivas
|
84de52c1c6
|
Use a write lock when performing any USB control transfers to prevent concurrent transfers.
|
11 years ago |
Con Kolivas
|
c069028648
|
Free a libusb transfer after we have finished using it to avoid a dereference in usb_control_transfer
|
11 years ago |
Con Kolivas
|
578fabe07c
|
Do not perform bfi int patching for opencl1.2 or later.
|
11 years ago |
Con Kolivas
|
84f642f563
|
Although async transfers are meant to use heap memory, we never return before the transfer function has completed so stack memory will suffice for control transfers, fixing a memory leak in the process.
|
11 years ago |
Kano
|
16bd0a0d9c
|
klondike - correct/reverse min/max stats
|
11 years ago |
Kano
|
da7223f1b4
|
api incorrect message name
|
11 years ago |
Kano
|
f1d77f17a3
|
klondike - use a link list queue rather than a circular buffer - and add timing stats
|
11 years ago |
Con Kolivas
|
56edabc64d
|
Use a timeout with usb handle events set to a nominal 200ms and wait for the polling thread to shut down before deinitialising libusb.
|
11 years ago |
Con Kolivas
|
9f8023a959
|
Use stack memory for hex used in stratum share submissions.
|
11 years ago |
Con Kolivas
|
e0c90359fd
|
Use stack memory in test_work_current, avoiding a malloc/free cycle each time.
|
11 years ago |
Con Kolivas
|
d3c215fda6
|
Provide a lower level __bin2hex function that does not allocate memory itself.
|
11 years ago |
Con Kolivas
|
835ad82441
|
Convert the bitfury driver to use the hash_driver_work version of hash_work.
|
11 years ago |
Con Kolivas
|
58008a3742
|
Add a hash_driver_work function to allow for drivers that wish to do their own work queueing and management.
|
11 years ago |
Con Kolivas
|
e8b51b294c
|
Merge branch 'master' into libusbx
|
11 years ago |
Con Kolivas
|
3b2630cf5a
|
Merge branch 'master' of github.com:ckolivas/cgminer
|
11 years ago |
Con Kolivas
|
2ca8d85906
|
Convert all usb control transfers to asynchronous communication with our own timeout management as well.
|
11 years ago |
kanoi
|
159673cf0a
|
Merge pull request #502 from kanoi/master
Klondike temp checking and read buffer size
|
11 years ago |
Kano
|
595dcdfa94
|
Klondike - increase circular read buffer size
|
11 years ago |
Kano
|
8e82da4320
|
Klondike - extra zero value and range checking in temp conversion
|
11 years ago |
Kano
|
44f96c64b2
|
klondike - display MHz also
|
11 years ago |
Con Kolivas
|
64f5cac62c
|
Merge branch 'master' into libusbx
Conflicts:
api.c
cgminer.c
miner.h
usbutils.c
|
11 years ago |
Con Kolivas
|
b537976036
|
Make pthread conditional timeouts handle all bulk usb transfer timeouts performing libusb_cancel_transfer, disabling timeouts within libusb itself.
|
11 years ago |
Chris Chua
|
5af1cfe33d
|
increasing max miners for avalon driver (properly this time)
|
11 years ago |
Chris Chua
|
b509e84376
|
using separate identifier for bitburner fury boards
|
11 years ago |
Chris Chua
|
521e746b80
|
changes to bitburner driver for bitburner fury boards
|
11 years ago |
Con Kolivas
|
cda797d1be
|
Avoid calling get_statline_before on exit to avoid trying to use it on drivers in an indeterminate state.
|
11 years ago |
Con Kolivas
|
d437de8428
|
Avoid calling get_statline on exit.
|
11 years ago |
Con Kolivas
|
03ad59f287
|
Add a small amount to the usb timeout before cancelling to allow for a regular usb polling interval to pass.
|
11 years ago |
Con Kolivas
|
08d8612f68
|
Do not attempt to clear a usb halt before sending the cancel message since all transfers should normally be cancelled before attempting to clear a halt condition, and only change the return message to a timeout if it's consistent with a cancellation.
|
11 years ago |
Con Kolivas
|
6d18ce4caa
|
Retry up to USB_RETRY_MAX times to clear a halt condition before failing.
|
11 years ago |