svn commit: r243078 - head/sys/dev/mfi

Eitan Adler eadler at FreeBSD.org
Fri Nov 16 00:57:00 UTC 2012


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 at 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;
_______________________________________________
svn-src-all at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe at freebsd.org"


More information about the svn-src-head mailing list