aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorYousong Zhou <yszhou4tech@gmail.com>2020-02-06 17:17:17 +0800
committerYousong Zhou <yszhou4tech@gmail.com>2020-03-03 23:06:00 +0800
commitd83150e3fb0f78c2e11df04b57e75ea7ddd5544a (patch)
treec511b8a723b15678da4f5cb8110201a5a0e293f2 /target/linux
parent2408f2f08fede7c0a7390da442d164c67df152b3 (diff)
downloadupstream-d83150e3fb0f78c2e11df04b57e75ea7ddd5544a.tar.gz
upstream-d83150e3fb0f78c2e11df04b57e75ea7ddd5544a.tar.bz2
upstream-d83150e3fb0f78c2e11df04b57e75ea7ddd5544a.zip
ramips: mt7530: more detailed output for unexpected etag_ctrl
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mt7530.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mt7530.c b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mt7530.c
index 8ffd614d9f..d1e56a76e9 100644
--- a/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mt7530.c
+++ b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mt7530.c
@@ -435,7 +435,8 @@ mt7530_get_vlan_ports(struct switch_dev *dev, struct switch_val *val)
if (etag == ETAG_CTRL_TAG)
p->flags |= BIT(SWITCH_PORT_FLAG_TAGGED);
else if (etag != ETAG_CTRL_UNTAG)
- printk("vlan egress tag control neither untag nor tag.\n");
+ printk("vlan %d port %d egress tag control neither untag nor tag: %d.\n",
+ val->port_vlan, i, etag);
}
return 0;