Implement Silicom card features #1

Merged
DataHoarder merged 12 commits from implement-silicom-card into master 2021-10-28 05:16:53 +00:00
Showing only changes of commit 8e575c6274 - Show all commits

View file

@ -4713,6 +4713,10 @@ fm_status fmPlatformLibGetPortXcvrState(fm_int sw,
xcvrState[cnt] |= FM_PLAT_XCVR_PRESENT;
}
}
else if (offset == UINT_NOT_USED)
{
xcvrState[cnt] |= FM_PLAT_XCVR_PRESENT;
}
offset = xcvrIo->u.qsfpPin.intrN;
if ((offset != UINT_NOT_USED) && (offset < NUM_PCA_PINS))
@ -4740,6 +4744,10 @@ fm_status fmPlatformLibGetPortXcvrState(fm_int sw,
xcvrState[cnt] |= FM_PLAT_XCVR_LPMODE;
}
}
else if (offset == UINT_NOT_USED)
{
xcvrState[cnt] |= FM_PLAT_XCVR_LPMODE;
}
offset = xcvrIo->u.qsfpPin.resetN;
if ((offset != UINT_NOT_USED) && (offset < NUM_PCA_PINS))