From owner-freebsd-arm@FreeBSD.ORG Mon Oct 6 07:01:22 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 ABD461065686; Mon, 6 Oct 2008 07:01:22 +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 688868FC14; Mon, 6 Oct 2008 07:01:22 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id m966wSfp036318; Mon, 6 Oct 2008 00:58:28 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 06 Oct 2008 00:58:28 -0600 (MDT) Message-Id: <20081006.005828.104066981.imp@bsdimp.com> To: zbeeble@gmail.com From: Warner Losh In-Reply-To: <5f67a8c40810052226k3070a11ah463a819c677f6307@mail.gmail.com> References: <48DEA8E7.2080503@FreeBSD.org> <5f67a8c40810052226k3070a11ah463a819c677f6307@mail.gmail.com> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: mav@FreeBSD.org, freebsd-current@FreeBSD.org, freebsd-arm@FreeBSD.org, freebsd-mobile@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 List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 07:01:22 -0000 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... > I have two laptops with these controllers, but I have only SDHC media (4 and > 8 gig cards). Yes. The SDHC isolation protocol and media decoding stuff isn't written yet. Warner