mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 02:21:52 +09:00
Merge branch 'upstream-fixes' into upstream
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user