Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 93104
b: refs/heads/master
c: f34ebab
h: refs/heads/master
v: v3
  • Loading branch information
Stefan Roese authored and Jeff Garzik committed Apr 25, 2008
1 parent 910bb71 commit 011dd71
Show file tree
Hide file tree
Showing 2 changed files with 5 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: f014e97ec6a447184f48a9d43432ab2ad1ffc7d8
refs/heads/master: f34ebab68a8e3c80ff4364f4c61734faec5161d4
5 changes: 4 additions & 1 deletion trunk/drivers/net/ibm_newemac/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,10 @@ static int emac_configure(struct emac_instance *dev)
rx_size = dev->rx_fifo_size_gige;

if (dev->ndev->mtu > ETH_DATA_LEN) {
mr1 |= EMAC_MR1_JPSM;
if (emac_has_feature(dev, EMAC_FTR_EMAC4))
mr1 |= EMAC4_MR1_JPSM;
else
mr1 |= EMAC_MR1_JPSM;
dev->stop_timeout = STOP_TIMEOUT_1000_JUMBO;
} else
dev->stop_timeout = STOP_TIMEOUT_1000;
Expand Down

0 comments on commit 011dd71

Please sign in to comment.