Has anyone had a chance to look into this?
I have a workaround (use CSL_MDIO_isMaskedUserCmdCompleteIntSet() inside the ISR to see if interrupt is real) at the moment, but am hoping to get this software configured correctly:
void MdioTransferIsr(void)
{
CSL_MDIO_USERACCESS oReg;
CSL_MDIO_getUserAccessRegister(1, &oReg);
// Only post to the mailbox if legitimate interrupt went off.
// TODO: Fix this.
if(CSL_MDIO_isMaskedUserCmdCompleteIntSet(1))
{
Mailbox_post(mbx_mdio_rcv, &oReg, 0);
}
// Clear the interrupts.
CSL_MDIO_clearMaskedUserCmdCompleteInt(1);
CSL_MDIO_clearUnmaskedUserCmdCompleteInt(1);
}