177dfcd80f
The SFC4000 has a separate MAC for use at sub-10G speeds. Introduce an efx_mac_operations structure with implementations for the two MACs. Switch between the MACs as necessary. PHY settings are independent of the MAC, so add get_settings() and set_settings() to efx_phy_operations. Also add macs field to indicate which MACs the PHY is connected to. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
7 lines
212 B
Makefile
7 lines
212 B
Makefile
sfc-y += efx.o falcon.o tx.o rx.o falcon_gmac.o \
|
|
falcon_xmac.o selftest.o ethtool.o xfp_phy.o \
|
|
mdio_10g.o tenxpress.o boards.o sfe4001.o
|
|
sfc-$(CONFIG_SFC_MTD) += mtd.o
|
|
|
|
obj-$(CONFIG_SFC) += sfc.o
|