aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/ethernet/nxp/lpc_eth.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/net/ethernet/nxp/lpc_eth.c b/drivers/net/ethernet/nxp/lpc_eth.c
index 028dde4d4979..e7d2496a4738 100644
--- a/drivers/net/ethernet/nxp/lpc_eth.c
+++ b/drivers/net/ethernet/nxp/lpc_eth.c
@@ -52,7 +52,6 @@
52 52
53#define MODNAME "lpc-eth" 53#define MODNAME "lpc-eth"
54#define DRV_VERSION "1.00" 54#define DRV_VERSION "1.00"
55#define PHYDEF_ADDR 0x00
56 55
57#define ENET_MAXF_SIZE 1536 56#define ENET_MAXF_SIZE 1536
58#define ENET_RX_DESC 48 57#define ENET_RX_DESC 48
@@ -416,9 +415,6 @@ static bool use_iram_for_net(struct device *dev)
416#define TXDESC_CONTROL_LAST (1 << 30) 415#define TXDESC_CONTROL_LAST (1 << 30)
417#define TXDESC_CONTROL_INT (1 << 31) 416#define TXDESC_CONTROL_INT (1 << 31)
418 417
419static int lpc_eth_hard_start_xmit(struct sk_buff *skb,
420 struct net_device *ndev);
421
422/* 418/*
423 * Structure of a TX/RX descriptors and RX status 419 * Structure of a TX/RX descriptors and RX status
424 */ 420 */
@@ -1441,7 +1437,7 @@ static int lpc_eth_drv_probe(struct platform_device *pdev)
1441 res->start); 1437 res->start);
1442 netdev_dbg(ndev, "IO address size :%d\n", 1438 netdev_dbg(ndev, "IO address size :%d\n",
1443 res->end - res->start + 1); 1439 res->end - res->start + 1);
1444 netdev_err(ndev, "IO address (mapped) :0x%p\n", 1440 netdev_dbg(ndev, "IO address (mapped) :0x%p\n",
1445 pldat->net_base); 1441 pldat->net_base);
1446 netdev_dbg(ndev, "IRQ number :%d\n", ndev->irq); 1442 netdev_dbg(ndev, "IRQ number :%d\n", ndev->irq);
1447 netdev_dbg(ndev, "DMA buffer size :%d\n", pldat->dma_buff_size); 1443 netdev_dbg(ndev, "DMA buffer size :%d\n", pldat->dma_buff_size);