lantiq: fix netdev setup in ltq-ptm-vdsl
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 5 Mar 2015 20:25:18 +0000 (20:25 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 5 Mar 2015 20:25:18 +0000 (20:25 +0000)
commitbeeb798c6d33b3c39fbf0a731d28b2457f1dc857
treee9852936f81d55a3ef948c476e7fc3b83688a3d0
parentcf210cb1368c6712fd630d70c77e2c40a7a07bd9
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44607 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_vdsl.c