Fix "ls: not found" problem during buildworld. mdate.sh script
[dragonfly.git] / sys / sys / xrpuio.h
blob0a53a98888b4a41b791569c16321e78fd29bf064
1 /*
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.2 2003/06/17 04:28:59 dillon Exp $
14 #ifndef _SYS_XRPUIO_H_
15 #define _SYS_XRPUIO_H_
17 #include <sys/ioccom.h>
19 #define XRPU_MAX_PPS 16
20 struct xrpu_timecounting {
22 /* The timecounter itself */
23 u_int xt_addr_trigger;
24 u_int xt_addr_latch;
25 unsigned xt_mask;
26 u_int32_t xt_frequency;
27 char xt_name[16];
29 /* The PPS latches */
30 struct {
31 u_int xt_addr_assert;
32 u_int xt_addr_clear;
33 } xt_pps[XRPU_MAX_PPS];
36 #define XRPU_IOC_TIMECOUNTING _IOW('6', 1, struct xrpu_timecounting)
38 #endif /* _SYS_XRPUIO_H_ */