Skip to content

Commit

Permalink
[PATCH] sky2: version 0.6
Browse files Browse the repository at this point in the history
Verion number change, comment update and one simple optimization

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
  • Loading branch information
shemminger@osdl.org authored and Jeff Garzik committed Sep 28, 2005
1 parent 5afa0a9 commit 724bca3
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions drivers/net/sky2.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,8 @@
* - coalescing setting?
*
* TOTEST
* - variable ring size
* - speed setting
* - power management
* - netpoll
* - suspend/resume
*/

#include <linux/config.h>
Expand All @@ -58,7 +56,7 @@
#include "sky2.h"

#define DRV_NAME "sky2"
#define DRV_VERSION "0.5"
#define DRV_VERSION "0.6"
#define PFX DRV_NAME " "

/*
Expand Down Expand Up @@ -1159,7 +1157,7 @@ static int sky2_xmit_frame(struct sk_buff *skb, struct net_device *dev)
re->idx = sky2->tx_prod;
le->ctrl |= EOP;

sky2_put_idx(sky2->hw, txqaddr[sky2->port], sky2->tx_prod,
sky2_put_idx(hw, txqaddr[sky2->port], sky2->tx_prod,
&sky2->tx_last_put, TX_RING_SIZE);

if (tx_avail(sky2) < MAX_SKB_TX_LE + 1)
Expand Down

0 comments on commit 724bca3

Please sign in to comment.