Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 108763
b: refs/heads/master
c: 0d63bea
h: refs/heads/master
i:
  108761: 21f7ac9
  108759: 51118fc
v: v3
  • Loading branch information
Robert Fitzsimons authored and Jeff Garzik committed Aug 14, 2008
1 parent 615999e commit e33582e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e484d5f5c8c64e2c4f110c59e9e964884107822a
refs/heads/master: 0d63bea2c20651588e5e631799a961468a735eb9
8 changes: 4 additions & 4 deletions trunk/drivers/net/tlan.c
Original file line number Diff line number Diff line change
Expand Up @@ -360,8 +360,8 @@ TLan_GetSKB( const struct tlan_list_tag *tag)
{
unsigned long addr;

addr = tag->buffer[8].address;
addr |= (tag->buffer[9].address << 16) << 16;
addr = tag->buffer[9].address;
addr |= (tag->buffer[8].address << 16) << 16;
return (struct sk_buff *) addr;
}

Expand Down Expand Up @@ -1984,7 +1984,6 @@ static void TLan_ResetLists( struct net_device *dev )
TLanList *list;
dma_addr_t list_phys;
struct sk_buff *skb;
void *t = NULL;

priv->txHead = 0;
priv->txTail = 0;
Expand Down Expand Up @@ -2022,7 +2021,8 @@ static void TLan_ResetLists( struct net_device *dev )
}

skb_reserve( skb, NET_IP_ALIGN );
list->buffer[0].address = pci_map_single(priv->pciDev, t,
list->buffer[0].address = pci_map_single(priv->pciDev,
skb->data,
TLAN_MAX_FRAME_SIZE,
PCI_DMA_FROMDEVICE);
TLan_StoreSKB(list, skb);
Expand Down

0 comments on commit e33582e

Please sign in to comment.