--- zzzz-none-000/linux-4.9.218/net/atm/mpc.c 2020-04-02 15:20:41.000000000 +0000 +++ seale-7590ac-750/linux-4.9.218/net/atm/mpc.c 2022-11-30 09:46:20.000000000 +0000 @@ -30,6 +30,7 @@ /* Modular too */ #include +#include "common.h" #include "lec.h" #include "mpc.h" #include "resources.h" @@ -601,7 +602,6 @@ non_ip: return __netdev_start_xmit(mpc->old_ops, skb, dev, false); } - static int atm_mpoa_vcc_attach(struct atm_vcc *vcc, void __user *arg) { int bytes_left; @@ -644,7 +644,10 @@ vcc->proto_data = mpc->dev; vcc->push = mpc_push; - +#if IS_ENABLED(CONFIG_ATM_MPOA_INTEL_DSL_PHY_SUPPORT) + if (atm_hook_mpoa_setup) /* IPoA, LLC */ + atm_hook_mpoa_setup(vcc, 3, 1, mpc->dev); +#endif return 0; }