kern_tc.c (b7424f2dfbf45d82a9e9f30619e44f3282458fce) | kern_tc.c (de3f88899108b59511d2e5b7cc4f328efa9e4041) |
---|---|
1/*- 2 * Copyright (c) 1997, 1998 Poul-Henning Kamp <phk@FreeBSD.org> 3 * Copyright (c) 1982, 1986, 1991, 1993 4 * The Regents of the University of California. All rights reserved. 5 * (c) UNIX System Laboratories, Inc. 6 * All or some portions of this file are derived from material licensed 7 * to the University of California by American Telephone and Telegraph 8 * Co. or Unix System Laboratories, Inc. and are reproduced herein with --- 857 unchanged lines hidden (view full) --- 866 0, 0, sysctl_kern_timecounter_hardware, "A", ""); 867 868 869int 870pps_ioctl(u_long cmd, caddr_t data, struct pps_state *pps) 871{ 872 pps_params_t *app; 873 struct pps_fetch_args *fapi; | 1/*- 2 * Copyright (c) 1997, 1998 Poul-Henning Kamp <phk@FreeBSD.org> 3 * Copyright (c) 1982, 1986, 1991, 1993 4 * The Regents of the University of California. All rights reserved. 5 * (c) UNIX System Laboratories, Inc. 6 * All or some portions of this file are derived from material licensed 7 * to the University of California by American Telephone and Telegraph 8 * Co. or Unix System Laboratories, Inc. and are reproduced herein with --- 857 unchanged lines hidden (view full) --- 866 0, 0, sysctl_kern_timecounter_hardware, "A", ""); 867 868 869int 870pps_ioctl(u_long cmd, caddr_t data, struct pps_state *pps) 871{ 872 pps_params_t *app; 873 struct pps_fetch_args *fapi; |
874#ifdef PPS_SYNC |
|
874 struct pps_kcbind_args *kapi; | 875 struct pps_kcbind_args *kapi; |
876#endif |
|
875 876 switch (cmd) { 877 case PPS_IOC_CREATE: 878 return (0); 879 case PPS_IOC_DESTROY: 880 return (0); 881 case PPS_IOC_SETPARAMS: 882 app = (pps_params_t *)data; --- 131 unchanged lines hidden --- | 877 878 switch (cmd) { 879 case PPS_IOC_CREATE: 880 return (0); 881 case PPS_IOC_DESTROY: 882 return (0); 883 case PPS_IOC_SETPARAMS: 884 app = (pps_params_t *)data; --- 131 unchanged lines hidden --- |