]> git.karo-electronics.de Git - linux-beck.git/commitdiff
net: dsa: mv88e6xxx: Use EDSA on mv88e6097
authorStefan Eichenberger <eichest@gmail.com>
Mon, 5 Dec 2016 13:12:42 +0000 (14:12 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Dec 2016 15:17:02 +0000 (10:17 -0500)
Use DSA_TAG_PROTO_EDSA as tag_protocol for the mv88e6097. The
initialisation was missing before.

Fixes: a1f482aa8c33 ("net: dsa: mv88e6xxx: Move the tagging protocol into info")
Signed-off-by: Stefan Eichenberger <stefan.eichenberger@netmodule.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c

index ca453f3243cd59bbf54e95290fed8b0b8a1bace0..7a6c587839146d7cd0c37fb654b5c51bfc8e06c2 100644 (file)
@@ -3861,6 +3861,7 @@ static const struct mv88e6xxx_info mv88e6xxx_table[] = {
                .global1_addr = 0x1b,
                .age_time_coeff = 15000,
                .g1_irqs = 8,
+               .tag_protocol = DSA_TAG_PROTO_EDSA,
                .flags = MV88E6XXX_FLAGS_FAMILY_6097,
                .ops = &mv88e6097_ops,
        },