1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-10 14:58:01 +00:00
Commit Graph

280 Commits

Author SHA1 Message Date
Kano
cb49f3cbb7 usbutils.c copy full size to 'Last Command' 2013-03-06 00:24:02 +11:00
Kano
f1ab8ea9e7 Release MMQ device only once (not 4 times) 2013-03-04 21:18:42 +11:00
Kano
aed1e516db usb_cleanup() use correct locking mechanism 2013-03-04 10:16:44 +11:00
Kano
e35e8ae135 Implement and use usb_cleanup() on shutdown or restart 2013-03-04 09:45:07 +11:00
Kano
b9c19a9353 remove empty #ifdef 2013-02-08 02:20:04 +11:00
Kano
bc5755233c call a separate get_devices() with locking, as required 2013-02-08 02:12:09 +11:00
Kano
1c69417def usbutils - avoid free cgusb twice 2013-02-08 01:44:43 +11:00
Kano
983fe2b0c0 usbutils hotplug v0.1 2013-02-08 01:42:36 +11:00
Kano
7abf30b2c0 distinguish between drv and it's id enum now called drv_id 2013-02-03 22:51:05 +11:00
Kano
05157e0802 USB in linux use the expected kernel config to check and detach - and set the configuration in linux also 2013-02-02 20:14:44 +11:00
Kano
128e3270fb USB system wide device locking on windows 2013-02-02 20:14:43 +11:00
Kano
16fa090013 usbutils stats_initialised not set 2013-02-02 20:14:41 +11:00
Kano
028da16bf8 usbutils free found if not used 2013-02-02 20:14:41 +11:00
Kano
8297304089 USB device locking NOOP for windows (for now) 2013-02-02 20:14:41 +11:00
Kano
cb3e3ebfac USB system wide device locking on linux 2013-02-02 20:14:40 +11:00
Kano
59c73ae59a USB usb_init() consistent err/warning/debug messages 2013-02-02 20:14:38 +11:00
Kano
a59b0c0355 usbutils.c use correct config from found (not 0) 2013-02-02 20:14:38 +11:00
Kano
7fbc3770b4 USB move usbdev info that needs to stay around into usbinfo 2013-02-02 20:14:36 +11:00
Kano
baf3aca88c usbutils.c release_cgpu() sets nodev 2013-02-02 20:14:33 +11:00
Kano
ea807cf0c7 USB BFL transfer is only 64 bytes in a USB1.1 socket 2013-02-02 20:14:31 +11:00
Kano
34bcc1c66d USB automatically handle losing the device and report nodev in the API 2013-02-02 20:14:29 +11:00
Kano
f9e04a3c5b device_drv - allow .name to be changed before add_cgpu() 2013-02-02 20:14:23 +11:00
Kano
a344deb6ac rename device_api -> device_drv and all related api -> drv and add a device_drv->drv enum for identifying which driver each is 2013-02-02 20:14:19 +11:00
Kano
211b0f4ea1 BFL USB longer timeout 2013-01-02 21:18:08 +11:00
Kano
b099615246 BFL report USB device numbers for init errors and allow faster 'reinit' 2012-12-31 13:04:53 +11:00
Kano
cbf6c71648 BFL libusb driver 2012-12-31 08:54:02 +11:00
Kano
440edfc49f usb display message when device is in use/another cgminer 2012-12-10 20:14:36 +11:00
Kano
e6efec46e9 usbutils.c uninitialised usbstat for non-primary mmqs 2012-12-10 10:42:02 +11:00
Kano
3a91d8eb61 usbutils.c remove compiler warning 2012-12-04 11:21:49 +11:00
Kano
152e7e36a2 mmq usb v0.4 + api usb stats 2012-12-02 21:48:37 +11:00