diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2008-07-30 12:26:51 -0700 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-08-12 10:13:37 +1000 |
commit | 55814b74c95a73dae6795e167294e6edc733aae9 (patch) | |
tree | 3802b06298c7f2796546e70779e1094bc585973f /drivers/Kconfig | |
parent | 99d32bd5c7b1caa05d1fe3c89b08aabd459bc12a (diff) |
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>
Diffstat (limited to 'drivers/Kconfig')
0 files changed, 0 insertions, 0 deletions