aboutsummaryrefslogtreecommitdiff
path: root/include/net/ldpaa_eth.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/ldpaa_eth.h')
-rw-r--r--include/net/ldpaa_eth.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/net/ldpaa_eth.h b/include/net/ldpaa_eth.h
new file mode 100644
index 0000000..7474bfa
--- /dev/null
+++ b/include/net/ldpaa_eth.h
@@ -0,0 +1,15 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright 2023 NXP
+ */
+
+#define LDPAA_ETH_DRIVER_NAME "ldpaa_eth"
+
+/**
+ * ldpaa_eth_get_dpmac_id() - Get the dpmac_id of a DPAA2 ethernet device
+ *
+ * @dev: DPAA2 ethernet udevice pointer
+ * Return: requested dpmac_id
+ */
+
+uint32_t ldpaa_eth_get_dpmac_id(struct udevice *dev);