From owner-freebsd-mips@FreeBSD.ORG Fri May 4 23:12:12 2012 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FA57106566B; Fri, 4 May 2012 23:12:12 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 266898FC12; Fri, 4 May 2012 23:12:12 +0000 (UTC) Received: from [10.30.101.53] ([209.117.142.2]) (authenticated bits=0) by harmony.bsdimp.com (8.14.4/8.14.3) with ESMTP id q44N9B9j035012 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO); Fri, 4 May 2012 17:09:15 -0600 (MDT) (envelope-from imp@bsdimp.com) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: Date: Fri, 4 May 2012 17:09:05 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <5F95C99B-4D6D-417A-8B17-CA7C64010408@bsdimp.com> References: To: Adrian Chadd X-Mailer: Apple Mail (2.1084) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (harmony.bsdimp.com [10.0.0.6]); Fri, 04 May 2012 17:09:17 -0600 (MDT) Cc: freebsd-mips@freebsd.org Subject: Re: [PATCH] MMC/SD SPI-mode driver X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2012 23:12:12 -0000 On May 4, 2012, at 4:46 PM, Adrian Chadd wrote: > Hi! >=20 > I'll first take a stab at the ar71xx SPI code. >=20 > You've introduced bus grab/release routines, do other consumers of the > SPI API need to be 'fixed' ? > (eg mx25l) ? >=20 > I'd like to get at least this update into the tree so you can do your > variable speed SPI device IO for supporting MMC devices. I think so. The at45 driver likely needs tweaking, as well as the = at91_spi code for grab/release semantics. I'll have to take a look at = those patches just to make sure though. Warner