2015-05-29 20:59 GMT+03:00 Andrew Lunn and...@lunn.ch:
On Fri, May 29, 2015 at 10:36:49AM -0700, Mathieu Olivari wrote:
Alternatively, we could have something similar to what happens for the phy
in the wireless subsystems. Wireless PHYs are not registered as net_device
but they can still be
...@resnulli.us; lei...@staticky.com; f...@skynet.be;
pavel.nakonec...@skitlab.ru; j...@perches.com; sfel...@gmail.com;
n...@openwrt.org; juh...@openwrt.org; devicet...@vger.kernel.org;
linux-ker...@vger.kernel.org; netdev@vger.kernel.org
Subject: Re: [PATCH 3/7] net: dsa: ar8xxx: add regmap support
On Fri, May 29, 2015 at 10:36:49AM -0700, Mathieu Olivari wrote:
Alternatively, we could have something similar to what happens for the phy
in the wireless subsystems. Wireless PHYs are not registered as net_device
but they can still be listed, queried or configured through netlink.
It is a
All switch registers can now be dumped using regmap/debugfs.
\# cat /sys/kernel/debug/regmap/mdiobus/registers
: 1302
0004: ...
...
Signed-off-by: Mathieu Olivari math...@codeaurora.org
---
drivers/net/dsa/Kconfig | 1 +
drivers/net/dsa/ar8xxx.c | 60
Le 05/28/15 18:42, Mathieu Olivari a écrit :
All switch registers can now be dumped using regmap/debugfs.
\# cat /sys/kernel/debug/regmap/mdiobus/registers
: 1302
0004: ...
...
ethtool has a register dump command, which should already be supported
by the current code in
Fair enough, are there other global things besides counters that could
deserve adding maybe some sort of global/master net_device to help query
switch-wide information?
This was discussed a while back. I like the current abstraction, all
interfaces are real interfaces you can send and receive