Re: [PATCH 3/7] net: dsa: ar8xxx: add regmap support

From: Florian Fainelli
Date: Thu May 28 2015 - 21:58:29 EST


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
> 0000: 00001302
> 0004: ...
> ...

ethtool has a register dump command, which should already be supported
by the current code in net/dsa/slave.c, is there a particular reason why
you use debugfs here instead?
--
Florian
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/