diff options
-rw-r--r-- | drivers/net/ibm_newemac/core.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/ibm_newemac/core.c b/drivers/net/ibm_newemac/core.c index 378a23963495..f10c762fd0b2 100644 --- a/drivers/net/ibm_newemac/core.c +++ b/drivers/net/ibm_newemac/core.c | |||
@@ -524,7 +524,10 @@ static int emac_configure(struct emac_instance *dev) | |||
524 | rx_size = dev->rx_fifo_size_gige; | 524 | rx_size = dev->rx_fifo_size_gige; |
525 | 525 | ||
526 | if (dev->ndev->mtu > ETH_DATA_LEN) { | 526 | if (dev->ndev->mtu > ETH_DATA_LEN) { |
527 | mr1 |= EMAC_MR1_JPSM; | 527 | if (emac_has_feature(dev, EMAC_FTR_EMAC4)) |
528 | mr1 |= EMAC4_MR1_JPSM; | ||
529 | else | ||
530 | mr1 |= EMAC_MR1_JPSM; | ||
528 | dev->stop_timeout = STOP_TIMEOUT_1000_JUMBO; | 531 | dev->stop_timeout = STOP_TIMEOUT_1000_JUMBO; |
529 | } else | 532 | } else |
530 | dev->stop_timeout = STOP_TIMEOUT_1000; | 533 | dev->stop_timeout = STOP_TIMEOUT_1000; |