|
|
@@ -3924,6 +3924,11 @@ static int mv88e6xxx_smi_init(struct mv88e6xxx_chip *chip,
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
+static enum dsa_tag_protocol mv88e6xxx_get_tag_protocol(struct dsa_switch *ds)
|
|
|
+{
|
|
|
+ return DSA_TAG_PROTO_EDSA;
|
|
|
+}
|
|
|
+
|
|
|
static const char *mv88e6xxx_drv_probe(struct device *dsa_dev,
|
|
|
struct device *host_dev, int sw_addr,
|
|
|
void **priv)
|
|
|
@@ -3967,8 +3972,8 @@ static const char *mv88e6xxx_drv_probe(struct device *dsa_dev,
|
|
|
}
|
|
|
|
|
|
static struct dsa_switch_driver mv88e6xxx_switch_driver = {
|
|
|
- .tag_protocol = DSA_TAG_PROTO_EDSA,
|
|
|
.probe = mv88e6xxx_drv_probe,
|
|
|
+ .get_tag_protocol = mv88e6xxx_get_tag_protocol,
|
|
|
.setup = mv88e6xxx_setup,
|
|
|
.set_addr = mv88e6xxx_set_addr,
|
|
|
.adjust_link = mv88e6xxx_adjust_link,
|