diff options
author | Nathan Whitehorn <nwhitehorn@FreeBSD.org> | 2013-10-30 14:04:47 +0000 |
---|---|---|
committer | Nathan Whitehorn <nwhitehorn@FreeBSD.org> | 2013-10-30 14:04:47 +0000 |
commit | 123055f01fc8cd655ecd99467e3f8770a58c0c1f (patch) | |
tree | f38033fa78e1b6966fc4d3461bb2d766a6325ac2 /sys/dev/mps | |
parent | 630e459e517b73df408ae38e80c841c978464a8d (diff) | |
download | src-123055f01fc8cd655ecd99467e3f8770a58c0c1f.tar.gz src-123055f01fc8cd655ecd99467e3f8770a58c0c1f.zip |
Adjust various SCSI drivers to handle either a 32-bit or 64-bit lun_id_t,
mostly by adjustments to debugging printf() format specifiers. For high
numbered LUNs, also switch to printing them in hex as per SAM-5.
MFC after: 2 weeks
Notes
Notes:
svn path=/head/; revision=257381
Diffstat (limited to 'sys/dev/mps')
-rw-r--r-- | sys/dev/mps/mps_sas.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/mps/mps_sas.c b/sys/dev/mps/mps_sas.c index b6ee542a5f47..b9555fb469a4 100644 --- a/sys/dev/mps/mps_sas.c +++ b/sys/dev/mps/mps_sas.c @@ -1063,8 +1063,8 @@ mpssas_announce_reset(struct mps_softc *sc, uint32_t ac_code, path_id_t path_id = cam_sim_path(sc->sassc->sim); struct cam_path *path; - mps_dprint(sc, MPS_XINFO, "%s code %x target %d lun %d\n", __func__, - ac_code, target_id, lun_id); + mps_dprint(sc, MPS_XINFO, "%s code %x target %d lun %jx\n", __func__, + ac_code, target_id, (uintmax_t)lun_id); if (xpt_create_path(&path, NULL, path_id, target_id, lun_id) != CAM_REQ_CMP) { |