5244 Commits (775f2040e5ff4e7e758bbecb373a34b0ddef9c95)
 

Author SHA1 Message Date
Con Kolivas 775f2040e5 Check return code from hashfast_get_header in reset and fail when appropriate. 11 years ago
Con Kolivas d7a907f26e Timeout should not be a fatal error in hashfast_get_header 11 years ago
Con Kolivas 58dd80e459 Implement a hashfast get_header function which reads till it finds a header preamble or times out. 11 years ago
Con Kolivas 4b9eb3707b Implement hashfast send header function and add relevant usb op codes to arrays, beginning reset sequence on hashfast detection. 11 years ago
Con Kolivas e7a9aef65b Add hf_protocol.h to cgminer sources. 11 years ago
Con Kolivas 176cae2700 Add basic definitions for hashfast device recognition. 11 years ago
Con Kolivas df6873eff9 Remove old initialisation code from hashfast, use hf protocol library where possible and prepare for new driver model. 11 years ago
Con Kolivas f1941db061 Minor style changes. 11 years ago
Con Kolivas 4664350c23 Include hf protocol header. 11 years ago
Con Kolivas 6e2d12e14a Remove now unused crc32 code from hashfast driver. 11 years ago
Con Kolivas 9b5c534911 Merge branch 'master' into hashfast 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
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 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 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 b537976036 Make pthread conditional timeouts handle all bulk usb transfer timeouts performing libusb_cancel_transfer, disabling timeouts within libusb itself. 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
Con Kolivas 3a7a677f45 Show the error number as well as the description in erroring bulk transfers. 11 years ago
Con Kolivas 7fbe999fa2 Drop logging level for failed to connect to stratum to verbose mode only since we hit it regularly. 11 years ago
Con Kolivas a13919615e Update NEWS. 11 years ago
Con Kolivas b5dfacef24 We are always dependent on libusb handling events so use the blocking libusb_handle_events in the polling thread and use a bool to know if we should continue polling. 11 years ago
Con Kolivas 853aa28ffc Merge branch 'master' into async 11 years ago
Con Kolivas b30ae4a216 Use fractional hashrate return values in bitfury_scanhash to minimise the number of times we return 0 based on hashrate so far to further damp out displayed hashrate. 11 years ago
Con Kolivas 32bc746178 Check for presence of driver name in DRIVER_COUNT_FOUND to prevent strcmp on a null pointer when a driver is not built in. 11 years ago
kanoi a715d27a98 Merge pull request #501 from kanoi/cmr 11 years ago
Kano d97c3a4be1 API-README update pgaset, pgaidentify and ascset docs 11 years ago
Kano 39ac69c14c CMR allow sending flash and clock commands 11 years ago
Con Kolivas 2834eb8d6d Kill off threads that have failed using hash_sole_work instead of just disabling them. 11 years ago
Con Kolivas bdbe9dd5fe Make the bf1 getinfo size a macro 11 years ago
Con Kolivas e05bfddc74 Failing to add_cgpu in bitfury should be a terminal failure. 11 years ago
Con Kolivas 078f7f4739 Check return values when attempting to open a BF1 device and set the msg size as a macro. 11 years ago
Con Kolivas a5ed1771a4 Revert "Further smooth out avalon hashrate by limiting the maximum number of nonces counted each cycle to 1 per miner, saving them for later cycles." 11 years ago
Con Kolivas 7be59992c1 Further smooth out avalon hashrate by limiting the maximum number of nonces counted each cycle to 1 per miner, saving them for later cycles. 11 years ago
Con Kolivas dc9c3783ec Display errors on failed usb read and write and consider sequential IO errors a permanent failure. 11 years ago