lantiq: fix netdev setup in ltq-ptm-vdsl
authorJohn Crispin <john@openwrt.org>
Thu, 5 Mar 2015 20:25:18 +0000 (20:25 +0000)
committerJohn Crispin <john@openwrt.org>
Thu, 5 Mar 2015 20:25:18 +0000 (20:25 +0000)
commit0d414e1c78bf85232e9597a53a715974578ede6c
treec510c8ebcde4d72daa09ce408cc61e3774f4e351
parent700a53f8e26898cc12f87d1e8902c6071772fece
lantiq: fix netdev setup in ltq-ptm-vdsl

The initial fix for 3.18 in r44346 wrongly treated the newly added
parameter of alloc_netdev to be another function pointer, causing
ether_config to be skipped during ptm netdev init.
Fix this by partially reverting r44346 and properly setting the newly
added macro parameter.
(Tested on VRX200 board)

A similar change might be needed for ltq-ptm-adsl as well.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 44607
package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_vdsl.c