*bugfix: skip systembus queue check since GE does not have a systembus

This commit is contained in:
Gatsby Van
2024-01-25 10:46:34 +08:00
parent 00d568e6e7
commit 38359c72b6
+24 -22
View File
@@ -480,26 +480,28 @@ int main(void)
Linklayer_Start(linkInstPtr); Linklayer_Start(linkInstPtr);
while (true) while (true);
{
// System bus handler // while (true)
if (SystemBus_IsReqPendding(sysbusDescPtr)) // {
{ // // System bus handler
Status = SystemBus_HandleCmd(sysbusDescPtr); // if (SystemBus_IsReqPendding(sysbusDescPtr))
if (Status != SUCCESS) // {
{ // Status = SystemBus_HandleCmd(sysbusDescPtr);
DBG_ERROR("SystemBus_HandleCmd exit with ErrorCode: %d.\n", Status); // if (Status != SUCCESS)
} // {
} // DBG_ERROR("SystemBus_HandleCmd exit with ErrorCode: %d.\n", Status);
if (SystemBus_IsRsqPendding(sysbusDescPtr) && (!SystemBus_IsTxBusy(sysbusDescPtr))) // }
{ // }
// FIXME: Required by 12 (CASC) // if (SystemBus_IsRsqPendding(sysbusDescPtr) && (!SystemBus_IsTxBusy(sysbusDescPtr)))
udelay(200); // {
Status = SystemBus_MakeResp(sysbusDescPtr); // // FIXME: Required by 12 (CASC)
if (Status != SUCCESS) // udelay(200);
{ // Status = SystemBus_MakeResp(sysbusDescPtr);
DBG_ERROR("SystemBus_HandleCmd exit with ErrorCode: %d.\n", Status); // if (Status != SUCCESS)
} // {
} // DBG_ERROR("SystemBus_HandleCmd exit with ErrorCode: %d.\n", Status);
} // }
// }
// }
} // main } // main