public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: pierre Tardy <tardyp@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: Re: [RFC] New MMC driver model
Date: Tue, 9 Jan 2007 14:25:37 +0000 (UTC)	[thread overview]
Message-ID: <loom.20070109T150821-717@post.gmane.org> (raw)
In-Reply-To: 449553E5.9030004@drzeus.cx

Pierre Ossman <drzeus-list <at> drzeus.cx> writes:

>
> Register functions
> ==================
> 
> I also intend to write a couple of register functions (sdio_read[bwl])
> so that card drivers doesn't have to deal with MMC requests more than
> necessary.

Good idea. Another need may be a sdio_read[bwl]_sync, which will poll for the
end of the cmd52s, instead of waiting for the irq. This polling is faster than
wait_for_completion/irq/tasklet/complete mechanism, which involve several
context switches. 

>  Endianness can also be handled there (SDIO are always LE).
I dont remember sdio spec forcing HW registers to be LE. Function 0 registers
are (BLKSZ for ex), but Function 1-7 register may be BE if the designers found
an advantage to it..





  parent reply	other threads:[~2007-01-09 14:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-18 13:23 [RFC] New MMC driver model Pierre Ossman
2006-06-20  9:35 ` Marcel Holtmann
2006-06-20 12:46   ` Pierre Ossman
2006-06-20 17:46     ` Marcel Holtmann
2007-01-09 14:25 ` pierre Tardy [this message]
2007-01-10 20:34   ` Pierre Ossman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20070109T150821-717@post.gmane.org \
    --to=tardyp@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox