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
> 
> Log:
>  Remove PAE special-case 2GB DMA boundary and always use a 4GB boundary
>  now that DMA tags in PAE kernels support 4GB boundaries.
> 
>  Reviewed by: yongari
> 
> Modified:
>  head/sys/dev/bge/if_bgereg.h
> 

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
> ==============================================================================
> --- 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
> 
> -#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
> 
> /*
>  * Ring structures. Most of these reside in host memory and we tell

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

_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to