diff options
author | Mandy Lavi <mandy.lavi@freescale.com> | 2013-09-30 11:01:28 (GMT) |
---|---|---|
committer | Madalin-Cristian Bucur <madalin.bucur@freescale.com> | 2014-01-06 14:46:03 (GMT) |
commit | d4dbebaa8b97e5632ea3e30d33789b77ccc046af (patch) | |
tree | 72c2f8c2ff675d6c16a4d521b4225fdb2648db8a | |
parent | e28d0bd9153f41b1e83abf231852a13a25864e6c (diff) | |
download | linux-fsl-qoriq-d4dbebaa8b97e5632ea3e30d33789b77ccc046af.tar.xz |
fmd: remove an obsolite setting related to Errors-To-Discard default value
This configuration can now be handled via chosen-node mechanism
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
Change-Id: Id8a79bd073892b81323c4f367a23acbf272bce37
Reviewed-on: http://git.am.freescale.net:8181/6110
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Liron Himi <Liron.Himi@freescale.com>
Reviewed-by: Thomas Trefny <Tom.Trefny@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/7673
Reviewed-by: Madalin-Cristian Bucur <madalin.bucur@freescale.com>
Tested-by: Madalin-Cristian Bucur <madalin.bucur@freescale.com>
-rw-r--r-- | drivers/net/ethernet/freescale/fman/src/wrapper/lnxwrp_fm_port.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/net/ethernet/freescale/fman/src/wrapper/lnxwrp_fm_port.c b/drivers/net/ethernet/freescale/fman/src/wrapper/lnxwrp_fm_port.c index 577c7ad..a8cd7bf 100644 --- a/drivers/net/ethernet/freescale/fman/src/wrapper/lnxwrp_fm_port.c +++ b/drivers/net/ethernet/freescale/fman/src/wrapper/lnxwrp_fm_port.c @@ -800,14 +800,6 @@ static t_Error InitFmPortDev(t_LnxWrpFmPortDev *p_LnxWrpFmPortDev) #endif #endif - if ((p_LnxWrpFmPortDev->settings.param.portType != e_FM_PORT_TYPE_TX) && - (p_LnxWrpFmPortDev->settings.param.portType != e_FM_PORT_TYPE_TX_10G)) { - if (FM_PORT_ConfigErrorsToDiscard(p_LnxWrpFmPortDev->h_Dev, (FM_PORT_FRM_ERR_IPRE | - FM_PORT_FRM_ERR_IPR_NCSP | - FM_PORT_FRM_ERR_CLS_DISCARD)) !=E_OK) - RETURN_ERROR(MAJOR, E_INVALID_STATE, NO_MSG); - } - if (CheckNConfigFmPortAdvArgs(p_LnxWrpFmPortDev) != E_OK) RETURN_ERROR(MAJOR, E_INVALID_STATE, NO_MSG); |