]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: extract single VLAN retrieval
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Fri, 26 Feb 2016 18:16:01 +0000 (13:16 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Mar 2016 21:24:51 +0000 (16:24 -0500)
commit2519de2df725584aed31e76132df9ae337e0cd17
treef43e865c235a452022f472522ee40f57eabcf906
parent747b6ee2d68484d08c5d785cdb3a70e18cde1988
net: dsa: mv88e6xxx: extract single VLAN retrieval

Rename _mv88e6xxx_vlan_init in _mv88e6xxx_vtu_new, eventually called
from a new _mv88e6xxx_vtu_get function, which abstracts the VTU GetNext
VID-1 trick to retrieve a single entry.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx.c