From owner-freebsd-current@FreeBSD.ORG Sun Feb 17 08:57:30 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B7AD16A41A for ; Sun, 17 Feb 2008 08:57:30 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.delphij.net (delphij-pt.tunnel.tserv2.fmt.ipv6.he.net [IPv6:2001:470:1f03:2c9::2]) by mx1.freebsd.org (Postfix) with ESMTP id 0209413C4D9 for ; Sun, 17 Feb 2008 08:57:30 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (unknown [202.108.54.204]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tarsier.delphij.net (Postfix) with ESMTP id 940C52844E; Sun, 17 Feb 2008 16:57:28 +0800 (CST) Received: from localhost (unknown [202.108.54.204]) by tarsier.geekcn.org (Postfix) with ESMTP id CF084EB51AF; Sun, 17 Feb 2008 16:57:27 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([202.108.54.204]) by localhost (mail.geekcn.org [202.108.54.204]) (amavisd-new, port 10024) with ESMTP id go6OPnab0Psa; Sun, 17 Feb 2008 16:57:18 +0800 (CST) Received: from charlie.delphij.net (c-67-161-39-180.hsd1.ca.comcast.net [67.161.39.180]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id 009CEEB515F; Sun, 17 Feb 2008 16:57:16 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:reply-to:organization:user-agent: mime-version:to:cc:subject:references:in-reply-to: x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=GZRkn5ibsY7b/M3LEu47STswYPmr4LEmZnSl8fnvjPnDBPio4vdK5KMzzP9XXLax0 Wryvhei0GxP8bFKaBlXcg== Message-ID: <47B7F6E8.7090401@delphij.net> Date: Sun, 17 Feb 2008 00:57:12 -0800 From: Xin LI Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.9 (X11/20080122) MIME-Version: 1.0 To: "Justin T. Gibbs" References: <200704182239.59842.gelsemap@superhero.nl> <86tzvcvaai.fsf@dwp.des.no> <31439.195.50.100.20.1176984826.squirrel@www.superhero.nl> <20080211184453.GA5605@dragon.NUXI.org> <2e77fc10802111330p738d2c93i9eb1189b307d732d@mail.gmail.com> <47B0C34E.7040804@samsco.org> <20080212010836.GA14441@dragon.NUXI.org> <2e77fc10802161506x5d790149lb688d221b0a96222@mail.gmail.com> <47B7D534.7000204@scsiguy.com> In-Reply-To: <47B7D534.7000204@scsiguy.com> X-Enigmail-Version: 0.95.5 OpenPGP: id=18EDEBA0; url=http://www.delphij.net/delphij.asc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Niki Denev , "Gelsema, P \(Patrick\)" , JoaoBR , freebsd-current@freebsd.org Subject: Re: Adaptec AHD U320 operating as only U160 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Feb 2008 08:57:30 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Justin T. Gibbs wrote: > Niki Denev wrote: >> I was playing around with DTrace, tracing cam/xpt and the ahd driver and >> found out that if i comment the following code : >> >> if ((spi3caps & SID_SPI_IUS) == 0) >> spi->ppr_options &= ~MSG_EXT_PPR_IU_REQ; >> >> at line 6655 in sys/cam/cam_xpt.c my disks again negotiate as U320 : >> >> da0 at ahd0 bus 0 target 0 lun 0 >> da0: Fixed Direct Access SCSI-3 device >> da0: 320.000MB/s transfers (160.000MHz DT, offset 63, 16bit) >> da0: Command Queueing Enabled >> da0: 35003MB (71687372 512 byte sectors: 255H 63S/T 4462C) > > The aic79xx driver was not properly exporting its capabilities to > CAM. This has been addressed as of version 1.30 of aic79xx_osm.c. > Please let me know if you still have problems. Seems worked for me. Cheers, - -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHt/boi+vbBBjt66ARApOrAKCIk8xm+XlXecAOJOoNP1mYB4IrVgCfQ4H/ SQqo5Nae/MZ/IxQ+ErkXIdM= =tbaE -----END PGP SIGNATURE-----