mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 08:31:55 +00:00
55814b74c9
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> |
||
---|---|---|
.. | ||
agp.h | ||
ali-agp.c | ||
alpha-agp.c | ||
amd64-agp.c | ||
amd-k7-agp.c | ||
ati-agp.c | ||
backend.c | ||
compat_ioctl.c | ||
compat_ioctl.h | ||
efficeon-agp.c | ||
frontend.c | ||
generic.c | ||
hp-agp.c | ||
i460-agp.c | ||
intel-agp.c | ||
isoch.c | ||
Kconfig | ||
Makefile | ||
nvidia-agp.c | ||
parisc-agp.c | ||
sgi-agp.c | ||
sis-agp.c | ||
sworks-agp.c | ||
uninorth-agp.c | ||
via-agp.c |