summaryrefslogtreecommitdiffstats
path: root/sys/cam/scsi/scsi_all.c
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2009-10-23 08:27:55 +0000
committermav <mav@FreeBSD.org>2009-10-23 08:27:55 +0000
commitab67e905811f43a769913d8a926a730c9e8eaf22 (patch)
tree8a1834ff06dc700f92649f5fd4f81a18b7969994 /sys/cam/scsi/scsi_all.c
parentf23b3653c1b3bf6c8e88eccb60e96cb7f4953c36 (diff)
downloadFreeBSD-src-ab67e905811f43a769913d8a926a730c9e8eaf22.zip
FreeBSD-src-ab67e905811f43a769913d8a926a730c9e8eaf22.tar.gz
Replace most of priority numbers with defines. No logical changes.
Diffstat (limited to 'sys/cam/scsi/scsi_all.c')
-rw-r--r--sys/cam/scsi/scsi_all.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/cam/scsi/scsi_all.c b/sys/cam/scsi/scsi_all.c
index d4db50b..e6f3a7c 100644
--- a/sys/cam/scsi/scsi_all.c
+++ b/sys/cam/scsi/scsi_all.c
@@ -3004,7 +3004,7 @@ scsi_command_string(struct cam_device *device, struct ccb_scsiio *csio,
*/
xpt_setup_ccb(&cgd.ccb_h,
csio->ccb_h.path,
- /*priority*/ 1);
+ CAM_PRIORITY_NORMAL);
cgd.ccb_h.func_code = XPT_GDEV_TYPE;
xpt_action((union ccb *)&cgd);
@@ -3088,7 +3088,7 @@ scsi_sense_sbuf(struct cam_device *device, struct ccb_scsiio *csio,
*/
xpt_setup_ccb(&cgd.ccb_h,
csio->ccb_h.path,
- /*priority*/ 1);
+ CAM_PRIORITY_NORMAL);
cgd.ccb_h.func_code = XPT_GDEV_TYPE;
xpt_action((union ccb *)&cgd);
OpenPOWER on IntegriCloud