Date: Wed, 1 Mar 2017 21:20:28 +0000 (UTC) From: Ian Lepore <ian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r314516 - stable/11/sys/dev/ffec Message-ID: <201703012120.v21LKSr5019530@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ian Date: Wed Mar 1 21:20:28 2017 New Revision: 314516 URL: https://svnweb.freebsd.org/changeset/base/314516 Log: MFC r313918: Add definitions for the IEEE-1588 registers. Modified: stable/11/sys/dev/ffec/if_ffecreg.h Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/dev/ffec/if_ffecreg.h ============================================================================== --- stable/11/sys/dev/ffec/if_ffecreg.h Wed Mar 1 21:19:46 2017 (r314515) +++ stable/11/sys/dev/ffec/if_ffecreg.h Wed Mar 1 21:20:28 2017 (r314516) @@ -186,6 +186,27 @@ __FBSDID("$FreeBSD$"); #define FEC_RACC_PADREM (1 << 0) /* + * IEEE-1588 timer registers + */ + +#define FEC_ATCR_REG 0x0400 +#define FEC_ATCR_SLAVE (1u << 13) +#define FEC_ATCR_CAPTURE (1u << 11) +#define FEC_ATCR_RESTART (1u << 9) +#define FEC_ATCR_PINPER (1u << 7) +#define FEC_ATCR_PEREN (1u << 4) +#define FEC_ATCR_OFFRST (1u << 3) +#define FEC_ATCR_OFFEN (1u << 2) +#define FEC_ATCR_EN (1u << 0) + +#define FEC_ATVR_REG 0x0404 +#define FEC_ATOFF_REG 0x0408 +#define FEC_ATPER_REG 0x040c +#define FEC_ATCOR_REG 0x0410 +#define FEC_ATINC_REG 0x0414 +#define FEC_ATSTMP_REG 0x0418 + +/* * Statistics registers */ #define FEC_RMON_T_DROP 0x200
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703012120.v21LKSr5019530>