mirror of
https://github.com/GOSTSec/sgminer
synced 2025-02-08 21:14:14 +00:00
usbutils set Black Arrow Lancelot's as BAL and match the lot->llt name
This commit is contained in:
parent
28f4fc64fd
commit
2a0b712ed5
14
usbutils.c
14
usbutils.c
@ -105,7 +105,7 @@ static struct usb_endpoints amu_eps[] = {
|
|||||||
{ LIBUSB_TRANSFER_TYPE_BULK, 64, EPI(1), 0 },
|
{ LIBUSB_TRANSFER_TYPE_BULK, 64, EPI(1), 0 },
|
||||||
{ LIBUSB_TRANSFER_TYPE_BULK, 64, EPO(1), 0 }
|
{ LIBUSB_TRANSFER_TYPE_BULK, 64, EPO(1), 0 }
|
||||||
};
|
};
|
||||||
static struct usb_endpoints lot_eps[] = {
|
static struct usb_endpoints llt_eps[] = {
|
||||||
{ LIBUSB_TRANSFER_TYPE_BULK, 64, EPI(1), 0 },
|
{ LIBUSB_TRANSFER_TYPE_BULK, 64, EPI(1), 0 },
|
||||||
{ LIBUSB_TRANSFER_TYPE_BULK, 64, EPO(2), 0 }
|
{ LIBUSB_TRANSFER_TYPE_BULK, 64, EPO(2), 0 }
|
||||||
};
|
};
|
||||||
@ -198,7 +198,7 @@ static struct usb_find_devices find_dev[] = {
|
|||||||
.eps = amu_eps },
|
.eps = amu_eps },
|
||||||
{
|
{
|
||||||
.drv = DRV_ICARUS,
|
.drv = DRV_ICARUS,
|
||||||
.name = "BAT",
|
.name = "BAL",
|
||||||
.idVendor = 0x0403,
|
.idVendor = 0x0403,
|
||||||
.idProduct = 0x6001,
|
.idProduct = 0x6001,
|
||||||
.iProduct = "FT232R USB UART",
|
.iProduct = "FT232R USB UART",
|
||||||
@ -206,9 +206,9 @@ static struct usb_find_devices find_dev[] = {
|
|||||||
.config = 1,
|
.config = 1,
|
||||||
.interface = 0,
|
.interface = 0,
|
||||||
.timeout = ICARUS_TIMEOUT_MS,
|
.timeout = ICARUS_TIMEOUT_MS,
|
||||||
.epcount = ARRAY_SIZE(lot_eps),
|
.epcount = ARRAY_SIZE(llt_eps),
|
||||||
.eps = lot_eps },
|
.eps = llt_eps },
|
||||||
// For any that don't match the above "BAT"
|
// For any that don't match the above "BAL"
|
||||||
{
|
{
|
||||||
.drv = DRV_ICARUS,
|
.drv = DRV_ICARUS,
|
||||||
.name = "LLT",
|
.name = "LLT",
|
||||||
@ -218,8 +218,8 @@ static struct usb_find_devices find_dev[] = {
|
|||||||
.config = 1,
|
.config = 1,
|
||||||
.interface = 0,
|
.interface = 0,
|
||||||
.timeout = ICARUS_TIMEOUT_MS,
|
.timeout = ICARUS_TIMEOUT_MS,
|
||||||
.epcount = ARRAY_SIZE(lot_eps),
|
.epcount = ARRAY_SIZE(llt_eps),
|
||||||
.eps = lot_eps },
|
.eps = llt_eps },
|
||||||
{
|
{
|
||||||
.drv = DRV_ICARUS,
|
.drv = DRV_ICARUS,
|
||||||
.name = "CMR",
|
.name = "CMR",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user