diff options
author | shemminger@osdl.org <shemminger@osdl.org> | 2005-09-27 18:03:01 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-09-28 11:52:57 -0400 |
commit | 724bca3ca4d2126b67dd62e64d3f97805f9672de (patch) | |
tree | c58a2dcb616db04767f5bd0ef7efae0b97d32862 /drivers/net/sky2.c | |
parent | 5afa0a9cfb79556f45c02957e71a2ac48a5bb6a1 (diff) |
[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>
Diffstat (limited to 'drivers/net/sky2.c')
-rw-r--r-- | drivers/net/sky2.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/net/sky2.c b/drivers/net/sky2.c index 1d00cdcdaa67..a6c7bb9cea0d 100644 --- a/drivers/net/sky2.c +++ b/drivers/net/sky2.c | |||
@@ -28,10 +28,8 @@ | |||
28 | * - coalescing setting? | 28 | * - coalescing setting? |
29 | * | 29 | * |
30 | * TOTEST | 30 | * TOTEST |
31 | * - variable ring size | ||
32 | * - speed setting | 31 | * - speed setting |
33 | * - power management | 32 | * - suspend/resume |
34 | * - netpoll | ||
35 | */ | 33 | */ |
36 | 34 | ||
37 | #include <linux/config.h> | 35 | #include <linux/config.h> |
@@ -58,7 +56,7 @@ | |||
58 | #include "sky2.h" | 56 | #include "sky2.h" |
59 | 57 | ||
60 | #define DRV_NAME "sky2" | 58 | #define DRV_NAME "sky2" |
61 | #define DRV_VERSION "0.5" | 59 | #define DRV_VERSION "0.6" |
62 | #define PFX DRV_NAME " " | 60 | #define PFX DRV_NAME " " |
63 | 61 | ||
64 | /* | 62 | /* |
@@ -1159,7 +1157,7 @@ static int sky2_xmit_frame(struct sk_buff *skb, struct net_device *dev) | |||
1159 | re->idx = sky2->tx_prod; | 1157 | re->idx = sky2->tx_prod; |
1160 | le->ctrl |= EOP; | 1158 | le->ctrl |= EOP; |
1161 | 1159 | ||
1162 | sky2_put_idx(sky2->hw, txqaddr[sky2->port], sky2->tx_prod, | 1160 | sky2_put_idx(hw, txqaddr[sky2->port], sky2->tx_prod, |
1163 | &sky2->tx_last_put, TX_RING_SIZE); | 1161 | &sky2->tx_last_put, TX_RING_SIZE); |
1164 | 1162 | ||
1165 | if (tx_avail(sky2) < MAX_SKB_TX_LE + 1) | 1163 | if (tx_avail(sky2) < MAX_SKB_TX_LE + 1) |