kernel-aes67/drivers/pci
Ivan Kokshaysky 960b846654 [PATCH] yet another fix for setup-bus.c/x86 merge
There is a slight disagreement between setup-bus.c code and traditional
x86 PCI setup wrt which recourses are invalid vs resources that are free
for further allocations.

In particular, in the setup-bus.c, if we failed to allocate some resource,
we nullify "start" and "flags" fields, but *not* the "end" one.

But x86 pcibios_enable_resources() does the following check:

	if (!r->start && r->end) {
		printk(KERN_ERR "PCI: Device %s not available because of resource collisions\n", pci_name(dev));
		return -EINVAL;

which means that the device owning the offending resource cannot be
enabled.

In particular, this breaks cardbus behind the normal decode p2p bridge -
the cardbus code from setup-bus.c requests rather large IO and MEM
windows, and if it fails, the socket is completely unavailable.  Which
is wrong, as the yenta code is capable to allocate smaller windows.

Signed-off-by: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-07-06 16:12:58 -07:00
..
hotplug [PATCH] cpqphp: fix oops during unload without probe 2005-06-27 21:52:46 -07:00
pcie [PATCH] PCI: acpi tg3 ethernet not coming back properly after S3 suspendon DellM70 2005-07-01 13:35:51 -07:00
access.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bus.c [PATCH] acpi bridge hotadd: Link newly created pci child bus to its parent on creation 2005-06-27 21:52:40 -07:00
gen-devlist.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hotplug.c [PATCH] PCI: Remove newline from pci MODALIAS variable 2005-07-01 13:35:51 -07:00
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [PATCH] gregkh-pci-pci-assign-unassigned-resources fix 2005-07-01 13:35:52 -07:00
msi.c [PATCH] PCI: clean up the MSI code a bit. 2005-06-27 21:52:46 -07:00
msi.h [PATCH] PCI: clean up the MSI code a bit. 2005-06-27 21:52:46 -07:00
names.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pci-acpi.c [PATCH] PCI: Clean up a lot of sparse "Should it be static?" warnings. 2005-05-03 23:45:14 -07:00
pci-driver.c [PATCH] PCI: fix !CONFIG_HOTPLUG pci build problem 2005-07-06 09:22:45 -07:00
pci-sysfs.c [PATCH] PCI: fix-pci-mmap-on-ppc-and-ppc64.patch 2005-06-27 21:52:45 -07:00
pci.c [PATCH] pci: cleanup argument comments for pci_{save,restore}_state 2005-07-01 13:35:52 -07:00
pci.h [PATCH] PCI Hotplug: remove pci_visit_dev 2005-05-17 14:31:11 -07:00
pci.ids [TG3]: Update pci.ids for BCM5752 2005-06-06 15:14:35 -07:00
probe.c [PATCH] PCI: handle subtractive decode pci-pci bridge better 2005-07-01 13:35:50 -07:00
proc.c [PATCH] PCI: fix-pci-mmap-on-ppc-and-ppc64.patch 2005-06-27 21:52:45 -07:00
quirks.c [PATCH] PCI: Add PCI quirk for SMBus on the Asus P4B-LX 2005-07-01 13:35:51 -07:00
remove.c [PATCH] acpi bridge hotadd: Make the PCI remove routines safe for failed hot-plug 2005-06-27 21:52:41 -07:00
rom.c [PATCH] DocBook: fix some descriptions 2005-05-01 08:59:26 -07:00
search.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
setup-bus.c [PATCH] yet another fix for setup-bus.c/x86 merge 2005-07-06 16:12:58 -07:00
setup-irq.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
setup-res.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
syscall.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00