aboutsummaryrefslogtreecommitdiffstats
path: root/sys/dev/ciss/ciss.c
diff options
context:
space:
mode:
authorPaul Saab <ps@FreeBSD.org>2004-06-15 21:18:26 +0000
committerPaul Saab <ps@FreeBSD.org>2004-06-15 21:18:26 +0000
commit29ff608ccb6d9c3508c103b666e4f7dbae77e344 (patch)
tree9ff025b5f0f4d050e3a4eb6232bbcfda938f2573 /sys/dev/ciss/ciss.c
parent8926bbf81ad099e652a85322bb3994118d1b6658 (diff)
downloadsrc-29ff608ccb6d9c3508c103b666e4f7dbae77e344.tar.gz
src-29ff608ccb6d9c3508c103b666e4f7dbae77e344.zip
MFC: Turn on SCSI PREFETCH
Notes
Notes: svn path=/stable/4/; revision=130544
Diffstat (limited to 'sys/dev/ciss/ciss.c')
-rw-r--r--sys/dev/ciss/ciss.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/ciss/ciss.c b/sys/dev/ciss/ciss.c
index 5df1ccd18099..b3b290b8d0bd 100644
--- a/sys/dev/ciss/ciss.c
+++ b/sys/dev/ciss/ciss.c
@@ -586,6 +586,10 @@ ciss_init_pci(struct ciss_softc *sc)
sc->ciss_cfg->interrupt_coalesce_delay = CISS_INTERRUPT_COALESCE_DELAY;
sc->ciss_cfg->interrupt_coalesce_count = CISS_INTERRUPT_COALESCE_COUNT;
+#ifdef __i386__
+ sc->ciss_cfg->host_driver |= CISS_DRIVER_SCSI_PREFETCH;
+#endif
+
if (ciss_update_config(sc)) {
ciss_printf(sc, "adapter refuses to accept config update (IDBR 0x%x)\n",
CISS_TL_SIMPLE_READ(sc, CISS_TL_SIMPLE_IDBR));