Re: [PATCH net-next v11 02/12] net: phylink: introduce internal phylink PCS handling
Andrew Lunn <[email protected]>
| Newsgroups | org.infradead.lists.linux-mediatek,dev.linux.lists.llvm,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-doc,org.kernel.vger.linux-kernel,org.kernel.vger.netdev |
|---|---|
| Message-ID | <[email protected]> |
> +++ b/drivers/net/phy/phylink.c
> @@ -60,6 +60,9 @@ struct phylink {
> /* The link configuration settings */
> struct phylink_link_state link_config;
>
> + /* List of available PCS */
> + struct list_head pcs_list;
> +
> /* What interface are supported by the current link.
> * Can change on removal or addition of new PCS.
> */
> @@ -154,6 +157,8 @@ static const phy_interface_t phylink_sfp_interface_preference[] = {
>
> static DECLARE_PHY_INTERFACE_MASK(phylink_sfp_interfaces);
>
> +static void phylink_run_resolve(struct phylink *pl);
forward definitions are not liked. Please add a patch which moves it
earlier.
Andrew