From owner-svn-src-head@FreeBSD.ORG Sun May 18 14:04:09 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 57997852; Sun, 18 May 2014 14:04:09 +0000 (UTC) Received: from smtp.mullet.se (smtp.mullet.se [94.247.168.122]) by mx1.freebsd.org (Postfix) with ESMTP id 17D212CEB; Sun, 18 May 2014 14:04:08 +0000 (UTC) Received: from Martin-Nilssons-MacBook-Pro.local (m83-182-89-175.cust.tele2.se [83.182.89.175]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mullet.se (Postfix) with ESMTPSA id 8434362719C7; Sun, 18 May 2014 15:55:56 +0200 (CEST) Message-ID: <5378BBEC.7080508@gneto.com> Date: Sun, 18 May 2014 15:55:56 +0200 From: Martin Nilsson User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Doug Ambrisko , src-committers@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r261491 - in head: share/man/man4 sys/dev/mfi References: <201402041735.s14HZgb8073409@svn.freebsd.org> In-Reply-To: <201402041735.s14HZgb8073409@svn.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2014 14:04:09 -0000 Hi, Can you MFC this to stable 10 & 9 so it's easier to test the new mrsas driver? Best Regards, Martin On 2014-02-04 18:35, Doug Ambrisko wrote: > Author: ambrisko > Date: Tue Feb 4 17:35:41 2014 > New Revision: 261491 > URL:http://svnweb.freebsd.org/changeset/base/261491 > > Log: > Add a tunable "hw.mfi.mrsas_enable" to allow mfi(4) to drop priority and > allow mrsas(4) from LSI to attach to newer LSI cards that are support by > mrsas(4). If mrsas(4) is not loaded into the system at boot then mfi(4) > will always attach. If a modified mrsas(4) is loaded in the system. That > modification is return "-30" in it's probe since that is between > BUS_PROBE_DEFAULT and BUS_PROBE_LOW_PRIORITY. > > This option is controller by a new probe flag "MFI_FLAGS_MRSAS" in mfi_ident > that denotes cards that should work with mrsas(4). New entries that should > have this option. > > This is the first step to get mrsas(4) checked into FreeBSD and to avoid > collision with people that use mrsas(4) from LSI. Since mfi(4) takes > priority, then mrsas(4) users need to rebuild GENERIC. Using the > .disabled="1" method doesn't work since that blocks attaching and the > probe gave it to mfi(4). > > Discussed with: LSI (Kashyap Desai) > > Modified: > head/share/man/man4/mfi.4 > head/sys/dev/mfi/mfi_pci.c > head/sys/dev/mfi/mfivar.h