[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <fa686aa41002221425p357d7806n85e15f713d1034ec@mail.gmail.com>
Date: Mon, 22 Feb 2010 15:25:32 -0700
From: Grant Likely <grant.likely@...retlab.ca>
To: gfilip@...ethz.ch
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 5/5] temac: add missing mask
On Mon, Feb 22, 2010 at 12:07 PM, <gfilip@...ethz.ch> wrote:
> For Virtex4-FX this mask is necessary. I think this is also true for Virtex5. Please test.
>
> Signed-off-by: Filip Gospodinov <gfilip@...ethz.ch>
> ---
> drivers/net/ll_temac_main.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/net/ll_temac_main.c b/drivers/net/ll_temac_main.c
> index 8b4e1b9..43d51b7 100644
> --- a/drivers/net/ll_temac_main.c
> +++ b/drivers/net/ll_temac_main.c
> @@ -627,7 +627,7 @@ static void ll_temac_recv(struct net_device *ndev)
> while ((bdstat & STS_CTRL_APP0_CMPLT)) {
>
> skb = lp->rx_skb[lp->rx_bd_ci];
> - length = cur_p->app4;
> + length = (cur_p->app4 & 0x3fff);
A patch making this change has already been merged into david's next tree.
g.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists