From owner-freebsd-arm@FreeBSD.ORG Sat Oct 11 20:46:03 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 7308C1065693; Sat, 11 Oct 2008 20:46:03 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id 6C9458FC1D; Sat, 11 Oct 2008 20:46:02 +0000 (UTC) (envelope-from mav@FreeBSD.org) X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona-2.1.0 Received: from [212.86.226.226] (account mav@alkar.net HELO mavbook.mavhome.dp.ua) by cmail.optima.ua (CommuniGate Pro SMTP 5.1.14) with ESMTPSA id 224565171; Sat, 11 Oct 2008 23:46:01 +0300 Message-ID: <48F11087.20403@FreeBSD.org> Date: Sat, 11 Oct 2008 23:45:59 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.16 (X11/20080726) MIME-Version: 1.0 To: freebsd-arm@FreeBSD.org, freebsd-mobile@FreeBSD.org, freebsd-current@freebsd.org References: <48DEA8E7.2080503@FreeBSD.org> In-Reply-To: <48DEA8E7.2080503@FreeBSD.org> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: 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: Sat, 11 Oct 2008 20:46:03 -0000 Alexander Motin wrote: > 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. > > Latest patches against 8-CURRENT (mostly fit 7-STABLE) may be found at: > http://people.freebsd.org/~mav/sdhci/ For those who are not tracking actively, I would like to report that most of original driver's child illnesses are now healed. Driver now supports both PIO and DMA modes. Because of some special tunings DMA works fine even on almost broken ENE chips. I am reaching 15MB/s transfer (maximum for my controller's bus) with only about 1% of CPU load. Implemented 4 bits bus width and high speed timing modes support for high data rates up to 52MHz. Cards hot insertion/removing is now working. Together with in-tree mmc/mmcsd drivers improvements most of card types (SD, SDHC, standard and high capacity MMC) are now supported. -- Alexander Motin