Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 35340
b: refs/heads/master
c: 8624a1c
h: refs/heads/master
v: v3
  • Loading branch information
Stephen Rothwell authored and Jeff Garzik committed Sep 19, 2006
1 parent 6ea91e8 commit e99af87
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 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: 26d36b642e2f024019f94819284a11273807571d
refs/heads/master: 8624a1c93772d24a38ed10cfcd290e8a18ac5b0a
9 changes: 0 additions & 9 deletions trunk/drivers/net/3c509.c
Original file line number Diff line number Diff line change
Expand Up @@ -879,11 +879,7 @@ el3_start_xmit(struct sk_buff *skb, struct net_device *dev)
outw(skb->len, ioaddr + TX_FIFO);
outw(0x00, ioaddr + TX_FIFO);
/* ... and the packet rounded to a doubleword. */
#ifdef __powerpc__
outsl_ns(ioaddr + TX_FIFO, skb->data, (skb->len + 3) >> 2);
#else
outsl(ioaddr + TX_FIFO, skb->data, (skb->len + 3) >> 2);
#endif

dev->trans_start = jiffies;
if (inw(ioaddr + TX_FREE) > 1536)
Expand Down Expand Up @@ -1103,13 +1099,8 @@ el3_rx(struct net_device *dev)
skb_reserve(skb, 2); /* Align IP on 16 byte */

/* 'skb->data' points to the start of sk_buff data area. */
#ifdef __powerpc__
insl_ns(ioaddr+RX_FIFO, skb_put(skb,pkt_len),
(pkt_len + 3) >> 2);
#else
insl(ioaddr + RX_FIFO, skb_put(skb,pkt_len),
(pkt_len + 3) >> 2);
#endif

outw(RxDiscard, ioaddr + EL3_CMD); /* Pop top Rx packet. */
skb->protocol = eth_type_trans(skb,dev);
Expand Down

0 comments on commit e99af87

Please sign in to comment.