public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Russell King - ARM Linux <linux@arm.linux.org.uk>
To: "Anderson.Briglia@indt.org.br" <Anderson.Briglia@indt.org.br>
Cc: linux-omap-open-source@linux.omap.com
Subject: Re: [PATCH] MMC - CONFIG_HOTPLUG support
Date: Sat, 31 Dec 2005 16:00:38 +0000	[thread overview]
Message-ID: <20051231160038.GA7934@flint.arm.linux.org.uk> (raw)
In-Reply-To: <F26D8BDC5BC8014A909C6D45468F69EF022B6817@mzebe101.NOE.Nokia.com>

On Mon, Dec 26, 2005 at 03:46:58PM -0300, Anderson.Briglia@indt.org.br wrote:
> > This is already implemented.  The MMC block driver will be called via
> > mmc_blk_probe() when a card is inserted, and via mmc_blk_remove()
> > when it is removed.
> 
> Yes, it's right. But if the MMC block driver is compiled as a module,
> it's not loaded automatically by the MMC core driver.

That's not a kernel problem - the userspace tools (module-utils) do not
know how to interpret the MMC hotplug information to determine which
modules need loading.

However, it's quite likely that even if they did, we'll need to change
the way that the MMC drivers are bound to the MMC devices - it's possible
that a MMC device could be driven by more than one driver.

> Another problem is a bug on mmc omap driver: if a card is released,
> the sysfs and /dev entries are not removed (I'm using udev).

Which sysfs entries?  Could be that the omap driver doesn't detect
card removals correctly - or is asking the MMC subsystem to re-detect
cards before the card has actually disconnected from the bus.

      reply	other threads:[~2005-12-31 16:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-16 19:50 [PATCH] MMC - CONFIG_HOTPLUG support Anderson Briglia
2005-12-16 21:58 ` Russell King - ARM Linux
2005-12-19 12:52   ` Anderson.Briglia
2005-12-19 13:04     ` Russell King - ARM Linux
2005-12-19 15:44       ` Juha Yrjölä
2005-12-19 16:02       ` Anderson.Briglia
2005-12-24 22:35         ` Russell King - ARM Linux
2005-12-26 18:46           ` Anderson.Briglia
2005-12-31 16:00             ` Russell King - ARM Linux [this message]

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=20051231160038.GA7934@flint.arm.linux.org.uk \
    --to=linux@arm.linux.org.uk \
    --cc=Anderson.Briglia@indt.org.br \
    --cc=linux-omap-open-source@linux.omap.com \
    /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