5803 Commits (7ac101f365d3906a5d787fe82cad31322735374b)
 

Author SHA1 Message Date
Con Kolivas a4c96d759a Use cgsem timed waits in avalon driver to not miss any queued wake ups to account for async messages coming during a flush work. 11 years ago
Con Kolivas 7011a7a008 Statline before is too long on icarus that doesn't have monitoring. 11 years ago
Con Kolivas b1be5c6d12 Different windows+usb combinations respond with varying levels of reliability wrt timeouts so use a nominal extra 40ms before cancelling transfers that fail to time out on their own. 11 years ago
Con Kolivas 21f18956a8 Revert "Use no cancel transfer functions on windows in callback_wait" 11 years ago
Con Kolivas 757fcb3df6 Do all hotplug_process under the write mining_thr_lock 11 years ago
Con Kolivas 2489b2aeba Fix for opt_worktime on big endian machines. 11 years ago
Con Kolivas 463e366c8d Correct set_blockdiff for big endian machines. 11 years ago
Con Kolivas 043e9d9bab Make sure cgpu exists in the restart threads loop in cases of hotplug etc. 11 years ago
Con Kolivas 6bc691adb2 Treat usb write timeout errors as unrecoverable. 11 years ago
Con Kolivas 42b3cf19c4 Transfer errors are filtered out in usbutils now so no need to look for them in NODEV checks. 11 years ago
Con Kolivas 2e11a50484 Remove now unused entries from struct cg_usb_device 11 years ago
Con Kolivas e692cd087f Do not double up with checking for end of timeout measurements in usb read/write. 11 years ago
Con Kolivas 8f6acad8ec Use no cancel transfer functions on windows in callback_wait 11 years ago
Con Kolivas c030439d0b Do get_work in fill_queue without holding other locks. 11 years ago
Con Kolivas 4a620cce44 Initialise usb after all the locks and conditionals are initialised. 11 years ago
Con Kolivas aa9938973e Use only a trylock in flush queue to prevent deadlocks. 11 years ago
Con Kolivas f4cf0939a2 Add a wr_trylock wrapper for pthread rw lock write trylock. 11 years ago
Con Kolivas 251e1a98cc Give AMU a much longer timeout on windows than other icarus devices. 11 years ago
Con Kolivas 609ca9292a Scale diff for scrypt when testing for block solves. 11 years ago
Con Kolivas c5b10a6cf3 Fix for non curses build. 11 years ago
Con Kolivas e503fadb78 Bump version to 3.7.0 11 years ago
Con Kolivas 87f1a3fdd6 README updates. 11 years ago
Con Kolivas e6e39ab8c6 Update NEWS 11 years ago
Con Kolivas 8b38d7fec8 Use WRITEIOERR macro check for all usb writes. 11 years ago
Con Kolivas 38164d637d Merge branch 'icarushit' 11 years ago
Con Kolivas 8fb7a0d1be Always use a usb read buffer instead of having to explicitly enable it. 11 years ago
Con Kolivas e3ed101ce8 Force unlocking of the console lock on restart to avoid corrupting the console state when we finally quit. 11 years ago
Con Kolivas 6c2a8d8be7 Force unlocking of the console lock on restart to avoid corrupting the console state when we finally quit. 11 years ago
Con Kolivas c9b54f1502 Never wait indefinitely for a pthread conditional in the hash_pop loop in case the work scheduler misses the last wakeup. 11 years ago
Con Kolivas a077c9f9a4 Make hash_pop signal the work scheduler each time it waits on the conditional that it should look for more work. 11 years ago
Con Kolivas 3f9ccc1b27 Never wait indefinitely for a pthread conditional in the hash_pop loop in case the work scheduler misses the last wakeup. 11 years ago
Con Kolivas 31df767cc7 Make hash_pop signal the work scheduler each time it waits on the conditional that it should look for more work. 11 years ago
Con Kolivas 310aa75460 Discriminate between libusb transfer errors and regular libusb errors and make sure to capture them all. 11 years ago
Con Kolivas d1683fe6b1 Always read a full sized transfer for bulk reads. 11 years ago
Con Kolivas fc80e2feb6 Deprecate preferred packet size functions in usbutils since they're unhelpful. 11 years ago
Con Kolivas ea12210032 Why are we reading extra again in usb read when buffering is enabled? Don't do that. 11 years ago
Con Kolivas 38d9c24e56 Copy known transferred amount back to buffer for usb reads instead of requested length. 11 years ago
Con Kolivas b5dfb8f03e Ignore preferred packet size. 11 years ago
Con Kolivas 0cceaccf75 Treat timeout errors on usb writes as IO errors. 11 years ago
Con Kolivas dfba30b9f2 Ignore iManufacturer from bitfury devices to support bluefury as well as redfury. 11 years ago
Con Kolivas 95797821b4 Add more debugging info for when usb details don't match. 11 years ago
Con Kolivas 73f6a570f3 Look for timeout overruns in usb read/write. 11 years ago
Con Kolivas ccb742399f Use an int for usb_read/write to identify overruns. 11 years ago
Con Kolivas 1f22746243 Use the callback timeout as a safety mechanism only on windows. 11 years ago
Con Kolivas 4c0b643864 Instead of using complicated sleeps to emulate characters per second on usb writes, submit only as many characters as can be transferred per usb poll of 1ms, and use timeouts in bulk transfers, cancelling transfers only as a failsafe. 11 years ago
Con Kolivas efc605ffd3 Ignore iManufacturer from bitfury devices to support bluefury as well as redfury. 11 years ago
Con Kolivas ef0b7d3b5b Add more debugging info for when usb details don't match. 11 years ago
Con Kolivas 819406714a Remove discarded work from quota used. 11 years ago
Con Kolivas c3854378e1 Display works completed in summary and API data. 11 years ago
Con Kolivas 8e1ec8bd43 Store how many work items are worked on per pool. 11 years ago