5278 Commits (38f10c0d42f13310a7a52b392f8eb6e19a909739)
 

Author SHA1 Message Date
Con Kolivas 38f10c0d42 Rename hfa_read thread on it starting. 11 years ago
Con Kolivas 53b33c8f18 Limit max diff internally used by hashfast driver to 256 to still get some nonces back to check for errors if mining at very high diff. 11 years ago
Con Kolivas 3dda8a213c Cosmetic changes to hashfast output. 11 years ago
Con Kolivas fe945e18ff Implement primary scanwork loop submitting work and returning hashrate for hashfast. 11 years ago
Con Kolivas 8b24b3d35e Send a work restart frame when the restart message is received in hashfast scanwork. 11 years ago
Con Kolivas 222af657a1 Remove hashfast write thread for all writes can be done from scanwork without added complexity. 11 years ago
Con Kolivas e9b67b50ae Pass the thr argument to the read and write threads for hashfast to have access to its data. 11 years ago
Con Kolivas 5cbe4be9e7 Incorporate hf protocol header changes. 11 years ago
Con Kolivas e06e495ab8 Merge branch 'master' into hashfast 11 years ago
kanoi 5c7b9f7e57 Merge pull request #503 from kanoi/master 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." 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 634151ffa0 Merge branch 'master' into hashfast 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 8d1604a2e3 Do not use locking on usb callback function pthread signalling to prevent deadlock with libusb's own event lock. 11 years ago
Con Kolivas d2d7a7468e Merge branch 'master' into hashfast 11 years ago
Con Kolivas 280dc4bf01 Lock mutex before second pthread_cond_wait in usbutils to prevent a race. 11 years ago
Con Kolivas 3c7af2e634 Join threads to close hashfast driver. 11 years ago
Con Kolivas 598b58c8ce Create basic read and write threads that will be used by hashfast driver. 11 years ago
Con Kolivas 93d1f93fdd Perform remainder of hashfast_detect_common setup. 11 years ago
Con Kolivas cbfa78eae4 Device data will not be allocated in hashfast_detect_one_usb so no point freeing it. 11 years ago
Con Kolivas 49befae6e4 Get remaining data from reset sequence on hashfast driver. 11 years ago
Con Kolivas 922b4d850d Store the device data returned from hashfast header returned in reset 11 years ago
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
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