From efe80d1cbfdde7ac12033fe6097c0d8718e90b80 Mon Sep 17 00:00:00 2001 From: eadler Date: Thu, 15 Nov 2012 15:06:09 +0000 Subject: Add deviceid to the disk output on boot to help debugging. PR: kern/173290 Submitted by: Steven Hartland Approved by: cperciva MFC after: 1 week --- sys/dev/mfi/mfi_syspd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/mfi/mfi_syspd.c b/sys/dev/mfi/mfi_syspd.c index 0508409..739b866 100644 --- a/sys/dev/mfi/mfi_syspd.c +++ b/sys/dev/mfi/mfi_syspd.c @@ -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; -- cgit v1.1