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)
commit4f1b15b8ae9848425f12fb5db74aa6fbe790b18e
treee9852936f81d55a3ef948c476e7fc3b83688a3d0
parentc6a9bb93bfdc61d40361701400b6da5743f944d6
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