]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drivers: net: xgene: Change ring manager to use function pointers
authorIyappan Subramanian <isubramanian@apm.com>
Tue, 28 Apr 2015 20:52:37 +0000 (13:52 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Apr 2015 20:03:13 +0000 (16:03 -0400)
commit81cefb81db99402b5bbbf286beac2faa4f095620
tree44944d15dc676f151c50a9477702c6af57d950a1
parentf828ad0ce22474820255c6faeb88b05724a8c1eb
drivers: net: xgene: Change ring manager to use function pointers

This is a preparatory patch for adding ethernet support for APM X-Gene
ethernet driver to work with ring manager v2.

Added xgene_ring_ops structure for storing chip specific ring manager
properties and functions.

Signed-off-by: Iyappan Subramanian <isubramanian@apm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/apm/xgene/xgene_enet_hw.c
drivers/net/ethernet/apm/xgene/xgene_enet_hw.h
drivers/net/ethernet/apm/xgene/xgene_enet_main.c
drivers/net/ethernet/apm/xgene/xgene_enet_main.h