[openEuler-5.10 077/150] net: moxa: pass pdev instead of ndev to DMA functions