aboutsummaryrefslogtreecommitdiffstats
path: root/sys/dev/ciss/ciss.c
diff options
context:
space:
mode:
authorPaul Saab <ps@FreeBSD.org>2002-04-11 09:29:50 +0000
committerPaul Saab <ps@FreeBSD.org>2002-04-11 09:29:50 +0000
commit530fe289770457dc65ed4f754fb6a5f82cdf818e (patch)
tree312c131cbe07d6a62c830f4844fb5757e4747185 /sys/dev/ciss/ciss.c
parentc5e3ba31dff4dc0130233ac7b2d19f368ed0d7c6 (diff)
downloadsrc-530fe289770457dc65ed4f754fb6a5f82cdf818e.tar.gz
src-530fe289770457dc65ed4f754fb6a5f82cdf818e.zip
MFC rev 1.4
Fix I/O performance issues.
Notes
Notes: svn path=/stable/4/; revision=94413
Diffstat (limited to 'sys/dev/ciss/ciss.c')
-rw-r--r--sys/dev/ciss/ciss.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ciss/ciss.c b/sys/dev/ciss/ciss.c
index e40d60c0205c..718f9d2da28b 100644
--- a/sys/dev/ciss/ciss.c
+++ b/sys/dev/ciss/ciss.c
@@ -1999,8 +1999,9 @@ ciss_cam_init(struct ciss_softc *sc)
* Create a SIM.
*/
if ((sc->ciss_cam_sim = cam_sim_alloc(ciss_cam_action, ciss_cam_poll, "ciss", sc,
- device_get_unit(sc->ciss_dev), 1,
+ device_get_unit(sc->ciss_dev),
sc->ciss_cfg->max_outstanding_commands,
+ 1,
sc->ciss_cam_devq)) == NULL) {
ciss_printf(sc, "can't allocate CAM SIM\n");
return(ENOMEM);