emacps_v3_0: Removed compilation error and warning in emacps.
This patch removes the compilation error and warning in the emacps driver. Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
This commit is contained in:
parent
df34d489a9
commit
a0a72be451
2 changed files with 2 additions and 2 deletions
|
@ -653,11 +653,11 @@ u32 XEmacPs_BdRingFromHwTx(XEmacPs_BdRing * RingPtr, u32 BdLimit,
|
|||
u32 BdCount;
|
||||
u32 BdPartialCount;
|
||||
u32 Sop = 0U;
|
||||
u32 Status;
|
||||
u32 BdLimitLoc = BdLimit;
|
||||
CurBdPtr = RingPtr->HwHead;
|
||||
BdCount = 0U;
|
||||
BdPartialCount = 0U;
|
||||
u32 Status;
|
||||
|
||||
/* If no BDs in work group, then there's nothing to search */
|
||||
if (RingPtr->HwCnt == 0x00000000U) {
|
||||
|
|
|
@ -146,7 +146,7 @@ void XEmacPs_IntrHandler(void *XEmacPsPtr)
|
|||
u32 RegISR;
|
||||
u32 RegSR;
|
||||
u32 RegCtrl;
|
||||
u32 RegQ1ISR;
|
||||
u32 RegQ1ISR = 0U;
|
||||
XEmacPs *InstancePtr = (XEmacPs *) XEmacPsPtr;
|
||||
|
||||
Xil_AssertVoid(InstancePtr != NULL);
|
||||
|
|
Loading…
Add table
Reference in a new issue