linux/drivers/char/agp
Bjorn Helgaas 55814b74c9 amd64-agp: run fallback when no bridges found, not when driver registration fails
I think the intent was that if no bridges matched agp_amd64_pci_table[],
we would fall back to checking for any bridge with the AGP capability.
But in the current code, we execute the fallback path only when
pci_register_driver() itself fails, which is unrelated to whether any
matching devices were found.

This patch counts the AGP bridges found in the probe() method and executes
the fallback path when none is found.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2008-08-12 10:13:37 +10:00
..
agp.h drivers/char/agp - use bool 2008-06-19 10:04:20 +10:00
ali-agp.c x86: cpa: move flush to cpa 2008-01-30 13:34:07 +01:00
alpha-agp.c drivers/char/agp - use bool 2008-06-19 10:04:20 +10:00
amd-k7-agp.c drivers/char/agp - use bool 2008-06-19 10:04:20 +10:00
amd64-agp.c amd64-agp: run fallback when no bridges found, not when driver registration fails 2008-08-12 10:13:37 +10:00
ati-agp.c drivers/char/agp - use bool 2008-06-19 10:04:20 +10:00
backend.c agp: two-stage page destruction issue 2008-06-19 09:56:16 +10:00
compat_ioctl.c agp: more boolean conversions. 2008-06-19 10:42:17 +10:00
compat_ioctl.h agp: add chipset flushing support to AGP interface 2008-02-05 14:33:32 +10:00
efficeon-agp.c drivers/char/agp - use bool 2008-06-19 10:04:20 +10:00
frontend.c Merge commit 'v2.6.26' into bkl-removal 2008-07-14 15:29:34 -06:00
generic.c on_each_cpu(): kill unused 'retry' parameter 2008-06-26 11:24:38 +02:00
hp-agp.c drivers/char/agp - use bool 2008-06-19 10:04:20 +10:00
i460-agp.c drivers/char/agp - use bool 2008-06-19 10:04:20 +10:00
intel-agp.c intel_agp: official name for GM45 chipset 2008-08-12 10:13:37 +10:00
isoch.c [AGPGART] Lots of CodingStyle/whitespace cleanups. 2006-02-28 00:54:25 -05:00
Kconfig x86 gart: rename CONFIG_IOMMU to CONFIG_GART_IOMMU 2007-10-30 00:22:22 +01:00
Makefile [AGPGART] Fix modular agpgart ia64 allmodconfig 2007-02-20 14:18:01 -05:00
nvidia-agp.c drivers/char/agp - use bool 2008-06-19 10:04:20 +10:00
parisc-agp.c drivers/char/agp - use bool 2008-06-19 10:04:20 +10:00
sgi-agp.c drivers/char/agp - use bool 2008-06-19 10:04:20 +10:00
sis-agp.c agp: add support for 662/671 to agp driver 2008-02-20 10:18:46 +10:00
sworks-agp.c drivers/char/agp - use bool 2008-06-19 10:04:20 +10:00
uninorth-agp.c drivers/char/agp - use bool 2008-06-19 10:04:20 +10:00
via-agp.c agp/via: fixup pci ids 2008-06-19 09:52:26 +10:00