PERFORCE change 170448 for review
Alexander Motin
mav at FreeBSD.org
Tue Nov 10 21:18:10 UTC 2009
http://p4web.freebsd.org/chv.cgi?CH=170448
Change 170448 by mav at mav_mavbook on 2009/11/10 21:17:34
Temporary disable tagged queuing if not all SIM-supported tags
supported by device. We will need to tell which are.
Affected files ...
.. //depot/projects/scottl-camlock/src/sys/cam/ata/ata_xpt.c#55 edit
Differences ...
==== //depot/projects/scottl-camlock/src/sys/cam/ata/ata_xpt.c#55 (text+ko) ====
@@ -716,6 +716,9 @@
ATA_QUEUE_LEN(ident_buf->queue) + 1;
}
ata_find_quirk(path->device);
+ /* XXX: If not all tags allowed, we must to tell SIM which are. */
+ if (path->device->mintags < path->bus->sim->max_tagged_dev_openings)
+ path->device->mintags = path->device->maxtags = 0;
if (path->device->mintags != 0) {
xpt_start_tags(path);
}
More information about the p4-projects
mailing list