lantiq: fix netdev setup in ltq-ptm-vdsl
authorJohn Crispin <blogic@openwrt.org>
Thu, 5 Mar 2015 20:25:18 +0000 (20:25 +0000)
committerJohn Crispin <blogic@openwrt.org>
Thu, 5 Mar 2015 20:25:18 +0000 (20:25 +0000)
commit68e0affb9a8bcf0ba1ad884ba4cae2ead766dc7c
treee9852936f81d55a3ef948c476e7fc3b83688a3d0
parent9a1263b1b939ba1f6dedc2d31aeea2b1330df451
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