mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-05 10:04:12 +08:00
ceeb03ad8e
Add basic support in dpaa2-eth for devlink. For the moment, just register the device with devlink, add the corresponding devlink port and implement the .info_get() callback. Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
16 lines
519 B
Makefile
16 lines
519 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for the Freescale DPAA2 Ethernet controller
|
|
#
|
|
|
|
obj-$(CONFIG_FSL_DPAA2_ETH) += fsl-dpaa2-eth.o
|
|
obj-$(CONFIG_FSL_DPAA2_PTP_CLOCK) += fsl-dpaa2-ptp.o
|
|
|
|
fsl-dpaa2-eth-objs := dpaa2-eth.o dpaa2-ethtool.o dpni.o dpaa2-mac.o dpmac.o dpaa2-eth-devlink.o
|
|
fsl-dpaa2-eth-${CONFIG_FSL_DPAA2_ETH_DCB} += dpaa2-eth-dcb.o
|
|
fsl-dpaa2-eth-${CONFIG_DEBUG_FS} += dpaa2-eth-debugfs.o
|
|
fsl-dpaa2-ptp-objs := dpaa2-ptp.o dprtc.o
|
|
|
|
# Needed by the tracing framework
|
|
CFLAGS_dpaa2-eth.o := -I$(src)
|