Commit 595558b0 authored by Dave Jones's avatar Dave Jones Committed by Dave Jones

[AGPGART] Make agp=off work again.

This option only worked for the amd64 driver.
On every other driver, the only thing it did was
make it not printk the banner on startup.
parent 9c0bbb46
......@@ -243,6 +243,9 @@ int agp_add_bridge(struct agp_bridge_data *bridge)
{
int error;
if (agp_off)
return -ENODEV;
if (!bridge->dev) {
printk (KERN_DEBUG PFX "Erk, registering with no pci_dev!\n");
return -EINVAL;
......
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