public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dominik Brodowski <linux@dominikbrodowski.net>
To: Pavel Machek <pavel@ucw.cz>
Cc: Richard Purdie <rpurdie@rpsys.net>,
	kernel list <linux-kernel@vger.kernel.org>
Subject: Re: Heads up for distro folks: PCMCIA hotplug differences (Re: -rc4: arm broken?)
Date: Sun, 31 Jul 2005 00:43:52 +0200	[thread overview]
Message-ID: <20050730224352.GA19916@isilmar.linta.de> (raw)
In-Reply-To: <20050730223030.GH9418@elf.ucw.cz>

Hi,

On Sun, Jul 31, 2005 at 12:30:30AM +0200, Pavel Machek wrote:
> > > > Let me qualify that, because it's not 100% fine due to the changes in
> > > > PCMCIA land.
> > > > 
> > > > Since PCMCIA cards are detected and drivers bound at boot time, we no
> > > > longer get hotplug events to setup networking for PCMCIA network cards
> > > > already inserted.  Consequently, if you are relying on /sbin/hotplug to
> > > > setup your PCMCIA network card at boot time, triggered by the cardmgr
> > > > startup binding the driver, it won't happen.
> > > 
> > > Does that mean that if CF is inserted during bootup, it will simply
> > > appear as /dev/hda after bootup, without need to run cardmgr?
> > 
> > Yes, which is almost a plus side.  Whether you can use it to boot
> 
> That's certainly a plus side, because I should be able to use pcmcia
> cards without setting much userland.

Let me clarify this a bit, and point all interested parties to
http://kernel.org/pub/linux/utils/kernel/pcmcia/howto.html

PCMCIA can work without userspace on 2.6.13 if you compile all necessary
things into the kernel and:

a) the socket is smart enough.This is the case for
	- all sockets which statically map resources 
	  (hd64465, Au1x00, SA1100, SA1111, PXA2xx, M32R_PCC, M32R_CFC, 
	   VRC4171, VRC4173)
	- yenta-socket, pd6729 or i82092 if it 
		1) resides behind a PCI-PCI bridge [oh, I need to update
			the howto regarding this point...] or
		2) resides behind some other bridge limiting the resource
			space (PPC, PPC64)

and

b) a Manufactor/Device or Product ID match is known for the device. Matching
for "Function ID" (quite common for CF cards, unfortunately) is fuzzy and
therefore can only be enabled if we are sure no (other) driver matches. And
that's currently done by waiting for userspace telling the kernel that it
already modprobed all available modules. In the long term, we should try to
get rid of all "Function ID" matches, and use the more specific Manufactor,
Device and Product ID matches. So patches adding more IDs are welcome.

Thanks,
	Dominik

  reply	other threads:[~2005-07-30 22:43 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-30 13:04 -rc4: arm broken? Pavel Machek
2005-07-30 16:13 ` Russell King
2005-07-30 16:45 ` Richard Purdie
2005-07-30 19:02   ` Pavel Machek
2005-07-30 19:15   ` Russell King
2005-07-30 19:18     ` Pavel Machek
2005-07-30 21:36     ` Heads up for distro folks: PCMCIA hotplug differences (Re: -rc4: arm broken?) Russell King
2005-07-30 21:41       ` Pavel Machek
2005-07-30 21:55         ` Russell King
2005-07-30 22:30           ` Pavel Machek
2005-07-30 22:43             ` Dominik Brodowski [this message]
2005-07-30 22:17       ` Grant Coady
2005-07-30 22:26         ` Russell King
2005-07-30 23:31           ` Richard Purdie
2005-08-01  1:01       ` Alan Cox
2005-08-01  6:48         ` Russell King
2005-08-01 12:16           ` [PATCH] pcmcia: defer ide-cs initialization after other IDE drivers started up [Was: Re: Heads up for distro folks: PCMCIA hotplug differences (Re: -rc4: arm broken?)] Dominik Brodowski

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=20050730224352.GA19916@isilmar.linta.de \
    --to=linux@dominikbrodowski.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pavel@ucw.cz \
    --cc=rpurdie@rpsys.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