Date: Fri, 13 Nov 2009 22:38:35 GMT From: Alexander Motin <mav@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 170602 for review Message-ID: <200911132238.nADMcZ5a020665@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/chv.cgi?CH=170602 Change 170602 by mav@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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911132238.nADMcZ5a020665>