ckolivas
|
39c2e662a7
Reattach the kernel driver on linux on usb_uninit.
|
12 years ago |
ckolivas
|
3ef9fa3b88
Attach the kernel driver on failure to usb init on linux.
|
12 years ago |
ckolivas
|
00aa8b4ecf
libusb kernel driver operations are only available on linux.
|
12 years ago |
ckolivas
|
2ec601e123
There is no need to get the external prototypes for drivers in cgminer.c any more.
|
12 years ago |
ckolivas
|
f3294f7424
Remove unnecessary gpu_threads initialisation.
|
12 years ago |
ckolivas
|
fbf46c41b3
Put avalon last in the sequence of adding drivers to prevent it trying to claim similar chip devices on startup.
|
12 years ago |
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.
|
12 years ago |
ckolivas
|
741b74309e
Forward declare all device drivers in miner.h avoiding the need to export them everywhere else.
|
12 years ago |
ckolivas
|
df54b76855
Add a noop function for driver detect when it's missing.
|
12 years ago |
ckolivas
|
372c40956a
Reuse the DRIVER_ macros to avoid having yet another definition for DRV_
|
12 years ago |
ckolivas
|
2903028e6b
Use macro expansion to generate extern device_drv prototypes.
|
12 years ago |
ckolivas
|
8875197466
Create a macro list of drivers to enable easier addition of further drivers.
|
12 years ago |
Con Kolivas
|
c50b13a602
Merge branch 'master' of github.com:ckolivas/cgminer into redfury
|
12 years ago |
Con Kolivas
|
71797050f2
There is no point setting the BF1 preferred packet size to the maximum since it will do so automatically.
|
12 years ago |
Kano
|
f9476743c2
icarus ensure all cmr interfaces are initialised properly
|
12 years ago |
Kano
|
9b9dde1667
usbutils - fix USBDEBUG warnings
|
12 years ago |
Con Kolivas
|
8d133706c9
Remove unnecessary steps in communicating with BF1 and just use USB interface 1.
|
12 years ago |
Kano
|
61c2ac5714
usbutils - usb_bulk_transfer fix the buf/data fix
|
12 years ago |
Con Kolivas
|
2ba7fbe597
Merge branch 'master' of github.com:ckolivas/cgminer into redfury
|
12 years ago |
Kano
|
ffea432f73
usb_bulk_transfer - use the allocated buffer
|
12 years ago |
Con Kolivas
|
2fc5c1d0ec
Set preferred packet sizes per interface on BF1.
|
12 years ago |
Con Kolivas
|
621114c559
Merge branch 'master' of github.com:ckolivas/cgminer into redfury
|
12 years ago |
Kano
|
d3a3b3a73d
usbutils allow PrefPacketSize per endpoint
|
12 years ago |
Con Kolivas
|
ce16bd2ba4
Remove magic control sequences on open/close on BF1 and just flush the read buffers.
|
12 years ago |
Con Kolivas
|
b994a4c64d
Check return codes in getinfo and reset and fail as needed in BF1.
|
12 years ago |
Con Kolivas
|
703724a3f4
Check return code for bitfury_open and release resources properly on failed initialisation.
|
12 years ago |
Con Kolivas
|
59b33c1a58
Abstract out flushing of interrupt reads in BF1 devices.
|
12 years ago |
Con Kolivas
|
8e4909f8d5
Merge branch 'master' of github.com:ckolivas/cgminer into redfury
|
12 years ago |
Con Kolivas
|
93d4c09c66
Perform interrupt read after close message on BF1 as per serial close.
|
12 years ago |
Con Kolivas
|
1f74b2cdc4
Perform interrupt read flush as per serial open on BF1 devices.
|
12 years ago |