Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Nov 2009 21:18:10 GMT
From:      Alexander Motin <mav@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 170448 for review
Message-ID:  <200911102118.nAALIA0I043099@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/chv.cgi?CH=170448

Change 170448 by mav@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);
 		}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911102118.nAALIA0I043099>