Date: Sat, 6 Apr 2013 15:28:09 -0700 From: Adrian Chadd <adrian@freebsd.org> To: Aleksandr Rybalko <ray@freebsd.org> Cc: Dmytro <dioptimizer@gmail.com>, freebsd-mips@freebsd.org Subject: Re: [PATCH] MMC/SD SPI-mode driver Message-ID: <CAJ-Vmo=aeLCmBYpn9YMsGjq%2B9aF_Es-rByJ3RSnYkJYUECtLuQ@mail.gmail.com> In-Reply-To: <20130407011307.9a9a9d64.ray@freebsd.org> References: <CAK1zEjs=hC%2BpAYBgGq4t7%2BA_JPLaH6rhvEjD%2B1RNk1Ziu8E-4g@mail.gmail.com> <CAD44qMWpz-sjNKwRH6K=xicFXYutfk7R%2BN%2B%2Bo7cbgTg7rcQbkA@mail.gmail.com> <CAK1zEjuVZU4A59q5GxLcKTnFF9mcrbVmJ=w268uSJ=3sxVf1PA@mail.gmail.com> <CAD44qMURrssyXUz-%2Btd226chPA_MbKJ29ZApozbT2cEYbQwSqw@mail.gmail.com> <CAJ-Vmo=nQMuuJAW786egjuXCf0LGOd9g%2BCEEKdOJjPLRQFpKUg@mail.gmail.com> <20130407011307.9a9a9d64.ray@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 6 April 2013 15:13, Aleksandr Rybalko <ray@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmo=aeLCmBYpn9YMsGjq%2B9aF_Es-rByJ3RSnYkJYUECtLuQ>