diff --git a/target/linux/realtek/files-6.18/drivers/net/pcs/pcs-rtl-otto.c b/target/linux/realtek/files-6.18/drivers/net/pcs/pcs-rtl-otto.c index 14ea03b1cd..e2af24b105 100644 --- a/target/linux/realtek/files-6.18/drivers/net/pcs/pcs-rtl-otto.c +++ b/target/linux/realtek/files-6.18/drivers/net/pcs/pcs-rtl-otto.c @@ -3823,7 +3823,8 @@ static int rtpcs_931x_init(struct rtpcs_ctrl *ctrl) /* Common functions */ -static void rtpcs_pcs_get_state(struct phylink_pcs *pcs, struct phylink_link_state *state) +static void rtpcs_pcs_get_state(struct phylink_pcs *pcs, unsigned int neg_mode, + struct phylink_link_state *state) { struct rtpcs_link *link = rtpcs_phylink_pcs_to_link(pcs); struct rtpcs_ctrl *ctrl = link->ctrl; @@ -3995,7 +3996,6 @@ struct phylink_pcs *rtpcs_create(struct device *dev, struct device_node *np, int link->port = port; link->sds = sds; link->pcs.ops = ctrl->cfg->pcs_ops; - link->pcs.neg_mode = true; ctrl->link[port] = link;