Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Sep 2009 13:16:16 +0000 (UTC)
From:      Nick Hibma <n_hibma@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r197191 - head/sys/dev/agp
Message-ID:  <200909141316.n8EDGGao055570@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: n_hibma
Date: Mon Sep 14 13:16:16 2009
New Revision: 197191
URL: http://svn.freebsd.org/changeset/base/197191

Log:
  John Baldwin suggested that 'stolen memory' only happens in the case of
  i810 and therefore is useful info there. Aperture size and stolen memory
  are now printed on one line.
  
  Submitted by:	jhb

Modified:
  head/sys/dev/agp/agp_i810.c

Modified: head/sys/dev/agp/agp_i810.c
==============================================================================
--- head/sys/dev/agp/agp_i810.c	Mon Sep 14 11:46:43 2009	(r197190)
+++ head/sys/dev/agp/agp_i810.c	Mon Sep 14 13:16:16 2009	(r197191)
@@ -667,14 +667,12 @@ agp_i810_attach(device_t dev)
 		gatt->ag_physical = pgtblctl & ~1;
 	}
 
-	if (bootverbose) {
-		device_printf(dev, "aperture size is %dM",
-		    sc->initial_aperture / 1024 / 1024);
-		if (sc->stolen > 0)
-			printf(", detected %dk stolen memory\n", sc->stolen * 4);
-		else
-			printf("\n");
-	}
+	device_printf(dev, "aperture size is %dM",
+	    sc->initial_aperture / 1024 / 1024);
+	if (sc->stolen > 0)
+		printf(", detected %dk stolen memory\n", sc->stolen * 4);
+	else
+		printf("\n");
 
 	if (0)
 		agp_i810_dump_regs(dev);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909141316.n8EDGGao055570>