mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-24 17:09:39 +07:00
ebfcb23d62
Each ENETC PF has its own MDIO interface, the corresponding MDIO registers are mapped in the ENETC's Port register block. The current patch adds a driver for these PF level MDIO buses, so that each PF can manage directly its own external link. Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com> Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
20 lines
646 B
Makefile
20 lines
646 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
obj-$(CONFIG_FSL_ENETC) += fsl-enetc.o
|
|
fsl-enetc-$(CONFIG_FSL_ENETC) += enetc.o enetc_cbdr.o enetc_ethtool.o \
|
|
enetc_mdio.o
|
|
fsl-enetc-$(CONFIG_PCI_IOV) += enetc_msg.o
|
|
fsl-enetc-objs := enetc_pf.o $(fsl-enetc-y)
|
|
|
|
obj-$(CONFIG_FSL_ENETC_VF) += fsl-enetc-vf.o
|
|
|
|
ifeq ($(CONFIG_FSL_ENETC)$(CONFIG_FSL_ENETC_VF), yy)
|
|
fsl-enetc-vf-objs := enetc_vf.o
|
|
else
|
|
fsl-enetc-vf-$(CONFIG_FSL_ENETC_VF) += enetc.o enetc_cbdr.o \
|
|
enetc_ethtool.o
|
|
fsl-enetc-vf-objs := enetc_vf.o $(fsl-enetc-vf-y)
|
|
endif
|
|
|
|
obj-$(CONFIG_FSL_ENETC_PTP_CLOCK) += fsl-enetc-ptp.o
|
|
fsl-enetc-ptp-$(CONFIG_FSL_ENETC_PTP_CLOCK) += enetc_ptp.o
|