drivers: net: xgene: Preparing for adding 10GbE support
authorIyappan Subramanian <isubramanian@apm.com>
Fri, 10 Oct 2014 01:32:05 +0000 (18:32 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Oct 2014 19:06:59 +0000 (15:06 -0400)
commitd0eb74582fa7b5c15710d293a3c4d8d3409ae165
tree8e748aabf3544b9443dc68c25ce6860a1b56e08e
parent5fb32417b7e52d2e6d5f5c64d277a03e5c998a02
drivers: net: xgene: Preparing for adding 10GbE support

- Rearranged code to pave the way for adding 10GbE support
- Added mac_ops structure containing function pointers for mac specific functions
- Added port_ops structure containing function pointers for port specific functions

Signed-off-by: Iyappan Subramanian <isubramanian@apm.com>
Signed-off-by: Keyur Chudgar <kchudgar@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