sunxi: emac: Prepare for driver-model support
Split all the core functionality out into functions taking a struct emac_eth_dev *priv argument as preparation for adding driver-model support. Signed-off-by: NHans de Goede <hdegoede@redhat.com> Acked-by: NIan Campbell <ijc@hellion.org.uk> Reviewed-by: NStefan Roese <sr@denx.de>
Showing
想要评论请 注册 或 登录