diff --git a/src/hardware/dslogic/api.c b/src/hardware/dslogic/api.c index 7ee747a1..342ce2b0 100644 --- a/src/hardware/dslogic/api.c +++ b/src/hardware/dslogic/api.c @@ -27,23 +27,23 @@ static const struct dslogic_profile supported_device[] = { /* DreamSourceLab DSLogic */ { 0x2a0e, 0x0001, "DreamSourceLab", "DSLogic", NULL, "dreamsourcelab-dslogic-fx2.fw", - 0, "DreamSourceLab", "DSLogic"}, + 0, "DreamSourceLab", "DSLogic", 256 * 1048576ULL}, /* DreamSourceLab DSCope */ { 0x2a0e, 0x0002, "DreamSourceLab", "DSCope", NULL, "dreamsourcelab-dscope-fx2.fw", - 0, "DreamSourceLab", "DSCope"}, + 0, "DreamSourceLab", "DSCope", 256 * 1048576ULL}, /* DreamSourceLab DSLogic Pro */ { 0x2a0e, 0x0003, "DreamSourceLab", "DSLogic Pro", NULL, "dreamsourcelab-dslogic-pro-fx2.fw", - 0, "DreamSourceLab", "DSLogic"}, + 0, "DreamSourceLab", "DSLogic", 256 * 1048576ULL}, /* DreamSourceLab DSLogic Plus */ { 0x2a0e, 0x0020, "DreamSourceLab", "DSLogic Plus", NULL, "dreamsourcelab-dslogic-plus-fx2.fw", - 0, "DreamSourceLab", "DSLogic"}, + 0, "DreamSourceLab", "DSLogic", 256 * 1048576ULL}, /* DreamSourceLab DSLogic Basic */ { 0x2a0e, 0x0021, "DreamSourceLab", "DSLogic Basic", NULL, "dreamsourcelab-dslogic-basic-fx2.fw", - 0, "DreamSourceLab", "DSLogic"}, + 0, "DreamSourceLab", "DSLogic", 256 * 1024ULL}, ALL_ZERO }; diff --git a/src/hardware/dslogic/protocol.h b/src/hardware/dslogic/protocol.h index 8e889940..3729e5cd 100644 --- a/src/hardware/dslogic/protocol.h +++ b/src/hardware/dslogic/protocol.h @@ -67,6 +67,9 @@ struct dslogic_profile { const char *usb_manufacturer; const char *usb_product; + + /* Memory depth in bits. */ + uint64_t mem_depth; }; struct dev_context {