[additional patch for -mm 1/1] pcmcia: work around bug in libsysfs

Dominik Brodowski linux at dominikbrodowski.net
Wed May 4 17:37:48 EDT 2005


On Wed, May 04, 2005 at 01:27:04PM -0700, Andrew Morton wrote:
> Dominik Brodowski <linux at dominikbrodowski.net> wrote:
> >
> > > Did earlier kernels work OK with older sysfsutils or what?
> > 
> > No, not a single (pcmcia-patched) kernel worked OK with current sysfsutils.
> 
> hm.
> 
> > So, feel free to drop it if you consider it the wrong thing to do.
> 
> It does set a bad precedent.
> 
> How many people are actually being bitten by this problem?

To be bitten by this bug, the following needs to occur:
Someone needs to run
	a) pcmciautils
on his notebook, but without a patched libsysfs from sysfsutils,
and this notebook needs to be of the
	b) x86 architecture
without a PCI-PCI bridge as "parent" of the cardbus bridge. AFAIK, all
current notebooks do have such a PCI-PCI bridge as parent.

> What is the impact of this breakage?

Resources (ioports, iomem) to be made available to PCMCIA cards can't be set
using pcmcia-socket-startup from pcmciautils, meaning 16-bit PCMCIA do not
work using pcmciautils.

HOWEVER: gentoo is aware of this bug, usually I add a warning about this bug
to pcmciautils release announcements, and it is noted on the pcmciautils
homepage at http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html
Oh, actually, it isn't, but I'll fix it up.

With the impact not being too big, I think it can be dropped.

	Dominik



More information about the linux-pcmcia mailing list