Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Nov 2012 15:06:09 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r243078 - head/sys/dev/mfi
Message-ID:  <201211151506.qAFF69YE003941@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Thu Nov 15 15:06:09 2012
New Revision: 243078
URL: http://svnweb.freebsd.org/changeset/base/243078

Log:
  Add deviceid to the disk output on boot to help debugging.
  
  PR:		kern/173290
  Submitted by:	Steven Hartland <steven.hartland@multiplay.co.uk>
  Approved by:	cperciva
  MFC after:	1 week

Modified:
  head/sys/dev/mfi/mfi_syspd.c

Modified: head/sys/dev/mfi/mfi_syspd.c
==============================================================================
--- head/sys/dev/mfi/mfi_syspd.c	Thu Nov 15 15:06:06 2012	(r243077)
+++ head/sys/dev/mfi/mfi_syspd.c	Thu Nov 15 15:06:09 2012	(r243078)
@@ -122,8 +122,8 @@ mfi_syspd_attach(device_t dev)
 		break;
 	}
 	mtx_unlock(&sc->pd_controller->mfi_io_lock);
-	device_printf(dev, "%juMB (%ju sectors) SYSPD volume\n",
-		      sectors / (1024 * 1024 / secsize), sectors);
+	device_printf(dev, "%juMB (%ju sectors) SYSPD volume (deviceid: %d)\n",
+		      sectors / (1024 * 1024 / secsize), sectors, sc->pd_id);
 	sc->pd_disk = disk_alloc();
 	sc->pd_disk->d_drv1 = sc;
 	sc->pd_disk->d_maxsize = sc->pd_controller->mfi_max_io * secsize;



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