Change the name of the dmtimer pps device from /dev/ppsN to /dev/dmtppsN.

ntpd is hard-coded to use /dev/ppsN, and typically when multiple PPS sources
are available the sysadmin will symlink the right one(s) to /dev/ppsN, so
it's best to not usurp those names directly.
This commit is contained in:
Ian Lepore 2015-03-09 21:58:41 +00:00
parent f61d8cc6fe
commit 3e096b705c

View File

@ -200,7 +200,7 @@ am335x_dmtimer_et_write_4(struct am335x_dmtimer_softc *sc, uint32_t reg,
*/
#ifdef PPS_SYNC
#define PPS_CDEV_NAME "pps"
#define PPS_CDEV_NAME "dmtpps"
static void
am335x_dmtimer_set_capture_mode(struct am335x_dmtimer_softc *sc, bool force_off)