forked from luck/tmp_suning_uos_patched
net: dsa: mv88e6131: use EDSA tag protocol
6131 is the only driver to set the tag protocol to DSA_TAG_PROTO_DSA. Since it works fine with DSA_TAG_PROTO_EDSA, change its value, like all other mv88e6xxx drivers. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
a1a6a4d1f7
commit
b9729e53ad
|
@ -17,7 +17,7 @@ config NET_DSA_MV88E6131
|
||||||
tristate "Marvell 88E6085/6095/6095F/6131 ethernet switch chip support"
|
tristate "Marvell 88E6085/6095/6095F/6131 ethernet switch chip support"
|
||||||
depends on NET_DSA
|
depends on NET_DSA
|
||||||
select NET_DSA_MV88E6XXX
|
select NET_DSA_MV88E6XXX
|
||||||
select NET_DSA_TAG_DSA
|
select NET_DSA_TAG_EDSA
|
||||||
---help---
|
---help---
|
||||||
This enables support for the Marvell 88E6085/6095/6095F/6131
|
This enables support for the Marvell 88E6085/6095/6095F/6131
|
||||||
ethernet switch chips.
|
ethernet switch chips.
|
||||||
|
|
|
@ -59,7 +59,7 @@ static const char *mv88e6131_drv_probe(struct device *dsa_dev,
|
||||||
}
|
}
|
||||||
|
|
||||||
struct dsa_switch_driver mv88e6131_switch_driver = {
|
struct dsa_switch_driver mv88e6131_switch_driver = {
|
||||||
.tag_protocol = DSA_TAG_PROTO_DSA,
|
.tag_protocol = DSA_TAG_PROTO_EDSA,
|
||||||
.probe = mv88e6131_drv_probe,
|
.probe = mv88e6131_drv_probe,
|
||||||
.setup = mv88e6xxx_setup,
|
.setup = mv88e6xxx_setup,
|
||||||
.set_addr = mv88e6xxx_set_addr,
|
.set_addr = mv88e6xxx_set_addr,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user