dslogic: Declare memory depths

This commit is contained in:
Joel Holdsworth 2017-06-14 14:20:12 -06:00 committed by Uwe Hermann
parent 1ee7074616
commit 731fcfb456
2 changed files with 8 additions and 5 deletions

View File

@ -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
};

View File

@ -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 {