Commit 82aecba7 authored by Dave Jones's avatar Dave Jones Committed by Dave Jones

[AGPGART] Don't abort if Intel-agp can't find AGP capability.

Some bridges don't have this set it seems.
Detective work, and fixing by Andi Kleen.
parent 3bf263ee
...@@ -1264,8 +1264,6 @@ static int __devinit agp_intel_probe(struct pci_dev *pdev, ...@@ -1264,8 +1264,6 @@ static int __devinit agp_intel_probe(struct pci_dev *pdev,
struct resource *r; struct resource *r;
cap_ptr = pci_find_capability(pdev, PCI_CAP_ID_AGP); cap_ptr = pci_find_capability(pdev, PCI_CAP_ID_AGP);
if (!cap_ptr)
return -ENODEV;
bridge = agp_alloc_bridge(); bridge = agp_alloc_bridge();
if (!bridge) if (!bridge)
......
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