aboutsummaryrefslogtreecommitdiff
path: root/include/net/ldpaa_eth.h
blob: 7474bfaeec30399526cd08f3b99b7a07d799dd07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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);