summaryrefslogtreecommitdiffstats
path: root/sys/dev/siis
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2009-11-11 11:10:36 +0000
committermav <mav@FreeBSD.org>2009-11-11 11:10:36 +0000
commit17cadb1aa54db7660df55a98f34126e08af6760f (patch)
treeceea3fcf873c9fdc72f0d23c18d3cdc692b9c8c0 /sys/dev/siis
parent2bf1f78b4d6b6f7e74958969c676160766e11f2e (diff)
downloadFreeBSD-src-17cadb1aa54db7660df55a98f34126e08af6760f.zip
FreeBSD-src-17cadb1aa54db7660df55a98f34126e08af6760f.tar.gz
MFp4:
- Move tagged queueing control from ADA to ATA XPT. It allows to control device command queue length correctly. First step to support < 32 tags. - Limit queue for non-tagged devices by 2 slots for ahci(4) and siis(4). - Implement quirk matching for ATA devices. - Move xpt_schedule_dev_sendq() from header to source file. - Move delayed queue shrinking to the more expected place - element freeing. - Remove some SCSIsms in ATA.
Diffstat (limited to 'sys/dev/siis')
-rw-r--r--sys/dev/siis/siis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/siis/siis.c b/sys/dev/siis/siis.c
index 41a5cc7..73786f3 100644
--- a/sys/dev/siis/siis.c
+++ b/sys/dev/siis/siis.c
@@ -454,7 +454,7 @@ siis_ch_attach(device_t dev)
}
/* Construct SIM entry */
ch->sim = cam_sim_alloc(siisaction, siispoll, "siisch", ch,
- device_get_unit(dev), &ch->mtx, SIIS_MAX_SLOTS, 0, devq);
+ device_get_unit(dev), &ch->mtx, 2, SIIS_MAX_SLOTS, devq);
if (ch->sim == NULL) {
device_printf(dev, "unable to allocate sim\n");
error = ENOMEM;
OpenPOWER on IntegriCloud