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
Con Kolivas
eeac9d81fc
Replace all references to the old n*sleep functions with the equivalent cgsleep_*s replacements.
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
Kano
c8a647edeb
MMQ turn on cps delays
12 years ago
Kano
6ca0eaa987
fix windows log warnings
12 years ago
Kano
84ffcbc51b
Use mining start time for device MH/U calculations
12 years ago
Kano
92fee70205
MMQ fix nodev failure caused by changes
12 years ago
Kano
7d35c6921e
ubsutils lock all access to nodev and cgusb
12 years ago
Kano
b8b137aeef
USB make device_path handled by usbutils
12 years ago
Kano
749fa78d8a
tidy up free in device detect functions
12 years ago
Kano
9287ee90f6
USB control creation and free of cgpu
12 years ago
Kano
05dd48ace1
usbutils/mmq fixed size usb_read default to wait for all data
12 years ago
Kano
9a1925ddaa
mmq correct applog typing
12 years ago
Kano
2c97b8b8bc
usb_init() allow it to ignore a device and show no message
12 years ago
Con Kolivas
207e93d8b7
Use cgtime wrapper in driver-modminer.c
12 years ago
Kano
b9968156ba
MMQ rewrite the last of the old scanhash loop and drastically reduce CPU
12 years ago
Kano
7abf30b2c0
distinguish between drv and it's id enum now called drv_id
12 years ago
Kano
8fbc4dade6
MMQ must copy USB bus:device due to usbinfo change
12 years ago
Kano
d057791915
Capitalise driver long names used in applog messages
12 years ago
Kano
7fbc3770b4
USB move usbdev info that needs to stay around into usbinfo
12 years ago
Kano
92abe36f12
MMQ include USB devpath in detection error messages
12 years ago
Kano
a52522af37
MMQ it's a bitstream
12 years ago
Kano
34bcc1c66d
USB automatically handle losing the device and report nodev in the API
12 years ago
Kano
f9e04a3c5b
device_drv - allow .name to be changed before add_cgpu()
12 years ago
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
12 years ago
Kano
473d9095e4
MMQ missing firmware -> ERR not DEBUG
12 years ago
Kano
f0003055a4
MMQ ensure delta clock can never exceed limits
12 years ago
Kano
d848289e8c
MMQ lowercase new string constants
12 years ago
Kano
4ab19c7de6
MMQ add api pgaset for clock
12 years ago
Kano
5ab2f3a7cf
MMQ style police
12 years ago
Kano
072909a12f
MMQ count work check timeout failures
12 years ago
Kano
38ff2a7df9
MMQ allow partial work replies and count them
12 years ago
Kano
2653c906c1
MMQ overheat: remove clockdown (doesn't help) + ensure no lost shares
12 years ago
Kano
f3f8b4fdb4
MMQ handle over temp differently and hash longer
12 years ago
Kano
f19b03c812
mmq - abbreviate the temperature numbers
12 years ago
Kano
7993d258f8
MMQ avoid possible number overrun crashes
12 years ago
Kano
152e7e36a2
mmq usb v0.4 + api usb stats
12 years ago
Con Kolivas
2d35ac2567
Track all dynamically allocated memory within the work struct by copying work structs in a common place, creating freshly allocated heap ram for all arrays within the copied struct.
...
Clear all work structs from the same place to ensure memory does not leak from arrays within the struct.
Convert the gbt coinbase and stratum strings within the work struct to heap ram.
This will allow arbitrary lengths without an upper limit for the strings, preventing the overflows that happen with GBT.
12 years ago
Con Kolivas
86fd23a305
Convert remaining modminer and bfl uses of usleep to nmsleep.
12 years ago
Paul Sheppard
9f74e650b3
Tidy up device error counts
12 years ago
Kano
fc14b2ee07
MMQ new initialisation (that works) and clocking control
12 years ago
Con Kolivas
b41de69c35
Fix various modminer warnings on mingw.
12 years ago
Con Kolivas
58bba40a03
fds need to be zeroed before set in modminer.
12 years ago
Kano
8f4ccebf0d
remove MMQ unused variable warning
12 years ago
Kano
ad7aa2b382
FPGA - allow long or short device names in detect code + style police
12 years ago
Kano
307d8da034
HW: error counter auto for all devices - ztex code not fixed
12 years ago
Con Kolivas
0a79de9375
Convert the serial autodetect functions to use int instead of char to enumerate devices.
13 years ago