2 * ----------------------------------------------------------------------------
3 * "THE BEER-WARE LICENSE" (Revision 42):
4 * <phk@FreeBSD.org> wrote this file. As long as you retain this notice you
5 * can do whatever you want with this stuff. If we meet some day, and you think
6 * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
7 * ----------------------------------------------------------------------------
9 * $FreeBSD: src/sys/sys/xrpuio.h,v 1.2 1999/08/28 00:52:12 peter Exp $
10 * $DragonFly: src/sys/sys/Attic/xrpuio.h,v 1.3 2006/05/20 02:42:13 dillon Exp $
14 #ifndef _SYS_XRPUIO_H_
15 #define _SYS_XRPUIO_H_
18 #include <sys/types.h>
20 #ifndef _SYS_IOCCOM_H_
21 #include <sys/ioccom.h>
24 #define XRPU_MAX_PPS 16
25 struct xrpu_timecounting {
27 /* The timecounter itself */
28 u_int xt_addr_trigger;
31 u_int32_t xt_frequency;
38 } xt_pps[XRPU_MAX_PPS];
41 #define XRPU_IOC_TIMECOUNTING _IOW('6', 1, struct xrpu_timecounting)
43 #endif /* _SYS_XRPUIO_H_ */