Re: PATCH: 2.5.27 port thunderlan to the new DMA API

From: Nicholas Miell (nmiell@attbi.com)
Date: Mon Jul 22 2002 - 00:51:19 EST


On Sun, 2002-07-21 at 13:08, Alan Cox wrote:
> Tested and running on my Compaq both in bbuf and direct mode.
>

I need this to compile, which leads me to believe that perhaps that
wasn't your final patch...

--- linux-2.5.27/drivers/net/tlan.c.~1~ Sun Jul 21 18:20:49 2002
+++ linux-2.5.27/drivers/net/tlan.c Sun Jul 21 22:40:31 2002
@@ -1536,7 +1536,7 @@
                                 new_skb->dev = dev;
                                 skb_reserve( new_skb, 2 );
                                 t = (void *) skb_put( new_skb, TLAN_MAX_FRAME_SIZE );
- head_list->buffer[0].address = pci_map_single(priv->pciDev, newskb->data, TLAN_MAX_FRAME_SIZE, PCI_DMA_FROMDEVICE);
+ head_list->buffer[0].address = pci_map_single(priv->pciDev, new_skb->data, TLAN_MAX_FRAME_SIZE, PCI_DMA_FROMDEVICE);
                                 head_list->buffer[8].address = (u32) t;
 #ifdef __LP64__
 #error "Not 64bit clean"

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jul 23 2002 - 22:00:37 EST