summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/freescale/enetc/enetc_pf_common.h
diff options
context:
space:
mode:
authorWei Fang <wei.fang@nxp.com>2024-10-30 17:39:17 +0800
committerDavid S. Miller <davem@davemloft.net>2024-11-04 10:03:51 +0000
commit3774409fd4c6cfe78ac5f14b853cafb67c7841a9 (patch)
tree5f9a63b06e79ceace40f369e669204bf3399e3a0 /drivers/net/ethernet/freescale/enetc/enetc_pf_common.h
parent80c8c852615e97fdefc250be38ae1740b183eb0b (diff)
net: enetc: build enetc_pf_common.c as a separate module
Compile enetc_pf_common.c as a standalone module to allow shared usage between ENETC v1 and v4 PF drivers. Add struct enetc_pf_ops to register different hardware operation interfaces for both ENETC v1 and v4 PF drivers. Signed-off-by: Wei Fang <wei.fang@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale/enetc/enetc_pf_common.h')
-rw-r--r--drivers/net/ethernet/freescale/enetc/enetc_pf_common.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ethernet/freescale/enetc/enetc_pf_common.h b/drivers/net/ethernet/freescale/enetc/enetc_pf_common.h
index 2ae9c87c8c8a..964d4f53806b 100644
--- a/drivers/net/ethernet/freescale/enetc/enetc_pf_common.h
+++ b/drivers/net/ethernet/freescale/enetc/enetc_pf_common.h
@@ -3,9 +3,6 @@
#include "enetc_pf.h"
-void enetc_pf_get_primary_mac_addr(struct enetc_hw *hw, int si, u8 *addr);
-void enetc_pf_set_primary_mac_addr(struct enetc_hw *hw, int si,
- const u8 *addr);
int enetc_pf_set_mac_addr(struct net_device *ndev, void *addr);
int enetc_setup_mac_addresses(struct device_node *np, struct enetc_pf *pf);
void enetc_pf_netdev_setup(struct enetc_si *si, struct net_device *ndev,