Commit 70dbd9b2 authored by Iyappan Subramanian's avatar Iyappan Subramanian Committed by David S. Miller

MAINTAINERS: Add entry for APM X-Gene SoC Ethernet (v2) driver

This patch adds a MAINTAINERS entry for the ethernet driver for
the on-chip ethernet interface which uses a linked list of DMA
descriptor architecture (v2) for APM X-Gene SoCs.
Signed-off-by: default avatarIyappan Subramanian <isubramanian@apm.com>
Signed-off-by: default avatarKeyur Chudgar <kchudgar@apm.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b105bcda
...@@ -902,6 +902,12 @@ F: drivers/net/phy/mdio-xgene.c ...@@ -902,6 +902,12 @@ F: drivers/net/phy/mdio-xgene.c
F: Documentation/devicetree/bindings/net/apm-xgene-enet.txt F: Documentation/devicetree/bindings/net/apm-xgene-enet.txt
F: Documentation/devicetree/bindings/net/apm-xgene-mdio.txt F: Documentation/devicetree/bindings/net/apm-xgene-mdio.txt
APPLIED MICRO (APM) X-GENE SOC ETHERNET (V2) DRIVER
M: Iyappan Subramanian <isubramanian@apm.com>
M: Keyur Chudgar <kchudgar@apm.com>
S: Supported
F: drivers/net/ethernet/apm/xgene-v2/
APPLIED MICRO (APM) X-GENE SOC PMU APPLIED MICRO (APM) X-GENE SOC PMU
M: Tai Nguyen <ttnguyen@apm.com> M: Tai Nguyen <ttnguyen@apm.com>
S: Supported S: Supported
......
...@@ -77,8 +77,8 @@ static void xge_mac_set_speed(struct xge_pdata *pdata) ...@@ -77,8 +77,8 @@ static void xge_mac_set_speed(struct xge_pdata *pdata)
void xge_mac_set_station_addr(struct xge_pdata *pdata) void xge_mac_set_station_addr(struct xge_pdata *pdata)
{ {
u32 addr0, addr1;
u8 *dev_addr = pdata->ndev->dev_addr; u8 *dev_addr = pdata->ndev->dev_addr;
u32 addr0, addr1;
addr0 = (dev_addr[3] << 24) | (dev_addr[2] << 16) | addr0 = (dev_addr[3] << 24) | (dev_addr[2] << 16) |
(dev_addr[1] << 8) | dev_addr[0]; (dev_addr[1] << 8) | dev_addr[0];
......
...@@ -27,9 +27,9 @@ static int xge_get_resources(struct xge_pdata *pdata) ...@@ -27,9 +27,9 @@ static int xge_get_resources(struct xge_pdata *pdata)
{ {
struct platform_device *pdev; struct platform_device *pdev;
struct net_device *ndev; struct net_device *ndev;
struct device *dev;
struct resource *res;
int phy_mode, ret = 0; int phy_mode, ret = 0;
struct resource *res;
struct device *dev;
pdev = pdata->pdev; pdev = pdata->pdev;
dev = &pdev->dev; dev = &pdev->dev;
...@@ -190,9 +190,9 @@ static netdev_tx_t xge_start_xmit(struct sk_buff *skb, struct net_device *ndev) ...@@ -190,9 +190,9 @@ static netdev_tx_t xge_start_xmit(struct sk_buff *skb, struct net_device *ndev)
{ {
struct xge_pdata *pdata = netdev_priv(ndev); struct xge_pdata *pdata = netdev_priv(ndev);
struct device *dev = &pdata->pdev->dev; struct device *dev = &pdata->pdev->dev;
static dma_addr_t dma_addr;
struct xge_desc_ring *tx_ring; struct xge_desc_ring *tx_ring;
struct xge_raw_desc *raw_desc; struct xge_raw_desc *raw_desc;
static dma_addr_t dma_addr;
u64 addr_lo, addr_hi; u64 addr_lo, addr_hi;
void *pkt_buf; void *pkt_buf;
u8 tail; u8 tail;
...@@ -526,7 +526,7 @@ static int xge_close(struct net_device *ndev) ...@@ -526,7 +526,7 @@ static int xge_close(struct net_device *ndev)
static int xge_napi(struct napi_struct *napi, const int budget) static int xge_napi(struct napi_struct *napi, const int budget)
{ {
struct net_device *ndev = napi->dev; struct net_device *ndev = napi->dev;
struct xge_pdata *pdata = netdev_priv(ndev); struct xge_pdata *pdata;
int processed; int processed;
pdata = netdev_priv(ndev); pdata = netdev_priv(ndev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment