From owner-freebsd-current@FreeBSD.ORG Mon Oct 6 05:52:41 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 849B2106568F for ; Mon, 6 Oct 2008 05:52:41 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.28]) by mx1.freebsd.org (Postfix) with ESMTP id 3CBCF8FC0A for ; Mon, 6 Oct 2008 05:52:41 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so421577ywe.13 for ; Sun, 05 Oct 2008 22:52:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=w2DW89kUVJw+TuZHjwOeKoFHQmoiXgkt1zscxjtTqBw=; b=E5Q6ajLrvUwNQmBTZq9s0iKlP33E2whpTnadyJ0qCInEw2pSovcZNI2ZwEgEEXetKz MLEV4RTPyU0qD1n9ZF3gCzkElS8NSNIkX9ZD5RICKstpqus8iacia3af+ek0j9NTbdSN fzAfAmPxoeYiklVnnwrHZmlXEk8DsZNX0kfRI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=gTTg+nj5BjeA9AypaFYWLM1J/HXIuLl5mklNy0kZvX4JgDwmxwy9hwEMk3hyruGF9R 1h1v2g433rOJCPjLeAIeIjtIX6H4YC9+NqUYeVn44sJDexNHVBPljEUS55E0AWaNnQSp I5xLPz+gBebkwCAxKkQMmaT5wD64CTMPcF2J4= Received: by 10.150.58.5 with SMTP id g5mr6956440yba.134.1223270779773; Sun, 05 Oct 2008 22:26:19 -0700 (PDT) Received: by 10.150.137.11 with HTTP; Sun, 5 Oct 2008 22:26:19 -0700 (PDT) Message-ID: <5f67a8c40810052226k3070a11ah463a819c677f6307@mail.gmail.com> Date: Mon, 6 Oct 2008 01:26:19 -0400 From: "Zaphod Beeblebrox" To: "Alexander Motin" In-Reply-To: <48DEA8E7.2080503@FreeBSD.org> MIME-Version: 1.0 References: <48DEA8E7.2080503@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-arm@freebsd.org, freebsd-current@freebsd.org, imp@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 05:52:41 -0000 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. I have two laptops with these controllers, but I have only SDHC media (4 and 8 gig cards).