Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Oct 2008 17:48:55 -0400
From:      "Alexandre \"Sunny\" Kovalenko" <gaijin.k@gmail.com>
To:        Alexander Motin <mav@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
Message-ID:  <1225144135.1052.18.camel@RabbitsDen>
In-Reply-To: <48F11087.20403@FreeBSD.org>
References:  <48DEA8E7.2080503@FreeBSD.org>  <48F11087.20403@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 2008-10-11 at 23:45 +0300, Alexander Motin wrote:
> 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.
> 
This works well on my ThinkPad X60 (1709-73U) with RELENG_7 circa
October 23rd (s/kproc/kthread/, thanks to Oleksandr Tymoshenko):

sdhci0: <RICOH R5C822 SD> mem 0xe4301800-0xe43018ff irq 18 at device 0.2
on pci21
sdhci0: 1 slot(s) allocated
sdhci0: [ITHREAD]

Tested with 1GB, 2GB and 4GB (SDHC) cards.

The side note: write-lock switch on the card was also correctly detected
and reported.

Thank you very much for your work!

-- 
Alexandre "Sunny" Kovalenko (Олександр Коваленко)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1225144135.1052.18.camel>