--- zzzz-none-000/linux-2.6.32.60/net/atm/mpc.c 2012-10-07 21:41:24.000000000 +0000 +++ ur8-7270-606/linux-2.6.32.60/net/atm/mpc.c 2012-01-10 08:39:55.000000000 +0000 @@ -564,6 +564,10 @@ return mpc->old_ops->ndo_start_xmit(skb,dev); } +#if defined(CONFIG_IFX_PPA_A6) || defined(CONFIG_IFX_PPA_A5) || defined(CONFIG_IFX_PPA_A4) || defined(CONFIG_IFX_PPA_DATAPATH_MODULE) +extern void (*ppa_hook_mpoa_setup)(struct atm_vcc *, int, int); +#endif + static int atm_mpoa_vcc_attach(struct atm_vcc *vcc, void __user *arg) { int bytes_left; @@ -603,6 +607,12 @@ vcc->proto_data = mpc->dev; vcc->push = mpc_push; +#if defined(CONFIG_IFX_PPA_A6) || defined(CONFIG_IFX_PPA_A5) || defined(CONFIG_IFX_PPA_A4) || defined(CONFIG_IFX_PPA_DATAPATH_MODULE) + if ( ppa_hook_mpoa_setup ){ + ppa_hook_mpoa_setup(vcc, 3, 1); // IPoA, LLC + printk(KERN_ERR "[%s] %d ppa_hook_mpoa_setup=%pF\n", __func__, __LINE__, ppa_hook_mpoa_setup); + } +#endif return 0; }