Re: MMC host driver requirements

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Pierre Ossman
Date: Tuesday, September 9, 2008 - 12:18 am

On Sun, 7 Sep 2008 23:52:28 +0200
Michał Mirosław <mirq-linux@rere.qmqm.pl> wrote:


Hmm... I thought the CB710/720 only had an SDHCI interface for the
MMC/SD portion.


No you can't.


Yes, although I'm not sure how well tested it is.


Requests are serialised, yes. But you could in theory get set_ios()
calls during an ongoing request. Doing so would be very undefined
though so it should be sufficient to just avoid crashing the entire
system if that happens.


Not much really. The cmd->data pointer is for convenience as it allows
common code paths for handling mrq->cmd and mrq->stop.


None at all. You have to specify your restrictions in the mmc_host
structure fields (note that you cannot restrict alignment in any way).
The mmc_test driver is useful for testing some of the corner cases.


The requirements are generally low for merging. Mostly you just need to
promise to stick around and fix problems. You should be aware that the
style requirements and API adherence are very important. Run you stuff
through checkpatch.pl before submitting. Sparse can usually also find
quite a few problems.


As I said, to my knowledge the sdhci driver covers this hardware, but
the support is rather crappy as the controller is buggy as hell. And
ENE does indeed ignore all attempts at contact.

Rgds
-- 
     -- Pierre Ossman

  Linux kernel, MMC maintainer        http://www.kernel.org
  rdesktop, core developer          http://www.rdesktop.org

  WARNING: This correspondence is being monitored by the
  Swedish government. Make sure your server uses encryption
  for SMTP traffic and consider using PGP for end-to-end
  encryption.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
MMC host driver requirements, Michał Mirosław, (Sun Sep 7, 2:52 pm)
Re: MMC host driver requirements, Pierre Ossman, (Tue Sep 9, 12:18 am)
Re: MMC host driver requirements, Michał Mirosław, (Tue Sep 9, 2:06 am)
Driver for CB710/720 memory card reader (MMC part), Michał Mirosław, (Thu Sep 11, 1:13 pm)
RFC: Driver for CB710/720 memory card reader (MMC part), Michał Mirosław, (Fri Sep 12, 4:43 pm)
RFC: Driver for CB710/720 memory card reader (MMC part) - v2, Michał Mirosław, (Wed Sep 24, 11:29 pm)
RFC: Driver for CB710/720 memory card reader (MMC part) - v3, Michał Mirosław, (Wed Oct 29, 7:11 am)
Re: RFC: Driver for CB710/720 memory card reader (MMC part ..., =?iso-8859-2?Q?Micha ..., (Sun Feb 1, 11:54 am)
[PATCH/RFC 2.6.29.2] Driver for CB710/720 memory card read ..., =?iso-8859-2?Q?Micha ..., (Fri May 8, 8:16 am)
[PATCH 2.6.29.3] Driver for CB710/720 memory card reader ( ..., =?iso-8859-2?Q?Micha ..., (Fri May 22, 10:55 am)
[PATCH 2.6.29.4] Driver for CB710/720 memory card reader ( ..., =?iso-8859-2?Q?Micha ..., (Fri May 22, 11:33 am)
Re: [PATCH/RFC 2.6.29.2] Driver for CB710/720 memory card ..., Bartlomiej Zolnierki ..., (Fri May 22, 12:04 pm)
Re: [PATCH 2.6.29.4] Driver for CB710/720 memory card read ..., =?iso-8859-2?Q?Micha ..., (Thu Jun 4, 3:24 am)
Re: [PATCH 2.6.29.4] Driver for CB710/720 memory card read ..., =?iso-8859-2?Q?Micha ..., (Fri Jun 5, 2:26 am)