Kano
bc5755233c
call a separate get_devices() with locking, as required
12 years ago
Kano
983fe2b0c0
usbutils hotplug v0.1
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
Con Kolivas
deb9aec0ed
Remove the unused sha224 functions.
12 years ago
Denis Ahrens
abae6b983a
driver-ztex: use the correct size for the swap array
12 years ago
Denis Ahrens
7c01f16593
driver-ztex: search the complete noncerange based on the actual speed
...
search the complete noncerange until the range to the end is more
work than at the last round. doing one more round would mean we
would have a overrun, which is a waste.
with actual ztex boards this means that a new getwork is needed
every 19 seconds in general and not every 10 seconds (without
rollntime).
12 years ago
Denis Ahrens
26ef730c28
driver-ztex: support for broken fpga on a multifpga board
12 years ago
Denis Ahrens
dba007287c
ztex: more style and whitespace fixes
12 years ago
Con Kolivas
c99636f21b
Begin tearing down the old workio command queues by removing submit commands from there and submit them asynchronously via their own threads.
12 years ago
Denis Ahrens
f7083c00af
driver-ztex: libztex_setFreq() must be called before ztex_releaseFpga()
12 years ago
Denis Ahrens
e59f668191
driver-ztex: changed two pairs of malloc()/memset() to calloc()
12 years ago
Denis Ahrens
0e5c716cfc
ztex: Correctly release mutex and reset FPGA if configuration fails
12 years ago
Denis Ahrens
4629553ad6
ztex: Display FPGA clock frequency with only one decimal
12 years ago
Con Kolivas
14e169b29f
Add an extra slot in the max backlog for ztex to minimise dupes.
12 years ago
Con Kolivas
90d1d7b6ca
Convert unreliable usleep calls to nmsleep calls in ztex driver.
12 years ago
ckolivas
5c7e03084a
Modify te scanhash API to use an int64_t and return -1 on error, allowing zero to be a valid return value.
13 years ago
Luke Dashjr
d4af2d0535
Turn work_restart array into a bool in thr_info
13 years ago
Con Kolivas
ae400b4f09
Only show ztex board count if any exist.
13 years ago
Con Kolivas
5cf4b7c432
Make the devices array a dynamically allocated array of pointers to allow unlimited devices.
13 years ago
Paul Sheppard
820d662c9d
Removed idle mode.
...
Added watchdog thread BFL temperature monitoring.
13 years ago
Paul Sheppard
ebeaf15f18
Added idle mode
...
Idle is only set by pgadisable, so GPU/CPU is unaffected.
For Icarus/Ztex, in scanhash the thread is immediately set disabled then returns.
13 years ago
nelisky
ed60e33a94
Some tweaks to reporting and logging.
...
- Adding fpga number to the ztex string representation
- Removing usb details from the ztex string representation
- First frequency set no longer reports a bogus old freq
13 years ago
nelisky
ec336cdeb2
Removing extra debug
13 years ago
nelisky
0eda541560
ztex updateFreq was always reporting on fpga 0
13 years ago
nelisky
0080aea432
Trying harder to get 1.15y working
13 years ago
nelisky
4c4d3b51b0
fix typo
13 years ago
nelisky
7aaf1b6a07
Specifying threads on multi fpga boards extra cgpu
13 years ago
nelisky
5a58b3f5b3
Missing the add cgpu per extra fpga on 1.15y boards
13 years ago
nelisky
57a72d51fb
Blind implementation of multi-fpga board 1.15y.
13 years ago
nelisky
316ebc3b04
Code style cleanup
13 years ago
nelisky
b29edd111d
Using less heap space as my TP-Link seems to not handle this much
13 years ago
Kano
cad0855ba8
Ensure everyone sees the same screen/api name as the previous version for ZTex
13 years ago
nelisky
5f5e1063f4
Firmware 15d4 support
...
Not yet using suspend and while we have fpga counting implemented it isn't being used yet, thus only the groundwork for quad board support is done, not actually working yet.
13 years ago
Con Kolivas
78a32f2ebc
Style police on driver-ztex.c
13 years ago
Luke Dashjr
730849c988
Make a union for cgpu device handles, and rename "device" to "device_ztex" since it's Ztex-specific
13 years ago