mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-22 12:34:27 +00:00
adl: only ask for iDrvIndex on Linux.
Should close https://github.com/veox/sgminer/issues/45
This commit is contained in:
parent
b56e65aa77
commit
2879994408
4
adl.c
4
adl.c
@ -343,7 +343,9 @@ void init_adl(int nDevs)
|
||||
"strUDID:%s "
|
||||
"iBusNumber:%d "
|
||||
"iDeviceNumber:%d "
|
||||
#if defined(__linux)
|
||||
"iDrvIndex:%d "
|
||||
#endif
|
||||
"iFunctionNumber:%d "
|
||||
"iVendorID:%d "
|
||||
"name:%s",
|
||||
@ -353,7 +355,9 @@ void init_adl(int nDevs)
|
||||
lpInfo[i].strUDID,
|
||||
lpInfo[i].iBusNumber,
|
||||
lpInfo[i].iDeviceNumber,
|
||||
#if defined(__linux)
|
||||
lpInfo[i].iDrvIndex,
|
||||
#endif
|
||||
lpInfo[i].iFunctionNumber,
|
||||
lpInfo[i].iVendorID,
|
||||
lpInfo[i].strAdapterName);
|
||||
|
Loading…
x
Reference in New Issue
Block a user