/* Enables forwarding of control frames. When set forwards all the control frames (incl. unicast and multicast PAUSE frames).  */
void synopGMAC_set_pass_control(synopGMACdevice *gmacdev, u32 passcontrol)
/* Enables forwarding of control frames. When set forwards all the control frames (incl. unicast and multicast PAUSE frames).  */
void synopGMAC_set_pass_control(synopGMACdevice *gmacdev, u32 passcontrol)
{
    u32 data;
    data = synopGMACReadReg(gmacdev->MacBase, GmacFrameFilter);
    data &= (~GmacPassControl);
    data |= passcontrol;
    synopGMACWriteReg(gmacdev->MacBase, GmacFrameFilter, data);
    return;
}