]> err.no Git - linux-2.6/commitdiff
[AGPGART] Add some informational printk to nforce GART failure path.
authorDave Jones <davej@redhat.com>
Mon, 20 Feb 2006 23:34:37 +0000 (18:34 -0500)
committerDave Jones <davej@redhat.com>
Mon, 20 Feb 2006 23:34:37 +0000 (18:34 -0500)
Signed-off-by: Dave Jones <davej@redhat.com>
drivers/char/agp/amd64-agp.c

index 9964c508c1113e4d2a4540427982e1c791c210d7..1251b2515bbea9b0aabdbef1fd29a34197cabef8 100644 (file)
@@ -516,8 +516,10 @@ static int __devinit nforce3_agp_init(struct pci_dev *pdev)
        pci_read_config_dword (hammers[0], AMD64_GARTAPERTUREBASE, &apbase);
 
        /* if x86-64 aperture base is beyond 4G, exit here */
-       if ( (apbase & 0x7fff) >> (32 - 25) )
-                return -ENODEV;
+       if ( (apbase & 0x7fff) >> (32 - 25) ) {
+               printk(KERN_INFO PFX "aperture base > 4G\n");
+               return -ENODEV;
+       }
 
        apbase = (apbase & 0x7fff) << 25;