Date: Tue, 17 Nov 2009 21:26:05 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r199451 - stable/8/sys/cam/ata Message-ID: <200911172126.nAHLQ51C040200@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mav Date: Tue Nov 17 21:26:05 2009 New Revision: 199451 URL: http://svn.freebsd.org/changeset/base/199451 Log: MFC r199263: Do not enable tagged queueing if controller reports 0 tags support. Modified: stable/8/sys/cam/ata/ata_xpt.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) stable/8/sys/dev/xen/xenpci/ (props changed) Modified: stable/8/sys/cam/ata/ata_xpt.c ============================================================================== --- stable/8/sys/cam/ata/ata_xpt.c Tue Nov 17 21:23:05 2009 (r199450) +++ stable/8/sys/cam/ata/ata_xpt.c Tue Nov 17 21:26:05 2009 (r199451) @@ -719,7 +719,8 @@ noerror: /* 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?200911172126.nAHLQ51C040200>