aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/amd/declance.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/amd/declance.c')
-rw-r--r--drivers/net/ethernet/amd/declance.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/amd/declance.c b/drivers/net/ethernet/amd/declance.c
index 75299f500ee5..7203b522f234 100644
--- a/drivers/net/ethernet/amd/declance.c
+++ b/drivers/net/ethernet/amd/declance.c
@@ -623,7 +623,7 @@ static int lance_rx(struct net_device *dev)
623 skb_put(skb, len); /* make room */ 623 skb_put(skb, len); /* make room */
624 624
625 cp_from_buf(lp->type, skb->data, 625 cp_from_buf(lp->type, skb->data,
626 (char *)lp->rx_buf_ptr_cpu[entry], len); 626 lp->rx_buf_ptr_cpu[entry], len);
627 627
628 skb->protocol = eth_type_trans(skb, dev); 628 skb->protocol = eth_type_trans(skb, dev);
629 netif_rx(skb); 629 netif_rx(skb);
@@ -919,7 +919,7 @@ static int lance_start_xmit(struct sk_buff *skb, struct net_device *dev)
919 *lib_ptr(ib, btx_ring[entry].length, lp->type) = (-len); 919 *lib_ptr(ib, btx_ring[entry].length, lp->type) = (-len);
920 *lib_ptr(ib, btx_ring[entry].misc, lp->type) = 0; 920 *lib_ptr(ib, btx_ring[entry].misc, lp->type) = 0;
921 921
922 cp_to_buf(lp->type, (char *)lp->tx_buf_ptr_cpu[entry], skb->data, len); 922 cp_to_buf(lp->type, lp->tx_buf_ptr_cpu[entry], skb->data, len);
923 923
924 /* Now, give the packet to the lance */ 924 /* Now, give the packet to the lance */
925 *lib_ptr(ib, btx_ring[entry].tmd1, lp->type) = 925 *lib_ptr(ib, btx_ring[entry].tmd1, lp->type) =