svn commit: r188844 - head/sys/dev/arcmsr

Scott Long scottl at FreeBSD.org
Thu Feb 19 23:40:55 PST 2009


Author: scottl
Date: Fri Feb 20 07:40:54 2009
New Revision: 188844
URL: http://svn.freebsd.org/changeset/base/188844

Log:
  Tell CAM that SPI disconnect works, which in turn will let it use tags.
  This fixes the low "max device openings" count that has lead to poor
  performance in FreeBSD 7.0 and 7.1.
  
  Extra thanks goes to Mike Tancsa at Sentex for providing a debug system for
  this.

Modified:
  head/sys/dev/arcmsr/arcmsr.c

Modified: head/sys/dev/arcmsr/arcmsr.c
==============================================================================
--- head/sys/dev/arcmsr/arcmsr.c	Fri Feb 20 07:22:58 2009	(r188843)
+++ head/sys/dev/arcmsr/arcmsr.c	Fri Feb 20 07:40:54 2009	(r188844)
@@ -2150,7 +2150,8 @@ static void arcmsr_action(struct cam_sim
 				spi->sync_offset=32;
 				spi->bus_width=MSG_EXT_WDTR_BUS_16_BIT;
 				scsi->flags = CTS_SCSI_FLAGS_TAG_ENB;
-				spi->valid = CTS_SPI_VALID_SYNC_RATE
+				spi->valid = CTS_SPI_VALID_DISC
+					| CTS_SPI_VALID_SYNC_RATE
 					| CTS_SPI_VALID_SYNC_OFFSET
 					| CTS_SPI_VALID_BUS_WIDTH;
 				scsi->valid = CTS_SCSI_VALID_TQ;


More information about the svn-src-head mailing list