]> err.no Git - linux-2.6/commit
[PATCH] ACPI-based PCI resources: PCMCIA bugfix, but resources missing in trees
authorDominik Brodowski <linux@dominikbrodowski.net>
Mon, 27 Jun 2005 23:29:02 +0000 (16:29 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 28 Jun 2005 01:03:22 +0000 (18:03 -0700)
commitb6d00f0de9e932e2884b3b7af8e43c0a61a271ee
tree1d9b01dd4136eb4e44083a31f46dd7e7283dd683
parent3248ff43f86493368b321376d447d84fa9a2737d
[PATCH] ACPI-based PCI resources: PCMCIA bugfix, but resources missing in trees

Don't auto-configure yenta sockets for PCMCIA devices if it is connected to
the root PCI bus on the x86 or x86_64 architectures.  Previously, this was
handled by the "ioport_resource"/"iomem_resource" check a few lines below,
but with the new ACPI-based resource handling this doesn't catch all cases
any longer.

pci-yenta-cardbus-fix.patch and this patch should solve the initialization
time trouble.  However, the ACPI-based PCI resource handling is badly
broken, IMHO:

- many resources of devices don't show up in the resource trees (
  /proc/iomem and /proc/ioports) any longer. This means that PCMCIA, but
  also possibly other subsystems (ISA, PnP, ...) do not know which resources
  it cannot use.

- verify_root_windows() should fail if there are no iomem _or_ ioport
  resources, not only if there are no iomem _and_ ioport resources.

Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/pcmcia/rsrc_nonstatic.c