diff options
author | David S. Miller <davem@davemloft.net> | 2014-10-28 22:28:30 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-28 22:28:30 +0300 |
commit | 3923d68dc05033aa843b67d73110a6d402ac6e14 (patch) | |
tree | 84f2b9557b6d513f6127056949b4477af152c460 /drivers/net | |
parent | f89b7755f517cdbb755d7543eef986ee9d54e654 (diff) | |
parent | c146b7788e5721ec15bc0197bedf75849508e7ea (diff) | |
download | linux-3923d68dc05033aa843b67d73110a6d402ac6e14.tar.xz |
Merge branch 'dsa-net'
Andrew Lunn says:
====================
DSA tagging mismatches
The second patch is a fix, which should be applied to -rc. It is
possible to get a DSA configuration which does not work. The patch
stops this happening.
The first patch detects this situation, and errors out the probe of
DSA, making it more obvious something is wrong. It is not required to
apply it -rc.
v2 fixes the use case pointed out by Florian, that a switch driver
may use DSA_TAG_PROTO_NONE which the patch did not correctly handle.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/dsa/mv88e6171.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dsa/mv88e6171.c b/drivers/net/dsa/mv88e6171.c index 1020a7af67cf..78d8e876f3aa 100644 --- a/drivers/net/dsa/mv88e6171.c +++ b/drivers/net/dsa/mv88e6171.c @@ -395,7 +395,7 @@ static int mv88e6171_get_sset_count(struct dsa_switch *ds) } struct dsa_switch_driver mv88e6171_switch_driver = { - .tag_protocol = DSA_TAG_PROTO_DSA, + .tag_protocol = DSA_TAG_PROTO_EDSA, .priv_size = sizeof(struct mv88e6xxx_priv_state), .probe = mv88e6171_probe, .setup = mv88e6171_setup, |