*bugfix: skip systembus queue check since GE does not have a systembus
This commit is contained in:
+24
-22
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user