mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 21:15:11 +07:00
a556c76adc
Add a driver for Microsemi Ocelot Ethernet switch support. This makes two modules: mscc_ocelot_common handles all the common features that doesn't depend on how the switch is integrated in the SoC. Currently, it handles offloading bridging to the hardware. ocelot_io.c handles register accesses. This is unfortunately needed because the register layout is packed and then depends on the number of ports available on the switch. The register definition files are automatically generated. ocelot_board handles the switch integration on the SoC and on the board. Frame injection and extraction to/from the CPU port is currently done using register accesses which is quite slow. DMA is possible but the port is not able to absorb the whole switch bandwidth. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
99 lines
3.8 KiB
Makefile
99 lines
3.8 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for the Linux network Ethernet device drivers.
|
|
#
|
|
|
|
obj-$(CONFIG_NET_VENDOR_3COM) += 3com/
|
|
obj-$(CONFIG_NET_VENDOR_8390) += 8390/
|
|
obj-$(CONFIG_NET_VENDOR_ADAPTEC) += adaptec/
|
|
obj-$(CONFIG_GRETH) += aeroflex/
|
|
obj-$(CONFIG_NET_VENDOR_AGERE) += agere/
|
|
obj-$(CONFIG_NET_VENDOR_ALACRITECH) += alacritech/
|
|
obj-$(CONFIG_NET_VENDOR_ALLWINNER) += allwinner/
|
|
obj-$(CONFIG_NET_VENDOR_ALTEON) += alteon/
|
|
obj-$(CONFIG_ALTERA_TSE) += altera/
|
|
obj-$(CONFIG_NET_VENDOR_AMAZON) += amazon/
|
|
obj-$(CONFIG_NET_VENDOR_AMD) += amd/
|
|
obj-$(CONFIG_NET_XGENE) += apm/
|
|
obj-$(CONFIG_NET_VENDOR_APPLE) += apple/
|
|
obj-$(CONFIG_NET_VENDOR_AQUANTIA) += aquantia/
|
|
obj-$(CONFIG_NET_VENDOR_ARC) += arc/
|
|
obj-$(CONFIG_NET_VENDOR_ATHEROS) += atheros/
|
|
obj-$(CONFIG_NET_VENDOR_AURORA) += aurora/
|
|
obj-$(CONFIG_NET_CADENCE) += cadence/
|
|
obj-$(CONFIG_NET_VENDOR_BROADCOM) += broadcom/
|
|
obj-$(CONFIG_NET_VENDOR_BROCADE) += brocade/
|
|
obj-$(CONFIG_NET_CALXEDA_XGMAC) += calxeda/
|
|
obj-$(CONFIG_NET_VENDOR_CAVIUM) += cavium/
|
|
obj-$(CONFIG_NET_VENDOR_CHELSIO) += chelsio/
|
|
obj-$(CONFIG_NET_VENDOR_CIRRUS) += cirrus/
|
|
obj-$(CONFIG_NET_VENDOR_CISCO) += cisco/
|
|
obj-$(CONFIG_NET_VENDOR_CORTINA) += cortina/
|
|
obj-$(CONFIG_CX_ECAT) += ec_bhf.o
|
|
obj-$(CONFIG_DM9000) += davicom/
|
|
obj-$(CONFIG_DNET) += dnet.o
|
|
obj-$(CONFIG_NET_VENDOR_DEC) += dec/
|
|
obj-$(CONFIG_NET_VENDOR_DLINK) += dlink/
|
|
obj-$(CONFIG_NET_VENDOR_EMULEX) += emulex/
|
|
obj-$(CONFIG_NET_VENDOR_EZCHIP) += ezchip/
|
|
obj-$(CONFIG_NET_VENDOR_EXAR) += neterion/
|
|
obj-$(CONFIG_NET_VENDOR_FARADAY) += faraday/
|
|
obj-$(CONFIG_NET_VENDOR_FREESCALE) += freescale/
|
|
obj-$(CONFIG_NET_VENDOR_FUJITSU) += fujitsu/
|
|
obj-$(CONFIG_NET_VENDOR_HISILICON) += hisilicon/
|
|
obj-$(CONFIG_NET_VENDOR_HP) += hp/
|
|
obj-$(CONFIG_NET_VENDOR_HUAWEI) += huawei/
|
|
obj-$(CONFIG_NET_VENDOR_IBM) += ibm/
|
|
obj-$(CONFIG_NET_VENDOR_INTEL) += intel/
|
|
obj-$(CONFIG_NET_VENDOR_I825XX) += i825xx/
|
|
obj-$(CONFIG_NET_VENDOR_XSCALE) += xscale/
|
|
obj-$(CONFIG_JME) += jme.o
|
|
obj-$(CONFIG_KORINA) += korina.o
|
|
obj-$(CONFIG_LANTIQ_ETOP) += lantiq_etop.o
|
|
obj-$(CONFIG_NET_VENDOR_MARVELL) += marvell/
|
|
obj-$(CONFIG_NET_VENDOR_MEDIATEK) += mediatek/
|
|
obj-$(CONFIG_NET_VENDOR_MELLANOX) += mellanox/
|
|
obj-$(CONFIG_NET_VENDOR_MICREL) += micrel/
|
|
obj-$(CONFIG_NET_VENDOR_MICROCHIP) += microchip/
|
|
obj-$(CONFIG_NET_VENDOR_MICROSEMI) += mscc/
|
|
obj-$(CONFIG_NET_VENDOR_MOXART) += moxa/
|
|
obj-$(CONFIG_NET_VENDOR_MYRI) += myricom/
|
|
obj-$(CONFIG_FEALNX) += fealnx.o
|
|
obj-$(CONFIG_NET_VENDOR_NATSEMI) += natsemi/
|
|
obj-$(CONFIG_NET_VENDOR_NETRONOME) += netronome/
|
|
obj-$(CONFIG_NET_VENDOR_NI) += ni/
|
|
obj-$(CONFIG_NET_NETX) += netx-eth.o
|
|
obj-$(CONFIG_NET_VENDOR_NUVOTON) += nuvoton/
|
|
obj-$(CONFIG_NET_VENDOR_NVIDIA) += nvidia/
|
|
obj-$(CONFIG_LPC_ENET) += nxp/
|
|
obj-$(CONFIG_NET_VENDOR_OKI) += oki-semi/
|
|
obj-$(CONFIG_ETHOC) += ethoc.o
|
|
obj-$(CONFIG_NET_PACKET_ENGINE) += packetengines/
|
|
obj-$(CONFIG_NET_VENDOR_PASEMI) += pasemi/
|
|
obj-$(CONFIG_NET_VENDOR_QLOGIC) += qlogic/
|
|
obj-$(CONFIG_NET_VENDOR_QUALCOMM) += qualcomm/
|
|
obj-$(CONFIG_NET_VENDOR_REALTEK) += realtek/
|
|
obj-$(CONFIG_NET_VENDOR_RENESAS) += renesas/
|
|
obj-$(CONFIG_NET_VENDOR_RDC) += rdc/
|
|
obj-$(CONFIG_NET_VENDOR_ROCKER) += rocker/
|
|
obj-$(CONFIG_NET_VENDOR_SAMSUNG) += samsung/
|
|
obj-$(CONFIG_NET_VENDOR_SEEQ) += seeq/
|
|
obj-$(CONFIG_NET_VENDOR_SILAN) += silan/
|
|
obj-$(CONFIG_NET_VENDOR_SIS) += sis/
|
|
obj-$(CONFIG_SFC) += sfc/
|
|
obj-$(CONFIG_SFC_FALCON) += sfc/falcon/
|
|
obj-$(CONFIG_NET_VENDOR_SGI) += sgi/
|
|
obj-$(CONFIG_NET_VENDOR_SMSC) += smsc/
|
|
obj-$(CONFIG_NET_VENDOR_SOCIONEXT) += socionext/
|
|
obj-$(CONFIG_NET_VENDOR_STMICRO) += stmicro/
|
|
obj-$(CONFIG_NET_VENDOR_SUN) += sun/
|
|
obj-$(CONFIG_NET_VENDOR_TEHUTI) += tehuti/
|
|
obj-$(CONFIG_NET_VENDOR_TI) += ti/
|
|
obj-$(CONFIG_NET_VENDOR_TOSHIBA) += toshiba/
|
|
obj-$(CONFIG_NET_VENDOR_TUNDRA) += tundra/
|
|
obj-$(CONFIG_NET_VENDOR_VIA) += via/
|
|
obj-$(CONFIG_NET_VENDOR_WIZNET) += wiznet/
|
|
obj-$(CONFIG_NET_VENDOR_XILINX) += xilinx/
|
|
obj-$(CONFIG_NET_VENDOR_XIRCOM) += xircom/
|
|
obj-$(CONFIG_NET_VENDOR_SYNOPSYS) += synopsys/
|