diff options
author | Andrew Lunn <andrew@lunn.ch> | 2015-06-20 19:42:28 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-06-23 16:33:39 +0300 |
commit | 87c8cefb103abab526e8722b12f3bdcf3fa74da7 (patch) | |
tree | 1a093091826a2c8aeb15dc3fc4cfa68d22c7c80e /drivers/net/dsa/mv88e6xxx.h | |
parent | 45dac1d6ea045ae56e4df8d9c70c92c7412bd4fc (diff) | |
download | linux-87c8cefb103abab526e8722b12f3bdcf3fa74da7.tar.xz |
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 'drivers/net/dsa/mv88e6xxx.h')
-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 { |