Re: [PATCH v3 0/3] can: etas_es58x: report firmware, bootloader and hardware version

From: Andrew Lunn
Date: Mon Nov 14 2022 - 12:09:03 EST


> Do you have any reference of how to dump the other registers?

Have a look at drivers/net/dsa/mv88e6xxx/devlink.c, all the code with
mv88e6xxx_region_. This ethernet switch chip has multiple banks of
registers, one per port of the switch, and two global. It also has a
few other tables which can be interesting to dump in their raw format.
There is also a user space tool to pritty print them.

Andrew