mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
nvethernet: use updated init API
osi_hw_core_init updated by removing not needed arguments Bug 3787316 Change-Id: I71230fcbac11e911fe24cfcdef20a131bb1c2ade Signed-off-by: Bhadram Varka <vbhadram@nvidia.com> (cherry picked from commit 6027a30d9780678bdbd7f3f947f8e31adf8d0f1f) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2808751 GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com> Tested-by: Revanth Kumar Uppala <ruppala@nvidia.com> Reviewed-by: Revanth Kumar Uppala <ruppala@nvidia.com> Reviewed-by: Mohan Thadikamalla <mohant@nvidia.com> Reviewed-by: Narayan Reddy <narayanr@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
6c7d05d9bb
commit
61f908bce9
@@ -2560,9 +2560,7 @@ static int ether_open(struct net_device *dev)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* initialize MAC/MTL/DMA Common registers */
|
/* initialize MAC/MTL/DMA Common registers */
|
||||||
ret = osi_hw_core_init(pdata->osi_core,
|
ret = osi_hw_core_init(pdata->osi_core);
|
||||||
pdata->hw_feat.tx_fifo_size,
|
|
||||||
pdata->hw_feat.rx_fifo_size);
|
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
dev_err(pdata->dev,
|
dev_err(pdata->dev,
|
||||||
"%s: failed to initialize MAC HW core with reason %d\n",
|
"%s: failed to initialize MAC HW core with reason %d\n",
|
||||||
|
|||||||
Reference in New Issue
Block a user