241 Commits (74775e4e727f4152d405f519df2da9e206e5b066)

Author SHA1 Message Date
ckolivas 6d7471237d Use macro expansion to iterate over all device drivers without needing to explicitly code in support in all places. Pass a hotplug bool to the detect() function to prevent opencl trying to hogplug GPUs. 11 years ago
ckolivas 741b74309e Forward declare all device drivers in miner.h avoiding the need to export them everywhere else. 11 years ago
ckolivas 8875197466 Create a macro list of drivers to enable easier addition of further drivers. 11 years ago
Kano d3a3b3a73d usbutils allow PrefPacketSize per endpoint 11 years ago
Kano c4b685cbe7 avalon stats use exact type 11 years ago
Xiangfu 088a340342 avalon: display the FPGA controller version on API 11 years ago
Kano a9faec4a4b change drivers to use usb_interface() - required for multi interface change 11 years ago
Kano 87e5c76f4d BTB show C/MHz/mV for device 11 years ago
Con Kolivas c56d44cebd Use stack data for HW error% in avalon stats. 11 years ago
Con Kolivas 8a01f5326c Add avalon HW error% to stats and only show BTB variables if avalon is a BTB. 11 years ago
Con Kolivas eeac9d81fc Replace all references to the old n*sleep functions with the equivalent cgsleep_*s replacements. 11 years ago
Kano 96c0c31775 BTB get version from Firmware 11 years ago
Con Kolivas 09e9091dd7 Simplify cgsleep code for windows by using a typedef for cgtimer_t that resolves to clock resolution, using that internally. 11 years ago
Con Kolivas 17447ec7e2 Use the cgsleep reentrant function in avalon_send_task. 11 years ago
Con Kolivas c988587b45 Use the reentrant cgsleep functions within the avalon_send_tasks function. 11 years ago
Con Kolivas e784b23004 Use the reentrant cgsleep function to time sleeps on reading from avalon. 11 years ago
Con Kolivas 37ff9f8428 Add necessary time header include to avalon driver. 11 years ago
Con Kolivas 1864ed2634 Do a sleep of the full duration it would take to do all the work using clock_nanosleep in avalon_send_tasks to avoid sleep overruns before polling to see if it's ready. 11 years ago
Con Kolivas 33bb8c7958 Use the us_to_timeval helper function in the avalon driver. 11 years ago
Con Kolivas 53beae814d Use timeval_to_spec helper in avalon driver. 11 years ago
Chris Chua 26de6e64be simplifying buffer full check 11 years ago
Chris Chua 0b9474f3a2 forking bitburner write thread function 11 years ago
Chris Chua be0d899b74 making sure original Avalon is unaffected by BitBurner changes 11 years ago
Chris Chua 2b932ccb81 changes to queueing strategy for BitBurner boards 11 years ago
Con Kolivas f3f939dd83 Do not poll in avalon_get_results without sleeping if we have finished parsing a full result. 11 years ago
Con Kolivas 61cb05a963 Add c to ambient temperature display for avalon driver. 11 years ago
Kano 51aaf816ef avalon for timeout allow d='calculate it' and fix uninitialised 11 years ago
Con Kolivas 3fe8948629 Use cloned work when finding avalon results since another thread can discard the work item while it's in use. 11 years ago
Con Kolivas dd9233f78b The write thread in avalon is only ever actually woken up by timeout so remove the write semaphore and use a simple sleep poll. 11 years ago
Con Kolivas b2a3941ef1 Fix warning. 11 years ago
Con Kolivas 992a97a396 Interrupting reads on the avalon to start writes loses data so remove the cgsem_post in the read code. 11 years ago
Kano b1f57595bd avalon init write_sem before use 11 years ago
Con Kolivas f7e6701058 Fix uninit variable warnings. 11 years ago
Kano b1a80cef15 avalon allow frequency to be set via the API 11 years ago
Kano 802737e8dd BTB voltage management via the API - and set default on startup 11 years ago
Kano ecc9457b6b Avalon BTB allow partial work to be transferred 11 years ago
Kano 6dabdff15c avalon_cts use correct buffer 11 years ago
Chris Chua 782206ceca using usb_ident 11 years ago
Chris Chua b8cdaea8bb forgot a return 11 years ago
Chris Chua b0f4d55be7 changes to Avalon driver for BitBurner boards 11 years ago
Kano ad1572f77f size check get_datestamp/get_timestamp and remove unused cgpu->init 12 years ago
Kano 385a70bea7 make all statline overflow safe 12 years ago
Con Kolivas a011fe5182 Check for a timeout in avalon_scanhash and post to the write sem if we receive one. 12 years ago
Con Kolivas 3b2f9ccb88 Decay result count in avalon more slowly to not falsely detect idle periods as low result return rates. 12 years ago
Con Kolivas 4b4a13549e Count the number of miners idled in avalon to account more accurately for when its result return rate is too low. 12 years ago
Con Kolivas e13c580cac Fix potential dereference when starting avalon with all new work. 12 years ago
Con Kolivas 18422fbf7d Only throttle avalon clockspeed in avalon_auto in non optimal temperature settings if the fanspeed has reached maximum. 12 years ago
Con Kolivas 3ef0db5658 Reinstate more aggressive <2% HW error target for avalon-auto 12 years ago
Con Kolivas 05344eff03 Set avalon fan min and fan max to PWM values instead of percentage. 12 years ago
Con Kolivas 065b6a5e36 Provide an --avalon-freq command line to give a valid range of frequencies for avalon in auto mode. 12 years ago