Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 134296
b: refs/heads/master
c: 7870389
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Feb 5, 2009
1 parent acfef3f commit af6b878
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 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: 005c79b3d4df48fa01b77e5ccf46e5cd4754cfd5
refs/heads/master: 7870389478d3c682c79c07abe7f1fce8b8a81952
3 changes: 1 addition & 2 deletions trunk/drivers/net/cxgb3/sge.c
Original file line number Diff line number Diff line change
Expand Up @@ -2201,8 +2201,7 @@ static int process_responses(struct adapter *adap, struct sge_qset *qs,
} else if ((len = ntohl(r->len_cq)) != 0) {
struct sge_fl *fl;

if (eth)
lro = qs->lro_enabled && is_eth_tcp(rss_hi);
lro &= eth && is_eth_tcp(rss_hi);

fl = (len & F_RSPD_FLQ) ? &qs->fl[1] : &qs->fl[0];
if (fl->use_pages) {
Expand Down
3 changes: 3 additions & 0 deletions trunk/drivers/net/gianfar.c
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,9 @@ static int gfar_probe(struct of_device *ofdev,
/* Reset MAC layer */
gfar_write(&priv->regs->maccfg1, MACCFG1_SOFT_RESET);

/* We need to delay at least 3 TX clocks */
udelay(2);

tempval = (MACCFG1_TX_FLOW | MACCFG1_RX_FLOW);
gfar_write(&priv->regs->maccfg1, tempval);

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/gianfar.h
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ extern const char gfar_driver_version[];
#define ATTRELI_EI(x) (x)

#define BD_LFLAG(flags) ((flags) << 16)
#define BD_LENGTH_MASK 0x00ff
#define BD_LENGTH_MASK 0x0000ffff

/* TxBD status field bits */
#define TXBD_READY 0x8000
Expand Down

0 comments on commit af6b878

Please sign in to comment.