diff options
Diffstat (limited to 'drivers/net/ibm_newemac/core.c')
-rw-r--r-- | drivers/net/ibm_newemac/core.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/net/ibm_newemac/core.c b/drivers/net/ibm_newemac/core.c index 89c82c5e63e4..c6591cb0aae0 100644 --- a/drivers/net/ibm_newemac/core.c +++ b/drivers/net/ibm_newemac/core.c | |||
@@ -443,7 +443,7 @@ static u32 __emac_calc_base_mr1(struct emac_instance *dev, int tx_size, int rx_s | |||
443 | ret |= EMAC_MR1_TFS_2K; | 443 | ret |= EMAC_MR1_TFS_2K; |
444 | break; | 444 | break; |
445 | default: | 445 | default: |
446 | printk(KERN_WARNING "%s: Unknown Rx FIFO size %d\n", | 446 | printk(KERN_WARNING "%s: Unknown Tx FIFO size %d\n", |
447 | dev->ndev->name, tx_size); | 447 | dev->ndev->name, tx_size); |
448 | } | 448 | } |
449 | 449 | ||
@@ -470,6 +470,9 @@ static u32 __emac4_calc_base_mr1(struct emac_instance *dev, int tx_size, int rx_ | |||
470 | DBG2(dev, "__emac4_calc_base_mr1" NL); | 470 | DBG2(dev, "__emac4_calc_base_mr1" NL); |
471 | 471 | ||
472 | switch(tx_size) { | 472 | switch(tx_size) { |
473 | case 16384: | ||
474 | ret |= EMAC4_MR1_TFS_16K; | ||
475 | break; | ||
473 | case 4096: | 476 | case 4096: |
474 | ret |= EMAC4_MR1_TFS_4K; | 477 | ret |= EMAC4_MR1_TFS_4K; |
475 | break; | 478 | break; |
@@ -477,7 +480,7 @@ static u32 __emac4_calc_base_mr1(struct emac_instance *dev, int tx_size, int rx_ | |||
477 | ret |= EMAC4_MR1_TFS_2K; | 480 | ret |= EMAC4_MR1_TFS_2K; |
478 | break; | 481 | break; |
479 | default: | 482 | default: |
480 | printk(KERN_WARNING "%s: Unknown Rx FIFO size %d\n", | 483 | printk(KERN_WARNING "%s: Unknown Tx FIFO size %d\n", |
481 | dev->ndev->name, tx_size); | 484 | dev->ndev->name, tx_size); |
482 | } | 485 | } |
483 | 486 | ||