Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Mar 2012 21:34:36 +0000
From:      "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To:        John Baldwin <jhb@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r232727 - head/sys/dev/bge
Message-ID:  <81876B03-323E-43FC-BB99-4F1BECECD9AD@lists.zabbadoz.net>
In-Reply-To: <201203091605.q29G5B5i014414@svn.freebsd.org>
References:  <201203091605.q29G5B5i014414@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 9. Mar 2012, at 16:05 , John Baldwin wrote:

> Author: jhb
> Date: Fri Mar  9 16:05:11 2012
> New Revision: 232727
> URL: http://svn.freebsd.org/changeset/base/232727
>=20
> Log:
>  Remove PAE special-case 2GB DMA boundary and always use a 4GB =
boundary
>  now that DMA tags in PAE kernels support 4GB boundaries.
>=20
>  Reviewed by:	yongari
>=20
> Modified:
>  head/sys/dev/bge/if_bgereg.h
>=20

ie63 XEN and PAE at least failed.

/scratch/tmp/bz/head.svn/sys/modules/bge/../../dev/bge/if_bge.c: In =
function 'bge_dma_alloc':
/scratch/tmp/bz/head.svn/sys/modules/bge/../../dev/bge/if_bge.c:2607: =
warning: large integer implicitly truncated to unsigned type =
[-Woverflow]



> Modified: head/sys/dev/bge/if_bgereg.h
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
> --- head/sys/dev/bge/if_bgereg.h	Fri Mar  9 15:42:47 2012	=
(r232726)
> +++ head/sys/dev/bge/if_bgereg.h	Fri Mar  9 16:05:11 2012	=
(r232727)
> @@ -2691,15 +2691,11 @@ struct bge_gib {
> #define	BGE_DMA_MAXADDR		0xFFFFFFFFFF
> #endif
>=20
> -#ifdef PAE
> -#define	BGE_DMA_BNDRY		0x80000000
> -#else
> #if (BUS_SPACE_MAXADDR > 0xFFFFFFFF)
> #define	BGE_DMA_BNDRY		0x100000000
> #else
> #define	BGE_DMA_BNDRY		0
> #endif
> -#endif
>=20
> /*
>  * Ring structures. Most of these reside in host memory and we tell

--=20
Bjoern A. Zeeb                                 You have to have visions!
   It does not matter how good you are. It matters what good you do!




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?81876B03-323E-43FC-BB99-4F1BECECD9AD>