From owner-freebsd-arm@FreeBSD.ORG Tue Jul 2 19:21:20 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8E3FF6D8; Tue, 2 Jul 2013 19:21:20 +0000 (UTC) (envelope-from ilya@bakulin.de) Received: from olymp.kibab.com (olymp.kibab.com [5.9.14.202]) by mx1.freebsd.org (Postfix) with ESMTP id 51C761077; Tue, 2 Jul 2013 19:21:18 +0000 (UTC) X-DKIM: OpenDKIM Filter v2.5.2 olymp.kibab.com 4CE773F43F DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=bakulin.de; s=default; t=1372792877; bh=9LbXBPNxU1btKkfp/3sQcPdHqVZI9dX3li/NPeOfpjo=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=bOZEJMOf7PTkEj+gVreJP0eyvRkipe+S0/givNffd5+CUy0qDQy3U7g6G4liXhf/i 6/pZgeJzUDI7tPJRV0lRSyy8QNiF5sEMLJx6TinrLOsqI+cadnPUQ6AG4hReY7nAFh vc+SyB8FX+EEJ9ujLyD6nf/QU+uyDHTe5DYuayEY= Message-ID: <51D3282C.1090701@bakulin.de> Date: Tue, 02 Jul 2013 21:21:16 +0200 From: Ilya Bakulin MIME-Version: 1.0 To: Alexander Motin Subject: Re: [PATCH] SDIO support for Globalscale Dreamplug References: <20130702145905.GA1847@olymp.kibab.com> <51D3097A.8010601@FreeBSD.org> In-Reply-To: <51D3097A.8010601@FreeBSD.org> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org, freebsd-embedded@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jul 2013 19:21:20 -0000 On 02.07.13 19:10, Alexander Motin wrote: > I think SD world is a terrible mess by itself. I would like to not add > more. Functions that suppose card access should take card-specific > structure or device as an argument, not a bus ones. The problem is that there is a SDIO card which has up to 7 functions, but it itself has some characteristics that are available at function 0. If we add, say, sdio0 device and store this information there, we end up with the hierarchy suggested by Ben Gray a year ago. The SD-specific functions like CSD/CSR operations are also in the mmc.c and considered to be the bus code... Or am I missing something obvious here? > I would try to look for SDIO Bluetooth card. I think such ones still > could be found on eBay, and I think there are some specifications for > that. Though I've never looked inside. The SDIO card found in the Dreamplug has three functions, one of them is Bluetooth. Will try to find some docs / Linux code for that... -- Regards, Ilya Bakulin