timecounting: remove incomplete PPS support
authorcheloha <cheloha@openbsd.org>
Sat, 4 Feb 2023 19:19:35 +0000 (19:19 +0000)
committercheloha <cheloha@openbsd.org>
Sat, 4 Feb 2023 19:19:35 +0000 (19:19 +0000)
commit24ee467d1e5e812429867003c29e5339cd18bad7
tree1937a8c8c1b02fb68f341915791f1d81f73e02e2
parentc8bba2ca155c0e50ac8f9731a172816e373dde14
timecounting: remove incomplete PPS support

The timecounting code has had stubs for pulse-per-second (PPS) polling
since it was imported in 2004.  At this point it seems unlikely that
anyone is going to finish adding PPS support, so let's remove the stubs:

- Delete the dead tc_poll_pps() call from tc_windup().
- Remove all tc_poll_pps symbols from the kernel.

Link: https://marc.info/?l=openbsd-tech&m=167519035723210&w=2
ok miod@
31 files changed:
share/man/man9/tc_init.9
sys/arch/alpha/alpha/clock.c
sys/arch/amd64/amd64/tsc.c
sys/arch/amd64/isa/clock.c
sys/arch/arm/cortex/agtimer.c
sys/arch/arm/cortex/amptimer.c
sys/arch/arm64/dev/agtimer.c
sys/arch/armv7/omap/dmtimer.c
sys/arch/armv7/omap/gptimer.c
sys/arch/armv7/sunxi/sxitimer.c
sys/arch/hppa/dev/clock.c
sys/arch/i386/isa/clock.c
sys/arch/i386/pci/geodesc.c
sys/arch/i386/pci/gscpm.c
sys/arch/i386/pci/ichpcib.c
sys/arch/loongson/loongson/generic3a_machdep.c
sys/arch/macppc/macppc/clock.c
sys/arch/mips64/mips64/mips64_machdep.c
sys/arch/octeon/octeon/machdep.c
sys/arch/powerpc64/powerpc64/clock.c
sys/arch/riscv64/riscv64/clock.c
sys/arch/sparc64/dev/psycho.c
sys/arch/sparc64/sparc64/clock.c
sys/dev/acpi/acpihpet.c
sys/dev/acpi/acpitimer.c
sys/dev/pci/amdpm.c
sys/dev/pci/viapm.c
sys/dev/pv/hyperv.c
sys/dev/pv/pvclock.c
sys/kern/kern_tc.c
sys/sys/timetc.h