*feature add: add systembus config command support

This commit is contained in:
Gatsby Van
2024-01-29 18:43:25 +08:00
parent 463836b92a
commit 0496e6a2f6
3 changed files with 76 additions and 12 deletions
+3 -3
View File
@@ -77,14 +77,14 @@ struct callback_desc scutm_callback_desc = {
.ctx = NULL
};
static L2_CONFIG linkConfig = {
L2_CONFIG linkConfig = {
.myType = L2_NODE_HEAD,
.clustId = 1,
.myId = 1,
.headId = 1,
.bkpHeadId = 0,
.netScale = 2,
.phyInstPtr = NULL, // pyhsical layer reference
.phyInstPtr = NULL, // physical layer reference
.tmcInstPtr = NULL
};
@@ -124,7 +124,7 @@ static struct timer_desc *logTmPtr;
static SYSBUS *sysbusDescPtr;
static PHY_INST *phyInstPtr;
static TMC_INST *tmcInstPtr = NULL;
static L2_INST *linkInstPtr;
L2_INST *linkInstPtr;
/****************************************************************************/
/**