[PATCH] MMC/SD SPI-mode driver

Aleksandr Rybalko ray at freebsd.org
Sat Apr 6 23:24:37 UTC 2013


On Sat, 6 Apr 2013 15:28:09 -0700
Adrian Chadd <adrian at freebsd.org> wrote:

> 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?

As I see, no way to put data back to flash. 

> 
> 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?

Currently we do 1 bit shifting :))) Pure, 1-bit control.
Maybe you (as Atheros guy) know how to shift more :)))

> 
> 
> Adrian


-- 
Aleksandr Rybalko <ray at freebsd.org>


More information about the freebsd-mips mailing list