]> git.karo-electronics.de Git - linux-beck.git/blobdiff - drivers/net/dsa/mv88e6171.c
Merge tag 'v3.18-rc1' into for_next
[linux-beck.git] / drivers / net / dsa / mv88e6171.c
index 6365e30138af7e613a9ad2dc4b27a79f583142a9..1020a7af67cf6d8bbaf5016d2367454c63b393da 100644 (file)
@@ -206,7 +206,7 @@ static int mv88e6171_setup_port(struct dsa_switch *ds, int p)
         */
        val = 0x0433;
        if (dsa_is_cpu_port(ds, p)) {
-               if (ds->dst->tag_protocol == htons(ETH_P_EDSA))
+               if (ds->dst->tag_protocol == DSA_TAG_PROTO_EDSA)
                        val |= 0x3300;
                else
                        val |= 0x0100;