[PATCH] MMC/SD SPI-mode driver

Adrian Chadd adrian at freebsd.org
Sat Apr 6 22:28:11 UTC 2013


On 6 April 2013 15:13, Aleksandr Rybalko <ray at freebsd.org> wrote:

>
> Yeah, found :)
> here it is http://zrouter.org/hg/FreeBSD/head/rev/a92b653f5b46

Yup. We just need a bit more wrapped around this. Ie, bringing it
in/out of the SPI mode.

The other question is how we implement it. You've implemented a "get
block" device method. That's a very atheros chipset specific hack just
to get accelerated flash IO. Is there perhaps a better way to approach
this?

What about the 8 versus 32 bit shifting that I see in the driver? Are
we able to actually shift 32 bits at a time?


Adrian


More information about the freebsd-mips mailing list