aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/mv88e6xxx/Kconfig
diff options
context:
space:
mode:
authorBrandon Streiff <brandon.streiff@ni.com>2018-02-14 01:07:44 +0100
committerDavid S. Miller <davem@davemloft.net>2018-02-14 14:33:36 -0500
commit0d632c3d6fe3b909fa481ddd51b5cb76ad18f921 (patch)
tree2fbbda7284ad84419948042b7d4be605df240709 /drivers/net/dsa/mv88e6xxx/Kconfig
parentnet: dsa: mv88e6xxx: export g2 register accessors (diff)
downloadlinux-dev-0d632c3d6fe3b909fa481ddd51b5cb76ad18f921.tar.xz
linux-dev-0d632c3d6fe3b909fa481ddd51b5cb76ad18f921.zip
net: dsa: mv88e6xxx: add accessors for PTP/TAI registers
This patch implements support for accessing the Precision Time Protocol and Time Application Interface registers via the AVB register interface in the Global 2 register. The register interface differs slightly between different models; older models use a 3-bit operations field, while newer models use a 2-bit field. The operations values and the special "global port" values are different between the two. This is a similar split to the differences in the "Ingress Rate" register between models, so, like in that case, we call the two variants "6352" and "6390" and create an ops structure to abstract between the two. checkpatch fixups by Andrew Lunn Signed-off-by: Brandon Streiff <brandon.streiff@ni.com> Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/mv88e6xxx/Kconfig')
0 files changed, 0 insertions, 0 deletions