mirror of
https://github.com/adulau/aha.git
synced 2025-01-03 22:53:18 +00:00
Merge branch 'upstream-fixes' into upstream
This commit is contained in:
commit
d7446c0b52
2 changed files with 2 additions and 5 deletions
|
@ -620,7 +620,7 @@ static int myri10ge_load_firmware(struct myri10ge_priv *mgp)
|
|||
return -ENXIO;
|
||||
}
|
||||
dev_info(&mgp->pdev->dev, "handoff confirmed\n");
|
||||
myri10ge_dummy_rdma(mgp, mgp->tx.boundary != 4096);
|
||||
myri10ge_dummy_rdma(mgp, 1);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -516,10 +516,7 @@ static int skge_set_pauseparam(struct net_device *dev,
|
|||
/* Chip internal frequency for clock calculations */
|
||||
static inline u32 hwkhz(const struct skge_hw *hw)
|
||||
{
|
||||
if (hw->chip_id == CHIP_ID_GENESIS)
|
||||
return 53215; /* or: 53.125 MHz */
|
||||
else
|
||||
return 78215; /* or: 78.125 MHz */
|
||||
return (hw->chip_id == CHIP_ID_GENESIS) ? 53125 : 78125;
|
||||
}
|
||||
|
||||
/* Chip HZ to microseconds */
|
||||
|
|
Loading…
Reference in a new issue