Log

Author Commit Date CI Message
Con Kolivas 37509564 2013-10-01T17:34:32 Fake the libusb transfer timed out message if we force cancel it with our own async functions.
Con Kolivas a6a94070 2013-10-01T14:40:30 Use asynchronous transfers for all bulk transfers, allowing us to use our own timers and cancelling transfers that take too long.
Con Kolivas 99176584 2013-09-30T21:30:11 Add libusb error warning message when significant error occurs.
Con Kolivas 87ddfcc8 2013-09-30T09:27:44 Disable bitfury device thread on it disappearing.
Con Kolivas d1c95832 2013-09-29T23:51:46 Bump version to 3.5.0
Con Kolivas 03dd347f 2013-09-29T23:51:04 Update NEWS.
Con Kolivas d120b9c5 2013-09-29T23:45:59 Merge branch 'redfury'
Con Kolivas 0a559984 2013-09-29T23:44:45 Add magic init sequence required on BF1 devices to get them mining on windows.
Con Kolivas 5f10ac80 2013-09-29T17:45:49 Merge branch 'master' of github.com:ckolivas/cgminer
Con Kolivas 14887ba8 2013-09-29T17:44:41 usbinfo.devlock is only ever write locked so convert it to a mutex
Con Kolivas ff90e6ae 2013-09-29T17:44:41 usbinfo.devlock is only ever write locked so convert it to a mutex
Kano c7fb4aad 2013-09-29T17:21:32 Icarus remove unneeded opt_debug tests due to applog being a macro
Kano ef62b281 2013-09-29T17:14:10 Icarus - CMR shouldn't wait the full timeout due to handle sharing
Con Kolivas 01e3c878 2013-09-29T15:16:25 We should only yield once in cg_wunlock
Con Kolivas 5683a114 2013-09-29T15:14:06 Provide a function to downgrade a cglock from a write lock to an intermediate variant.
Con Kolivas 5e1ebd50 2013-09-29T13:54:16 Deuglify use of _PARSE_COMMANDS macro expansions.
Con Kolivas 303a7631 2013-09-29T13:08:15 Deuglify use of usb parse commands macro in usbutils.
Con Kolivas 3dd798e6 2013-09-29T12:51:33 Merge branch 'master' of github.com:ckolivas/cgminer
Con Kolivas 55f29b81 2013-09-29T12:33:52 Use the driver add commands macros in api.c to avoid individually listing them.
Con Kolivas 1ef38f82 2013-09-29T12:28:43 Separate out asic fpga and opencl drivers in the driver parse commands macro for use individually as needed.
ckolivas 8b341ccd 2013-09-29T02:48:39 Use macro expansion in usb_find_devices to avoid explicitly listing them all.
ckolivas 0952a881 2013-09-29T02:45:45 Use macro expansion to iterate over all the drivers without explicitly writing them out in usbutils.c
ckolivas e279bc1f 2013-09-29T02:20:38 Iterate over the bitfury offsets in order of decreasing likelihood.
ckolivas 39c2e662 2013-09-28T23:12:29 Reattach the kernel driver on linux on usb_uninit.
ckolivas 3ef9fa3b 2013-09-28T23:09:26 Attach the kernel driver on failure to usb init on linux.
ckolivas 00aa8b4e 2013-09-28T23:05:39 libusb kernel driver operations are only available on linux.
ckolivas 2ec601e1 2013-09-28T16:00:55 There is no need to get the external prototypes for drivers in cgminer.c any more.
ckolivas f3294f74 2013-09-28T15:18:08 Remove unnecessary gpu_threads initialisation.
ckolivas fbf46c41 2013-09-28T15:14:28 Put avalon last in the sequence of adding drivers to prevent it trying to claim similar chip devices on startup.
ckolivas 6d747123 2013-09-28T15:11:06 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.
ckolivas 741b7430 2013-09-28T14:00:18 Forward declare all device drivers in miner.h avoiding the need to export them everywhere else.
ckolivas df54b768 2013-09-28T13:52:13 Add a noop function for driver detect when it's missing.
ckolivas 372c4095 2013-09-28T12:44:36 Reuse the DRIVER_ macros to avoid having yet another definition for DRV_
ckolivas 2903028e 2013-09-28T11:45:58 Use macro expansion to generate extern device_drv prototypes.
ckolivas 88751974 2013-09-28T10:25:48 Create a macro list of drivers to enable easier addition of further drivers.
Con Kolivas c50b13a6 2013-09-28T01:01:48 Merge branch 'master' of github.com:ckolivas/cgminer into redfury
Con Kolivas 71797050 2013-09-27T22:37:14 There is no point setting the BF1 preferred packet size to the maximum since it will do so automatically.
Kano f9476743 2013-09-27T18:48:41 icarus ensure all cmr interfaces are initialised properly
Kano 9b9dde16 2013-09-27T16:56:25 usbutils - fix USBDEBUG warnings
Con Kolivas 8d133706 2013-09-27T15:04:07 Remove unnecessary steps in communicating with BF1 and just use USB interface 1.
Kano 61c2ac57 2013-09-27T14:57:22 usbutils - usb_bulk_transfer fix the buf/data fix
Con Kolivas 2ba7fbe5 2013-09-27T14:35:35 Merge branch 'master' of github.com:ckolivas/cgminer into redfury
Kano ffea432f 2013-09-27T14:25:57 usb_bulk_transfer - use the allocated buffer
Con Kolivas 2fc5c1d0 2013-09-27T13:47:35 Set preferred packet sizes per interface on BF1.
Con Kolivas 621114c5 2013-09-27T13:08:36 Merge branch 'master' of github.com:ckolivas/cgminer into redfury
Kano d3a3b3a7 2013-09-27T13:07:04 usbutils allow PrefPacketSize per endpoint
Con Kolivas ce16bd2b 2013-09-27T12:38:02 Remove magic control sequences on open/close on BF1 and just flush the read buffers.
Con Kolivas b994a4c6 2013-09-27T11:25:13 Check return codes in getinfo and reset and fail as needed in BF1.
Con Kolivas 703724a3 2013-09-27T11:20:03 Check return code for bitfury_open and release resources properly on failed initialisation.
Con Kolivas 59b33c1a 2013-09-27T11:13:38 Abstract out flushing of interrupt reads in BF1 devices.
Con Kolivas 8e4909f8 2013-09-27T11:00:48 Merge branch 'master' of github.com:ckolivas/cgminer into redfury
Con Kolivas 93d4c09c 2013-09-27T10:54:24 Perform interrupt read after close message on BF1 as per serial close.
Con Kolivas 1f74b2cd 2013-09-27T10:50:33 Perform interrupt read flush as per serial open on BF1 devices.
Con Kolivas 7deaa91b 2013-09-27T10:36:23 Add information for 2nd USB interface on BF1 devices and choose interface 1 for bulk transfers.
Kano d8518f43 2013-09-27T10:08:59 usbutils - bulk transfer copy test fix
Con Kolivas 8d6126ac 2013-09-27T09:53:04 Merge branch 'master' of github.com:ckolivas/cgminer into redfury
Kano a62267fa 2013-09-27T09:44:58 usbutils - add USBDEBUG for usb_bulk_transfer
Con Kolivas 1a020281 2013-09-27T09:41:55 Add more read_ii variants to usbutils.
Con Kolivas 4f6c7ee0 2013-09-27T09:39:26 Name remainder of BFU usb commands used.
Con Kolivas a39a9c27 2013-09-27T08:32:54 Merge branch 'master' into redfury
kanoi 8fbd8a47 2013-09-26T06:40:01 Merge pull request #498 from kanoi/master usbutils interfaces working on windows - avalon type correction
Con Kolivas 7ae8ee8d 2013-09-26T21:29:30 Merge commit 'b606a60349fe2f1c1c56a1fec833ec849b798676' into redfury Conflicts: driver-bitfury.c
Con Kolivas b606a603 2013-09-26T21:20:59 Use submit_tested_work in bitfury driver to avoid unnecessarily re-testing the work for validity.
Con Kolivas 7696f26a 2013-09-26T21:18:33 Abstract out work submission once it's been tested, to be used by drivers that do their own internal validity testing.
Con Kolivas 76e688ae 2013-09-26T21:14:14 Store the hash2 array in struct work for further reuse.
Kano b932fc0a 2013-09-26T21:04:28 usbutils - which_intinfo not requried
Con Kolivas 39c52b1f 2013-09-26T20:58:47 Use the test_nonce function within submit_nonce and store the uint32 corresponding to hash2 37 for further use.
Kano 36d86534 2013-09-26T20:58:29 usbutils - interfaces must all be on one handle - ep implies the interface
Kano c4b685cb 2013-09-26T20:56:24 avalon stats use exact type
Con Kolivas c1aba055 2013-09-26T20:51:47 Only set share diff if we've confirmed it's a share first.
Con Kolivas 3139a6c7 2013-09-26T16:36:58 Update ASIC-README for bitfury devices.
Con Kolivas fafd8631 2013-09-26T16:24:49 Use an array of offsets when checking nonces in bitfury_checkresults
Con Kolivas 44b9cf50 2013-09-26T12:11:25 Limit the duration we wait for reads in BF1 based on time already elapsed to account for other delays such as work restart messages or out of work.
Con Kolivas 9dcd4e70 2013-09-26T11:48:38 Minimise size of serial string we copy in BF1 stats to avoid overflow.
Con Kolivas ce285ba6 2013-09-26T11:46:09 Implement basic API stats for BF1 and increase array of results to check for the rare straggling result.
Con Kolivas 75333c53 2013-09-26T09:41:43 Space debug output for bf1 to separate from numerals.
Con Kolivas 1b40d902 2013-09-26T07:37:19 Abstract out the bitfury open close and reset functions and use them on reinit.
Con Kolivas 435065c8 2013-09-26T07:24:09 Rename BF1 devices BF1
Con Kolivas f97e1ad2 2013-09-25T23:54:37 Check for work restart, breaking out early after usb reads in BF1.
Con Kolivas ff4c4779 2013-09-25T23:33:10 Do not lose the first sets of results from BF1.
Con Kolivas 72c77980 2013-09-25T23:30:29 There is no point checking for results from the next round of work on BF1.
Con Kolivas 8c0ab5f3 2013-09-25T23:18:17 Last result returned by BF1 is an end of results marker so ignore it.
Con Kolivas 9040cac9 2013-09-25T22:47:19 restart_wait should return 0 if thr_restart is true.
Con Kolivas 7a9669ec 2013-09-25T22:43:39 Remove unused code by bitfury driver since current driver uses serialised scanhash.
Con Kolivas 5a8ac9fd 2013-09-25T22:22:05 Meter out return of estimated hashes in BF1 to smooth out visible hashrate.
Con Kolivas 4507a380 2013-09-25T22:12:34 Optimise inner scanhash loop for bf1.
Con Kolivas c65fd778 2013-09-25T20:46:42 Add yet another backup work for triple buffering of work in bf1 to account for extra late results returned and don't check nonce offsets which appear to never return.
Con Kolivas 55c6e55c 2013-09-25T16:31:37 Name the work request and result usb commands for BF1
Con Kolivas edcea78a 2013-09-25T16:28:34 Define a mandatory upper limit to waiting for reset and data on BF1 based on full nonce duration.
Con Kolivas d6949f3a 2013-09-25T15:31:34 Decrease usb buffering to verbose logging.
Con Kolivas 759e82bb 2013-09-25T15:30:54 Add in first draft for a serialised work model sending/receiving data for BF1 devices.
Con Kolivas f6e475d4 2013-09-25T00:23:50 Add complete close sequence to bf1 as it happens on serial.
Con Kolivas 4fb802fc 2013-09-24T23:30:01 Provide a bitfury identify function for bf1.
Con Kolivas 977a7b75 2013-09-24T22:58:10 Reliably extract BF1 information at startup and reset the device.
Con Kolivas 54ac3555 2013-09-24T22:28:56 Add commands for getting BF1 bitfury info
Con Kolivas 9a3684b8 2013-09-24T22:16:31 Add magic BF1 bitfury open and close control sequences.
Con Kolivas 2ab023f3 2013-09-24T21:55:47 Add BF1 detection code to bitfury driver.
Con Kolivas 68a7e210 2013-09-24T20:59:10 Create basic placeholders for bitfury driver code.
Con Kolivas 99c83896 2013-09-24T20:39:59 Add bf1 device information to usbutils to enable device detection.
Con Kolivas 8862cf9f 2013-09-24T20:18:11 Add basic defines for building for bitfury devices.