public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: NZG <ngustavson@emacinc.com>
To: David Brownell <david-b@pacbell.net>
Cc: Linux Kernel list <linux-kernel@vger.kernel.org>
Subject: Re: passing function pointers through platform devices?
Date: Fri, 9 Mar 2007 10:31:19 -0600	[thread overview]
Message-ID: <200703091031.19758.ngustavson@emacinc.com> (raw)
In-Reply-To: <200703070955.31370.david-b@pacbell.net>

On Wednesday 07 March 2007 11:55 am, David Brownell wrote:
> > I'm developing an SPI- bus >MMC/SD block driver translation layer.
>
> Another one?  There's already been significant work in that area.  See for
> example
>
>   http://marc.theaimsgroup.com/?l=linux-kernel&m=117000652529003&w=2
Nice, I'll build on that, my previous work ignored the SPI/MMC layers (because 
they didn't exist at the time) and just build a stacked driver on a character 
SPI driver.  This gives me some direction as to how to proceed.

> Which admittedly didn't behave when I just put it onto my test rig,
> but seems nonetheless to be a significant step forward.  It's not like
> everyone has hardware that can use such a driver after all!
True, but it's fairly common right now, until every microcontroller gets a 
hardware SD controller (which seems to be the trend)

> That's how it's done in that patch.  The model being what the PXA MMC/SD
> card driver does, since that's the most generic model I found ... handling
> for example systems which need to poll for card detect, as well as ones
> that can use real gpio based IRQs.  The mmc_spi driver doesn't need to know
> which kind of platform it's got.
Sounds good, thanks

NZG


  reply	other threads:[~2007-03-09 16:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-07 17:55 passing function pointers through platform devices? David Brownell
2007-03-09 16:31 ` NZG [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-03-06 18:46 NZG
2007-03-07  3:53 ` Ben Nizette
2007-03-07 16:37   ` NZG
2007-03-07 17:07     ` Randy Dunlap
2007-03-07 17:36       ` NZG
2007-03-08 18:41     ` Haavard Skinnemoen
2007-03-08 18:57       ` NZG
2007-03-07 17:11 ` Paul Sokolovsky

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=200703091031.19758.ngustavson@emacinc.com \
    --to=ngustavson@emacinc.com \
    --cc=david-b@pacbell.net \
    --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