--- zzzz-none-000/linux-2.6.28.10/net/atm/mpc.c 2009-05-02 18:54:43.000000000 +0000 +++ puma5-6360-529/linux-2.6.28.10/net/atm/mpc.c 2010-10-01 08:25:34.000000000 +0000 @@ -566,6 +566,10 @@ return retval; } +#if defined(CONFIG_IFX_PPA_A6) || defined(CONFIG_IFX_PPA_A5) || defined(CONFIG_IFX_PPA_A4) +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; @@ -605,6 +609,10 @@ 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) + if ( ppa_hook_mpoa_setup ) + ppa_hook_mpoa_setup(vcc, 3, 1); // IPoA, LLC +#endif return 0; }