From owner-freebsd-mobile@FreeBSD.ORG Sat Oct 18 08:24:20 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB15C106569D for ; Sat, 18 Oct 2008 08:24:20 +0000 (UTC) (envelope-from jacques.fourie@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.191]) by mx1.freebsd.org (Postfix) with ESMTP id 31DD68FC08 for ; Sat, 18 Oct 2008 08:24:19 +0000 (UTC) (envelope-from jacques.fourie@gmail.com) Received: by mu-out-0910.google.com with SMTP id i2so887798mue.3 for ; Sat, 18 Oct 2008 01:24:18 -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 :content-transfer-encoding:content-disposition:references; bh=TtrH16rzGDkWQH4agGhl4wA4hF8dAWRbZwGSAkKC9/s=; b=m0ZuCSHIAkhsmovmjSoX+9A/3FoxrOxXIALNUXlk0mEKHwSnkKcpPt5df1w+lxZh5F 7UNL6NObH9aNJDgMhfHxHUEkUySOEw1ZMJeY5veksfOJfUgiZtmXAXKuHPK40LR2+b4o 2H+SyxmRuY/JX3pI8kzi4VvdiC1eGQnwZxGdE= 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:content-transfer-encoding:content-disposition :references; b=ZAfBBIORIqcm06PmkJT+iQAS9zGlJGpxZhbfCnChRoYtgnfc+cbdfiUW4Wo5QpV6Dr 9fksO2cmjQTxjp6nSyQDZ5MzyE/OBr+UYkWj6uDztAq809dvLdu2+pJU67Dr8CuTMUuP 1E6djpiVLsdn0yr2/sdwBd8QpHc4CNTWOVa5g= Received: by 10.102.228.10 with SMTP id a10mr2681625muh.109.1224316998115; Sat, 18 Oct 2008 01:03:18 -0700 (PDT) Received: by 10.103.17.17 with HTTP; Sat, 18 Oct 2008 01:03:17 -0700 (PDT) Message-ID: Date: Sat, 18 Oct 2008 10:03:17 +0200 From: "Jacques Fourie" To: "Alexander Motin" In-Reply-To: <48F11087.20403@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48DEA8E7.2080503@FreeBSD.org> <48F11087.20403@FreeBSD.org> Cc: freebsd-arm@freebsd.org, freebsd-current@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Oct 2008 08:24:20 -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 > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > The device in my HP nw8240 notebook is a Texas Instruments 7621. This device is a multi-function PCI device with a CardBus, firewire, Flash Media and SD controller. The only way that I could get this driver to work for me is to disable SD card detection on the Flash Media controller, which is function 3 : pcitweak -w 02:06:03 -b 0x4c 0x02 Thanks for the great work!