aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2009-09-06 18:48:18 +0000
committerAlexander Motin <mav@FreeBSD.org>2009-09-06 18:48:18 +0000
commitad41300955a02fe7fe5efacabc1d04db89c7f1fd (patch)
treecf906bd3db9d120f64fd4206f6d7d1acda1c4d92
parent788fb3767d953a9a81c762b7e0dba9159927f330 (diff)
downloadsrc-ad41300955a02fe7fe5efacabc1d04db89c7f1fd.tar.gz
src-ad41300955a02fe7fe5efacabc1d04db89c7f1fd.zip
MFp4:
Report scbusX in xpt_announce_periph() to less confuse users by two different bus addressing schemes.
Notes
Notes: svn path=/head/; revision=196898
-rw-r--r--sys/cam/cam_xpt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/cam/cam_xpt.c b/sys/cam/cam_xpt.c
index b29295d562cc..f5e32745c41c 100644
--- a/sys/cam/cam_xpt.c
+++ b/sys/cam/cam_xpt.c
@@ -1033,11 +1033,12 @@ xpt_announce_periph(struct cam_periph *periph, char *announce_string)
* To ensure that this is printed in one piece,
* mask out CAM interrupts.
*/
- printf("%s%d at %s%d bus %d target %d lun %d\n",
+ printf("%s%d at %s%d bus %d scbus%d target %d lun %d\n",
periph->periph_name, periph->unit_number,
path->bus->sim->sim_name,
path->bus->sim->unit_number,
path->bus->sim->bus_id,
+ path->bus->path_id,
path->target->target_id,
path->device->lun_id);
printf("%s%d: ", periph->periph_name, periph->unit_number);