svn commit: r279826 - head/sys/arm/ti/am335x

Ian Lepore ian at FreeBSD.org
Mon Mar 9 21:58:42 UTC 2015


Author: ian
Date: Mon Mar  9 21:58:41 2015
New Revision: 279826
URL: https://svnweb.freebsd.org/changeset/base/279826

Log:
  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.

Modified:
  head/sys/arm/ti/am335x/am335x_dmtimer.c

Modified: head/sys/arm/ti/am335x/am335x_dmtimer.c
==============================================================================
--- head/sys/arm/ti/am335x/am335x_dmtimer.c	Mon Mar  9 21:54:27 2015	(r279825)
+++ head/sys/arm/ti/am335x/am335x_dmtimer.c	Mon Mar  9 21:58:41 2015	(r279826)
@@ -200,7 +200,7 @@ am335x_dmtimer_et_write_4(struct am335x_
  */
 #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)


More information about the svn-src-all mailing list