Commit 07de993e authored by Dave Jones's avatar Dave Jones

[AGPGART] Make sure we don't give up searching for gfx cards.

We need to clear the previously found cap_ptr, or we exit after
finding the first one, even if its not the one plugged into the
bridge we're looking at.
Signed-off-by: default avatarDave Jones <davej@redhat.com>
parent dace4366
......@@ -639,6 +639,7 @@ u32 agp_collect_device_status(struct agp_bridge_data *bridge, u32 requested_mode
if ((device->bus->self->vendor != bridge->dev->vendor) &&
(device->bus->self->device != bridge->dev->device)) {
pci_dev_put(device);
cap_ptr = 0;
continue;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment