Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 41427
b: refs/heads/master
c: 7bd54c8
h: refs/heads/master
i:
  41425: 4a8ad22
  41423: e129a22
v: v3
  • Loading branch information
Linas Vepstas authored and Jeff Garzik committed Nov 30, 2006
1 parent 465dbd5 commit 34a5527
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 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: 9c434f5e2181097e1d22d9b3e381ca6d693e5188
refs/heads/master: 7bd54c863608a460e72aa0e57170cffb6bc62110
2 changes: 1 addition & 1 deletion trunk/drivers/net/spider_net.c
Original file line number Diff line number Diff line change
Expand Up @@ -1633,7 +1633,7 @@ spider_net_enable_card(struct spider_net_card *card)
SPIDER_NET_INT2_MASK_VALUE);

spider_net_write_reg(card, SPIDER_NET_GDTDMACCNTR,
SPIDER_NET_GDTBSTA | SPIDER_NET_GDTDCEIDIS);
SPIDER_NET_GDTBSTA);
}

/**
Expand Down
8 changes: 4 additions & 4 deletions trunk/drivers/net/spider_net.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#ifndef _SPIDER_NET_H
#define _SPIDER_NET_H

#define VERSION "1.5 A"
#define VERSION "1.6 A"

#include "sungem_phy.h"

Expand Down Expand Up @@ -217,8 +217,7 @@ extern char spider_net_driver_name[];
#define SPIDER_NET_GDTBSTA 0x00000300
#define SPIDER_NET_GDTDCEIDIS 0x00000002
#define SPIDER_NET_DMA_TX_VALUE SPIDER_NET_TX_DMA_EN | \
SPIDER_NET_GDTBSTA | \
SPIDER_NET_GDTDCEIDIS
SPIDER_NET_GDTBSTA

#define SPIDER_NET_DMA_TX_FEND_VALUE 0x00030003

Expand Down Expand Up @@ -328,7 +327,8 @@ enum spider_net_int2_status {
SPIDER_NET_GRISPDNGINT
};

#define SPIDER_NET_TXINT ( (1 << SPIDER_NET_GDTFDCINT) )
#define SPIDER_NET_TXINT ( (1 << SPIDER_NET_GDTFDCINT) | \
(1 << SPIDER_NET_GDTDCEINT) )

/* We rely on flagged descriptor interrupts */
#define SPIDER_NET_RXINT ( (1 << SPIDER_NET_GDAFDCINT) )
Expand Down

0 comments on commit 34a5527

Please sign in to comment.