提交 d7446c0b 编写于 作者: J Jeff Garzik

Merge branch 'upstream-fixes' into upstream

...@@ -620,7 +620,7 @@ static int myri10ge_load_firmware(struct myri10ge_priv *mgp) ...@@ -620,7 +620,7 @@ static int myri10ge_load_firmware(struct myri10ge_priv *mgp)
return -ENXIO; return -ENXIO;
} }
dev_info(&mgp->pdev->dev, "handoff confirmed\n"); dev_info(&mgp->pdev->dev, "handoff confirmed\n");
myri10ge_dummy_rdma(mgp, mgp->tx.boundary != 4096); myri10ge_dummy_rdma(mgp, 1);
return 0; return 0;
} }
......
...@@ -516,10 +516,7 @@ static int skge_set_pauseparam(struct net_device *dev, ...@@ -516,10 +516,7 @@ static int skge_set_pauseparam(struct net_device *dev,
/* Chip internal frequency for clock calculations */ /* Chip internal frequency for clock calculations */
static inline u32 hwkhz(const struct skge_hw *hw) static inline u32 hwkhz(const struct skge_hw *hw)
{ {
if (hw->chip_id == CHIP_ID_GENESIS) return (hw->chip_id == CHIP_ID_GENESIS) ? 53125 : 78125;
return 53215; /* or: 53.125 MHz */
else
return 78215; /* or: 78.125 MHz */
} }
/* Chip HZ to microseconds */ /* Chip HZ to microseconds */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册