summaryrefslogtreecommitdiffstats
path: root/sys/dev/mpt/mpt_cam.c
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2007-01-25 18:02:23 +0000
committermjacob <mjacob@FreeBSD.org>2007-01-25 18:02:23 +0000
commit94549ac2834c106a7c40edf6b5d0b8028181ea8b (patch)
treecb7c89e39f0efaabe8c6c36fd94ad6c8ed269e5b /sys/dev/mpt/mpt_cam.c
parentb7c8a97d9bbbe0af8dcb84f6d9a9018670b7ec3a (diff)
downloadFreeBSD-src-94549ac2834c106a7c40edf6b5d0b8028181ea8b.zip
FreeBSD-src-94549ac2834c106a7c40edf6b5d0b8028181ea8b.tar.gz
Whoops- #ifdef problem caused uninitialized transport. Not horribly
a problem, but caused annoying messages.
Diffstat (limited to 'sys/dev/mpt/mpt_cam.c')
-rw-r--r--sys/dev/mpt/mpt_cam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mpt/mpt_cam.c b/sys/dev/mpt/mpt_cam.c
index 320941f..1b4a374 100644
--- a/sys/dev/mpt/mpt_cam.c
+++ b/sys/dev/mpt/mpt_cam.c
@@ -3226,7 +3226,7 @@ mpt_action(struct cam_sim *sim, union ccb *ccb)
/*
* The base speed is the speed of the underlying connection.
*/
-#ifdef CAM_NEW_TRAN
+#ifdef CAM_NEW_TRAN_CODE
cpi->protocol = PROTO_SCSI;
if (mpt->is_fc) {
cpi->hba_misc = PIM_NOBUSRESET;
OpenPOWER on IntegriCloud