drivers: net: ethernet: cpsw: get slave VLAN id from slave node instead of cpsw node
authorMugunthan V N <mugunthanvnm@ti.com>
Mon, 15 Apr 2013 07:31:28 +0000 (07:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Apr 2013 18:14:40 +0000 (14:14 -0400)
commit91c4166c1a01c00b8bed74f7a7defa620071de88
treebfc2f03895d9e544a22c29807964810148b42b2d
parentee40a116ebf139f900c3d2e6febb8388738e96d0
drivers: net: ethernet: cpsw: get slave VLAN id from slave node instead of cpsw node

Dual EMAC slave VLAN id must be got from slave node instead of cpsw node as
VLAN id for each slave will be different.

Reported-by: Mark Jackson <mpfj-list@mimc.co.uk>
Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c