Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Sep 2009 08:21:40 -0500
From:      Robert Noland <rnoland@FreeBSD.org>
To:        Nick Hibma <n_hibma@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r197191 - head/sys/dev/agp
Message-ID:  <1252934500.1992.1466.camel@balrog.2hip.net>
In-Reply-To: <200909141316.n8EDGGao055570@svn.freebsd.org>
References:  <200909141316.n8EDGGao055570@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2009-09-14 at 13:16 +0000, Nick Hibma wrote:
> 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

This is fine, thanks.

robert.

> 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);
-- 
Robert Noland <rnoland@FreeBSD.org>
FreeBSD




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