From owner-freebsd-arm@FreeBSD.ORG Tue Oct 7 12:53:34 2008 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C30BD1065690; Tue, 7 Oct 2008 12:53:34 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.freebsd.org (Postfix) with ESMTP id E3C268FC13; Tue, 7 Oct 2008 12:53:33 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from cicely5.cicely.de ([10.1.1.7]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id m97CrQW9089670 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 7 Oct 2008 14:53:27 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by cicely5.cicely.de (8.14.2/8.14.2) with ESMTP id m97CrLJJ035771 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 7 Oct 2008 14:53:21 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id m97CrKrg026359; Tue, 7 Oct 2008 14:53:20 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id m97CrKZr026358; Tue, 7 Oct 2008 14:53:20 +0200 (CEST) (envelope-from ticso) Date: Tue, 7 Oct 2008 14:53:20 +0200 From: Bernd Walter To: Warner Losh Message-ID: <20081007125320.GD25586@cicely7.cicely.de> References: <48DEA8E7.2080503@FreeBSD.org> <5f67a8c40810052226k3070a11ah463a819c677f6307@mail.gmail.com> <20081006.005828.104066981.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081006.005828.104066981.imp@bsdimp.com> X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-4.3 required=5.0 tests=ALL_TRUSTED=-1.8, AWL=0.070, BAYES_00=-2.599 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on spamd.cicely.de Cc: mav@freebsd.org, zbeeble@gmail.com, freebsd-arm@freebsd.org, freebsd-mobile@freebsd.org, freebsd-current@freebsd.org Subject: Re: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 12:53:34 -0000 On Mon, Oct 06, 2008 at 12:58:28AM -0600, Warner Losh wrote: > From: "Zaphod Beeblebrox" > Subject: Re: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements > Date: Mon, 6 Oct 2008 01:26:19 -0400 > > > On Sat, Sep 27, 2008 at 5:43 PM, Alexander Motin wrote: > > > > > Hi. > > > > > > I would like to present initial revision of my generic PCI SD Host > > > Controller driver (sdhci). It support PCI devices with class 8 and subclass > > > 5 according to SD Host Controller Specification. With some limitations it > > > successfully works on my Acer TM6292 notebook with ENE CB714 card reader. > > > > > > > > > > Things that are not working yet: > > > - DMA modes (code is written, but as my controller looks like has broken > > > DMA I have no ability to debug it), > > > - card insert/remove detection (need more thinking), you should reload mmc > > > module to rescan cards, > > > - SDHC and MMC cards (have no such cards now to debug that code), only > > > standard capacity SD Memory cards up to 4GB size are supported now, > > > - high speed (double rate) bus mode (need more thinking and DMA support). > > > > > > Most 4G cards are SDHC that I've seen. The notes on this that I've read > > talk about the fact that you can have a 4G regular SD card but that many > > (most) devices don't support it because of the need for a larger FAT to > > support 4G. > > s/many/a few/g. 4GB SD cards work fine in every device I've tried > them in... You are quite lucky then. 4G-SD are non standard and I have a few devices where they don't work with. Sadly I even own a USB reader, which is still being sold, that doen't work with 2G cards - it just truncates them at 1G - sigh. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.