diff options
author | Andrew Lunn <andrew@lunn.ch> | 2015-06-20 18:42:28 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-06-23 06:33:39 -0700 |
commit | 87c8cefb103abab526e8722b12f3bdcf3fa74da7 (patch) | |
tree | 1a093091826a2c8aeb15dc3fc4cfa68d22c7c80e /drivers/net/dsa/mv88e6xxx.h | |
parent | vmxnet3: Changes for vmxnet3 adapter version 2 (fwd) (diff) | |
download | linux-dev-87c8cefb103abab526e8722b12f3bdcf3fa74da7.tar.xz linux-dev-87c8cefb103abab526e8722b12f3bdcf3fa74da7.zip |
dsa: mv88e6xxx: Add debugfs interface for registers
Allow the contents of the registers to be shown in debugfs.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r-- | drivers/net/dsa/mv88e6xxx.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/dsa/mv88e6xxx.h b/drivers/net/dsa/mv88e6xxx.h index e10ccdb4ffbc..5fc291cbdae0 100644 --- a/drivers/net/dsa/mv88e6xxx.h +++ b/drivers/net/dsa/mv88e6xxx.h @@ -339,6 +339,8 @@ struct mv88e6xxx_priv_state { u8 port_state[DSA_MAX_PORTS]; struct work_struct bridge_work; + + struct dentry *dbgfs; }; struct mv88e6xxx_hw_stat { |