aboutsummaryrefslogtreecommitdiffstats
path: root/net/dsa/mv88e6xxx.h
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-04-05 03:03:56 +0000
committerDavid S. Miller <davem@davemloft.net>2011-04-06 13:32:53 -0700
commitec80bfcb68a0c46443991991d459a0cde773cdea (patch)
treefe4e35db09c18c44b89b55189aa4594218b5fff4 /net/dsa/mv88e6xxx.h
parentipv6: Enable RFS sk_rxhash tracking for ipv6 sockets (v2) (diff)
downloadlinux-dev-ec80bfcb68a0c46443991991d459a0cde773cdea.tar.xz
linux-dev-ec80bfcb68a0c46443991991d459a0cde773cdea.zip
dsa/mv88e6131: add support for mv88e6085 switch
The mv88e6085 is identical to the mv88e6095, except that all ports are 10/100 Mb/s, so use the existing setup code except for the cpu/dsa speed selection in _setup_port(). Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> Acked-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/mv88e6xxx.h')
-rw-r--r--net/dsa/mv88e6xxx.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/dsa/mv88e6xxx.h b/net/dsa/mv88e6xxx.h
index eb0e0aaa9f1b..61156ca26a0d 100644
--- a/net/dsa/mv88e6xxx.h
+++ b/net/dsa/mv88e6xxx.h
@@ -39,6 +39,8 @@ struct mv88e6xxx_priv_state {
* Hold this mutex over snapshot + dump sequences.
*/
struct mutex stats_mutex;
+
+ int id; /* switch product id */
};
struct mv88e6xxx_hw_stat {