drivers: net: xgene-v2: Add mac configuration
authorIyappan Subramanian <isubramanian@apm.com>
Wed, 8 Mar 2017 01:08:41 +0000 (17:08 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Mar 2017 21:25:04 +0000 (13:25 -0800)
commit81ccd0cab29b682a0f5337fd2076a77aa8e4472e
tree24c1541461cdc7a3ff4d33d37967b1752d8b75ce
parent384fe7a4d732c3812542142ce5bb353973b34638
drivers: net: xgene-v2: Add mac configuration

This patch adds functions to configure and control mac.  This
patch also adds helper functions to get/set registers.

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-v2/mac.c [new file with mode: 0644]
drivers/net/ethernet/apm/xgene-v2/mac.h [new file with mode: 0644]