PERFORCE change 170602 for review
Alexander Motin
mav at FreeBSD.org
Fri Nov 13 22:38:36 UTC 2009
http://p4web.freebsd.org/chv.cgi?CH=170602
Change 170602 by mav at mav_mavtest on 2009/11/13 22:38:16
Do not enable tagged commands if controller does't support tags.
Affected files ...
.. //depot/projects/scottl-camlock/src/sys/cam/ata/ata_xpt.c#57 edit
Differences ...
==== //depot/projects/scottl-camlock/src/sys/cam/ata/ata_xpt.c#57 (text+ko) ====
@@ -719,7 +719,8 @@
/* 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) {
+ if (path->device->mintags != 0 &&
+ path->bus->sim->max_tagged_dev_openings != 0) {
xpt_start_tags(path);
}
ata_device_transport(path);
More information about the p4-projects
mailing list