svn commit: r197191 - head/sys/dev/agp

Robert Noland rnoland at FreeBSD.org
Mon Sep 14 13:21:48 UTC 2009


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 at FreeBSD.org>
FreeBSD



More information about the svn-src-head mailing list