]> git.hungrycats.org Git - linux/commitdiff
[AGPGART] intel-agp: skip non-AGP devices
authorDave Jones <davej@redhat.com>
Tue, 1 Jun 2004 18:39:56 +0000 (19:39 +0100)
committerDave Jones <davej@delerium.codemonkey.org.uk>
Tue, 1 Jun 2004 18:39:56 +0000 (19:39 +0100)
From: Matt Domsch.
The E7205 doesn't have an AGP header, so printing this message is
pretty much useless.  Also make it KERN_WARNING as well, as it's
not really worthy of a KERN_ERR

drivers/char/agp/intel-agp.c

index bbf8f3e0476282973da4fc1221d827db3476d485..f8b991673465686f73c53043de0137cc053c32a4 100644 (file)
@@ -1382,7 +1382,8 @@ static int __devinit agp_intel_probe(struct pci_dev *pdev,
                name = "E7205";
                break;
        default:
-               printk(KERN_ERR PFX "Unsupported Intel chipset (device id: %04x)\n",
+               if (cap_ptr)
+                       printk(KERN_WARNING PFX "Unsupported Intel chipset (device id: %04x)\n",
                            pdev->device);
                agp_put_bridge(bridge);
                return -ENODEV;