mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-23 01:31:30 +03:00
nvethernet: assign OSD ops
Bug 200620687 Change-Id: I9e0b9b87ba425b446b60576a1ddae938ff514a2f Signed-off-by: Bhadram Varka <vbhadram@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2483069 Reviewed-by: Nagarjuna Kristam <nkristam@nvidia.com> Reviewed-by: Narayan Reddy <narayanr@nvidia.com> Reviewed-by: Srinivas Ramachandran <srinivasra@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
Revanth Kumar Uppala
parent
34421635d5
commit
b427be9267
@@ -4301,15 +4301,14 @@ static int ether_probe(struct platform_device *pdev)
|
||||
goto err_parse_dt;
|
||||
}
|
||||
|
||||
ether_assign_osd_ops(osi_core, osi_dma);
|
||||
|
||||
/* Initialize core and DMA ops based on MAC type */
|
||||
if (osi_init_core_ops(osi_core) != 0) {
|
||||
dev_err(&pdev->dev, "failed to get osi_init_core_ops\n");
|
||||
goto err_core_ops;
|
||||
}
|
||||
|
||||
/* Define re-allocation routine */
|
||||
osi_dma->osd_ops.realloc_buf = osd_realloc_buf;
|
||||
|
||||
if (osi_init_dma_ops(osi_dma) != 0) {
|
||||
dev_err(&pdev->dev, "failed to get osi_init_dma_ops\n");
|
||||
goto err_dma_ops;
|
||||
|
||||
Reference in New Issue
Block a user