On 10/22/2014 09:40 PM, Florian Fainelli wrote:
2014-10-22 21:03 GMT-07:00 Guenter Roeck :
Add support for reading switch registers with 'ethtool -d'.
Signed-off-by: Guenter Roeck
---
[snip]
+static int dsa_slave_get_regs_len(struct net_device *dev)
+{
+ struct dsa_slave_priv *p =
2014-10-22 21:03 GMT-07:00 Guenter Roeck :
> Add support for reading switch registers with 'ethtool -d'.
>
> Signed-off-by: Guenter Roeck
> ---
[snip]
>
> +static int dsa_slave_get_regs_len(struct net_device *dev)
> +{
> + struct dsa_slave_priv *p = netdev_priv(dev);
> + struct
Add support for reading switch registers with 'ethtool -d'.
Signed-off-by: Guenter Roeck
---
include/net/dsa.h | 7 +++
net/dsa/slave.c | 22 ++
2 files changed, 29 insertions(+)
diff --git a/include/net/dsa.h b/include/net/dsa.h
index 73146b7..edc5e71 100644
---
Add support for reading switch registers with 'ethtool -d'.
Signed-off-by: Guenter Roeck li...@roeck-us.net
---
include/net/dsa.h | 7 +++
net/dsa/slave.c | 22 ++
2 files changed, 29 insertions(+)
diff --git a/include/net/dsa.h b/include/net/dsa.h
index
2014-10-22 21:03 GMT-07:00 Guenter Roeck li...@roeck-us.net:
Add support for reading switch registers with 'ethtool -d'.
Signed-off-by: Guenter Roeck li...@roeck-us.net
---
[snip]
+static int dsa_slave_get_regs_len(struct net_device *dev)
+{
+ struct dsa_slave_priv *p =
On 10/22/2014 09:40 PM, Florian Fainelli wrote:
2014-10-22 21:03 GMT-07:00 Guenter Roeck li...@roeck-us.net:
Add support for reading switch registers with 'ethtool -d'.
Signed-off-by: Guenter Roeck li...@roeck-us.net
---
[snip]
+static int dsa_slave_get_regs_len(struct net_device *dev)
+{
6 matches
Mail list logo