mirror of
git://nv-tegra.nvidia.com/kernel/nvethernetrm.git
synced 2025-12-24 10:34:24 +03:00
Issue: Since core_ops/dma_chan_ops are static global variables and these are stored in data segment of a process. In linux when insmod happens eqos and mgbe will get probe which inturn initialize osi core ops. Since data segment is shared here eqos core ops pointer overwritten by mgbe core operations. Fix: Use separe core ops and local global variable for each instance. Bug 200671160 Change-Id: I7f093608d812e2ced1bf73339dbd70f0091fe5b4 Signed-off-by: Bhadram Varka <vbhadram@nvidia.com>