On Sat, Mar 11, 2006 at 02:44:16PM +0100, Francois Romieu wrote:
> Jon Mason <[EMAIL PROTECTED]> :
> [...]
> > diff -r c698c94ff82e drivers/net/dl2k.c
> > --- a/drivers/net/dl2k.c    Thu Mar  9 15:03:49 2006
> > +++ b/drivers/net/dl2k.c    Fri Mar 10 08:48:50 2006
> [...]
> > @@ -765,7 +765,7 @@
> >                     break;
> >             skb = np->tx_skbuff[entry];
> >             pci_unmap_single (np->pdev,
> > -                             np->tx_ring[entry].fraginfo,
> > +                             np->tx_ring[entry].fraginfo & 0xffffffffffff,
> 
> It probably deserves a DMA_48BIT_MASK in include/linux/dma-mapping.h.

According to line 618 of the drivers/net/dl2k.c, the adapter only
supports 40bit DMA addresses.  So, using the existing DMA_40BIT_MASK,
should be sufficient (assuming this comment is correct).

This driver need a lot of work.

Thanks for reviewing the patch :)

Thanks,
Jon
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to