mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Philip Langdale <philipl@overt.org>
To: Maxim Levitsky <maximlevitsky@gmail.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>, philipl@alumni.utexas.net
Subject: Re: The work of ricoh_mmc isn't detected by pci core
Date: Mon, 23 Nov 2009 16:21:19 -0800	[thread overview]
Message-ID: <20091123162119.3777e14d@fido2.homeip.net> (raw)
In-Reply-To: <1259021583.16650.9.camel@maxim-laptop>

On Tue, 24 Nov 2009 02:13:03 +0200
Maxim Levitsky <maximlevitsky@gmail.com> wrote:

> Hi,
> 
> I noticed that usage of ricoh_mmc will lead to this
> 
> 
> 07:00.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro
> Host Adapter (rev 22) 07:00.2 System peripheral: Ricoh Co Ltd R5C843
> MMC Host Controller (rev 12) 07:00.3 System peripheral: Ricoh Co Ltd
> R5C592 Memory Stick Bus Host Adapter (rev 12) 07:00.4 System
> peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev ff)
> 
> 
> I don't have yet an MMC card to test if the driver itself working, 
> but what happens is that once disabled, all pci functions shift 
> one level, but kernel doesn't pick that up.
> 
> If one implements drivers for XD and memstick parts, this would break
> everything. (And I have some plans for XD part)
> 
> ricoh_mmc is built-in, but this doesn't help.
> 
> Best regards,
> Maxim Levitsky

Hmm, yes, that's true (and if you do a warn reboot, the effect is
sticky and then MMC is missing). I don't know how to make the pci
core re-enumerate devices, but maybe there is a way. I'm not in
a position to do this myself in the near future; so I'm afraid
that if you need this fixed, you'll have to do the digging.

Is it sufficient to call pci_rescan_bus at the end of the disable/enable
routine in ricoh_mmc?

--phil

  reply	other threads:[~2009-11-24  0:47 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-24  0:13 Maxim Levitsky
2009-11-24  0:21 ` Philip Langdale [this message]
2009-11-25 14:55   ` Maxim Levitsky
2009-11-25 14:58     ` [PATCH] Port ricoh_mmc from driver to pci quirk Maxim Levitsky
2009-11-25 16:53       ` Philip Langdale
2009-11-25 19:35         ` Andrew Morton
2009-11-25 23:40           ` Maxim Levitsky
2009-11-26  1:30             ` Philip Langdale
2009-11-26 23:51               ` Maxim Levitsky
2009-11-26 23:53                 ` [PATCH v2] port ricoh_mmc to be " Maxim Levitsky
2009-11-27  7:55                   ` Philip Langdale
2010-01-08 15:24                     ` Maxim Levitsky
2010-01-08 15:40                       ` Philip Langdale
2010-01-12 23:43                         ` Andrew Morton
2010-01-13  1:23                           ` Philip Langdale
2010-01-13  6:46                           ` Wolfram Sang
2010-01-29 13:37                             ` [PATCH v3] port ricoh_mmc to " Maxim Levitsky
2010-01-29 16:06                               ` Philip Langdale
2010-01-29 22:10                                 ` Maxim Levitsky
2010-01-30  2:18                                   ` Philip Langdale
2010-01-29 16:33                               ` Wolfram Sang
2010-01-29 22:13                                 ` Maxim Levitsky
2010-01-30 21:28                               ` [PATCH] Port " Maxim Levitsky
2010-02-01 15:45                                 ` Maxim Levitsky
2009-11-25 20:30         ` [PATCH] Port ricoh_mmc from driver " 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=20091123162119.3777e14d@fido2.homeip.net \
    --to=philipl@overt.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maximlevitsky@gmail.com \
    --cc=philipl@alumni.utexas.net \
    /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

all inboxes | Powered by JetHome®