diff options
author | scottl <scottl@FreeBSD.org> | 2007-06-18 18:28:43 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2007-06-18 18:28:43 +0000 |
commit | 2ef6e5b2f61d931e194f8fb313417dffa4e43ab7 (patch) | |
tree | ad27593331fc7e148a9c6d0c419efbcc9c89e999 /sys | |
parent | 2139af42ea6ab3e2d8b8c7f9cdd85f4fd28ca79e (diff) | |
download | FreeBSD-src-2ef6e5b2f61d931e194f8fb313417dffa4e43ab7.zip FreeBSD-src-2ef6e5b2f61d931e194f8fb313417dffa4e43ab7.tar.gz |
Fix some debugging code that crept in accidentally.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/mpt/mpt_cam.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/mpt/mpt_cam.c b/sys/dev/mpt/mpt_cam.c index eba5b8c..1a1246a 100644 --- a/sys/dev/mpt/mpt_cam.c +++ b/sys/dev/mpt/mpt_cam.c @@ -323,7 +323,7 @@ mpt_cam_attach(struct mpt_softc *mpt) /* * Create the device queue for our SIM(s). */ - devq = cam_simq_alloc(1); + devq = cam_simq_alloc(maxq); if (devq == NULL) { mpt_prt(mpt, "Unable to allocate CAM SIMQ!\n"); error = ENOMEM; @@ -334,7 +334,7 @@ mpt_cam_attach(struct mpt_softc *mpt) * Construct our SIM entry. */ mpt->sim = - mpt_sim_alloc(mpt_action, mpt_poll, "mpt", mpt, 1, 1, devq); + mpt_sim_alloc(mpt_action, mpt_poll, "mpt", mpt, 1, maxq, devq); if (mpt->sim == NULL) { mpt_prt(mpt, "Unable to allocate CAM SIM!\n"); cam_simq_free(devq); @@ -374,7 +374,7 @@ mpt_cam_attach(struct mpt_softc *mpt) * Create a "bus" to export all hidden disks to CAM. */ mpt->phydisk_sim = - mpt_sim_alloc(mpt_action, mpt_poll, "mpt", mpt, 1, 1, devq); + mpt_sim_alloc(mpt_action, mpt_poll, "mpt", mpt, 1, maxq, devq); if (mpt->phydisk_sim == NULL) { mpt_prt(mpt, "Unable to allocate Physical Disk CAM SIM!\n"); error = ENOMEM; |