Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 6105
b: refs/heads/master
c: 54cfb5a
h: refs/heads/master
i:
  6103: d876063
v: v3
  • Loading branch information
Stephen Hemminger authored and Jeff Garzik committed Aug 16, 2005
1 parent 60bd3db commit b00646f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 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: c59230818f7a8969c2f9d3b601745679127a4016
refs/heads/master: 54cfb5aa0f4859bd38706eabe0118175780a542f
6 changes: 5 additions & 1 deletion trunk/drivers/net/skge.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
#include "skge.h"

#define DRV_NAME "skge"
#define DRV_VERSION "0.8"
#define DRV_VERSION "0.9"
#define PFX DRV_NAME " "

#define DEFAULT_TX_RING_SIZE 128
Expand Down Expand Up @@ -876,6 +876,9 @@ static int skge_rx_fill(struct skge_port *skge)

static void skge_link_up(struct skge_port *skge)
{
skge_write8(skge->hw, SK_REG(skge->port, LNK_LED_REG),
LED_BLK_OFF|LED_SYNC_OFF|LED_ON);

netif_carrier_on(skge->netdev);
if (skge->tx_avail > MAX_SKB_FRAGS + 1)
netif_wake_queue(skge->netdev);
Expand All @@ -894,6 +897,7 @@ static void skge_link_up(struct skge_port *skge)

static void skge_link_down(struct skge_port *skge)
{
skge_write8(skge->hw, SK_REG(skge->port, LNK_LED_REG), LED_OFF);
netif_carrier_off(skge->netdev);
netif_stop_queue(skge->netdev);

Expand Down

0 comments on commit b00646f

Please sign in to comment.