net: fman: Don't pass comm_mode to enable/disable
mac_priv_s->enable() and ->disable() are always called with a comm_mode of COMM_MODE_RX_AND_TX. Remove this parameter, and refactor the macs appropriately. Signed-off-by: NSean Anderson <sean.anderson@seco.com> Acked-by: NCamelia Groza <camelia.groza@nxp.com> Tested-by: NCamelia Groza <camelia.groza@nxp.com> Signed-off-by: NJakub Kicinski <kuba@kernel.org>
Showing
想要评论请 注册 或 登录