1 From 508121cfde12d0e35716bb7e524dc1f80c82262c Mon Sep 17 00:00:00 2001
2 From: Calvin Johnson <calvin.johnson@nxp.com>
3 Date: Tue, 20 Nov 2018 21:50:40 +0530
4 Subject: [PATCH] staging: fsl_ppfe/eth: misc clean up
6 - remove redundant hwfeature init
7 - remove unused vars from ls1012a_eth_platform_data
8 - To handle ls1012a errata_a010897, PPFE driver requires GUTS driver
9 to be compiled in. Select FSL_GUTS when PPFE driver is compiled.
11 Signed-off-by: Calvin Johnson <calvin.johnson@nxp.com>
13 drivers/staging/fsl_ppfe/Kconfig | 1 +
14 drivers/staging/fsl_ppfe/pfe_eth.c | 3 ---
15 drivers/staging/fsl_ppfe/pfe_eth.h | 4 ----
16 3 files changed, 1 insertion(+), 7 deletions(-)
18 --- a/drivers/staging/fsl_ppfe/Kconfig
19 +++ b/drivers/staging/fsl_ppfe/Kconfig
23 bool "Freescale PPFE Driver"
27 Freescale LS1012A SoC has a Programmable Packet Forwarding Engine.
28 --- a/drivers/staging/fsl_ppfe/pfe_eth.c
29 +++ b/drivers/staging/fsl_ppfe/pfe_eth.c
30 @@ -2437,9 +2437,6 @@ static int pfe_eth_init_one(struct pfe *
32 ndev->max_mtu = JUMBO_FRAME_SIZE_V2 - ETH_HLEN - ETH_FCS_LEN;
34 - /* supported features */
35 - ndev->hw_features = NETIF_F_SG;
37 /*Enable after checksum offload is validated */
38 ndev->hw_features = NETIF_F_RXCSUM | NETIF_F_IP_CSUM |
39 NETIF_F_IPV6_CSUM | NETIF_F_SG;
40 --- a/drivers/staging/fsl_ppfe/pfe_eth.h
41 +++ b/drivers/staging/fsl_ppfe/pfe_eth.h
43 #define GEMAC_NO_PHY BIT(0)
45 struct ls1012a_eth_platform_data {
46 - /* device specific information */
50 /* board specific information */