[PATCH] sky2: version 0.6

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>
This commit is contained in:
shemminger@osdl.org 2005-09-27 15:03:01 -07:00 committed by Jeff Garzik
parent 5afa0a9cfb
commit 724bca3ca4
1 changed files with 3 additions and 5 deletions

View File

@ -28,10 +28,8 @@
* - coalescing setting? * - coalescing setting?
* *
* TOTEST * TOTEST
* - variable ring size
* - speed setting * - speed setting
* - power management * - suspend/resume
* - netpoll
*/ */
#include <linux/config.h> #include <linux/config.h>
@ -58,7 +56,7 @@
#include "sky2.h" #include "sky2.h"
#define DRV_NAME "sky2" #define DRV_NAME "sky2"
#define DRV_VERSION "0.5" #define DRV_VERSION "0.6"
#define PFX DRV_NAME " " #define PFX DRV_NAME " "
/* /*
@ -1159,7 +1157,7 @@ static int sky2_xmit_frame(struct sk_buff *skb, struct net_device *dev)
re->idx = sky2->tx_prod; re->idx = sky2->tx_prod;
le->ctrl |= EOP; 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); &sky2->tx_last_put, TX_RING_SIZE);
if (tx_avail(sky2) < MAX_SKB_TX_LE + 1) if (tx_avail(sky2) < MAX_SKB_TX_LE + 1)