Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 May 2014 22:13:38 +0000 (UTC)
From:      "Kenneth D. Merry" <ken@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r265473 - head/sys/dev/mpr
Message-ID:  <201405062213.s46MDcVE064468@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ken
Date: Tue May  6 22:13:38 2014
New Revision: 265473
URL: http://svnweb.freebsd.org/changeset/base/265473

Log:
  Change the device name for mpr(4) from /dev/mpr_N to /dev/mprN.
  
  This is more consistent with the existing mps(4) behavior.
  
  Reviewed by:	Steve McConnell <stephen.mcconnell@avagotech.com>
  MFC after:	3 days

Modified:
  head/sys/dev/mpr/mpr_user.c

Modified: head/sys/dev/mpr/mpr_user.c
==============================================================================
--- head/sys/dev/mpr/mpr_user.c	Tue May  6 22:06:39 2014	(r265472)
+++ head/sys/dev/mpr/mpr_user.c	Tue May  6 22:13:38 2014	(r265473)
@@ -212,7 +212,7 @@ mpr_attach_user(struct mpr_softc *sc)
 
 	unit = device_get_unit(sc->mpr_dev);
 	sc->mpr_cdev = make_dev(&mpr_cdevsw, unit, UID_ROOT, GID_OPERATOR,
-	    0640, "mpr_%d", unit);
+	    0640, "mpr%d", unit);
 	if (sc->mpr_cdev == NULL) {
 		return (ENOMEM);
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405062213.s46MDcVE064468>