Subject: Re: [patch 1/8] myri10ge: alpha build fix

From: Brice Goglin <[email-masked]>
Date: Fri, 09 Jun 2006 07:46:25 -0400

A similar fix is included in the myri10ge update that Jeff merged into
netdev yesterday.

thanks,
Brice

[email-masked] wrote:
> From: Andrew Morton <[email-masked]>
>
> drivers/net/myri10ge/myri10ge.c: In function 'myri10ge_submit_8rx':
> drivers/net/myri10ge/myri10ge.c:772: error: 'DMA_32BIT_MASK' undeclared (first use in this function)
> drivers/net/myri10ge/myri10ge.c:772: error: (Each undeclared identifier is reported only once
> drivers/net/myri10ge/myri10ge.c:772: error: for each function it appears in.)
> drivers/net/myri10ge/myri10ge.c: In function 'myri10ge_probe':
> drivers/net/myri10ge/myri10ge.c:2607: error: 'DMA_64BIT_MASK' undeclared (first use in this function)
> drivers/net/myri10ge/myri10ge.c:2612: error: 'DMA_32BIT_MASK' undeclared (first use in this function)
>
> Cc: Brice Goglin <[email-masked]>
> Cc: Jeff Garzik <[email-masked]>
> Signed-off-by: Andrew Morton <[email-masked]>
> ---
>
>  drivers/net/myri10ge/myri10ge.c |    2 ++
>  1 file changed, 2 insertions(+)
>
> diff -puN drivers/net/myri10ge/myri10ge.c~myri10ge-alpha-build-fix drivers/net/myri10ge/myri10ge.c
> --- devel/drivers/net/myri10ge/myri10ge.c~myri10ge-alpha-build-fix	2006-06-03 21:13:30.000000000 -0700
> +++ devel-akpm/drivers/net/myri10ge/myri10ge.c	2006-06-03 21:13:43.000000000 -0700
> @@ -59,6 +59,8 @@
>  #include <linux/crc32.h>
>  #include <linux/moduleparam.h>
>  #include <linux/io.h>
> +#include <linux/dma-mapping.h>
> +
>  #include <net/checksum.h>
>  #include <asm/byteorder.h>
>  #include <asm/io.h>
> _
>