mirror of
https://github.com/coolsnowwolf/lede
synced 2025-01-09 09:37:33 +08:00
kernel: netdevices: adjust mlxsw network drivers
* Adds the x86_64 dependency for mlxsw_core * Removes the redundant mlxsw_core dependency from mlxsw-minimal and mlxsw-spectrum * Removes the DCB configuration symbols because they were moved into the generic configuration Signed-off-by: Til Kaiser <mail@tk154.de> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
55afdb73c6
commit
ec78ad954a
@ -1571,7 +1571,7 @@ $(eval $(call KernelPackage,mlxfw))
|
|||||||
define KernelPackage/mlxsw-core
|
define KernelPackage/mlxsw-core
|
||||||
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||||
TITLE:=Mellanox Technologies Switch ASICs support
|
TITLE:=Mellanox Technologies Switch ASICs support
|
||||||
DEPENDS:=+kmod-mlxfw +kmod-hwmon-core
|
DEPENDS:=@TARGET_x86_64 +kmod-mlxfw +kmod-hwmon-core
|
||||||
FILES:=$(LINUX_DIR)/drivers/net/ethernet/mellanox/mlxsw/mlxsw_core.ko
|
FILES:=$(LINUX_DIR)/drivers/net/ethernet/mellanox/mlxsw/mlxsw_core.ko
|
||||||
KCONFIG:= \
|
KCONFIG:= \
|
||||||
CONFIG_MLXSW_CORE \
|
CONFIG_MLXSW_CORE \
|
||||||
@ -1606,7 +1606,7 @@ $(eval $(call KernelPackage,mlxsw-i2c))
|
|||||||
define KernelPackage/mlxsw-minimal
|
define KernelPackage/mlxsw-minimal
|
||||||
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||||
TITLE:=Mellanox Technologies minimal I2C support
|
TITLE:=Mellanox Technologies minimal I2C support
|
||||||
DEPENDS:=+kmod-mlxsw-core +kmod-mlxsw-i2c
|
DEPENDS:=+kmod-mlxsw-i2c
|
||||||
FILES:=$(LINUX_DIR)/drivers/net/ethernet/mellanox/mlxsw/mlxsw_minimal.ko
|
FILES:=$(LINUX_DIR)/drivers/net/ethernet/mellanox/mlxsw/mlxsw_minimal.ko
|
||||||
KCONFIG:=CONFIG_MLXSW_MINIMAL
|
KCONFIG:=CONFIG_MLXSW_MINIMAL
|
||||||
AUTOLOAD:=$(call AutoProbe,mlxsw_minimal)
|
AUTOLOAD:=$(call AutoProbe,mlxsw_minimal)
|
||||||
@ -1640,20 +1640,14 @@ define KernelPackage/mlxsw-spectrum
|
|||||||
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||||
TITLE:=Mellanox Technologies Spectrum family support
|
TITLE:=Mellanox Technologies Spectrum family support
|
||||||
DEPENDS:= \
|
DEPENDS:= \
|
||||||
+kmod-mlxsw-core +kmod-mlxsw-pci +kmod-lib-objagg +kmod-lib-parman \
|
+kmod-mlxsw-pci +kmod-lib-objagg +kmod-lib-parman \
|
||||||
+kmod-ip6-tunnel +kmod-ptp +kmod-sched-act-sample +kmod-vxlan
|
+kmod-ip6-tunnel +kmod-ptp +kmod-sched-act-sample +kmod-vxlan
|
||||||
FILES:=$(LINUX_DIR)/drivers/net/ethernet/mellanox/mlxsw/mlxsw_spectrum.ko
|
FILES:=$(LINUX_DIR)/drivers/net/ethernet/mellanox/mlxsw/mlxsw_spectrum.ko
|
||||||
KCONFIG:= \
|
KCONFIG:= \
|
||||||
CONFIG_MLXSW_SPECTRUM \
|
CONFIG_MLXSW_SPECTRUM \
|
||||||
CONFIG_NET_SWITCHDEV=y \
|
|
||||||
CONFIG_MLXSW_SPECTRUM_DCB=y \
|
CONFIG_MLXSW_SPECTRUM_DCB=y \
|
||||||
CONFIG_DCB=y \
|
CONFIG_NET_SWITCHDEV=y \
|
||||||
CONFIG_AMD_XGBE_DCB=n \
|
CONFIG_DCB=y
|
||||||
CONFIG_IXGBE_DCB=n \
|
|
||||||
CONFIG_I40E_DCB=n \
|
|
||||||
CONFIG_QLCNIC_DCB=n \
|
|
||||||
CONFIG_FSL_DPAA2_ETH_DCB=n \
|
|
||||||
CONFIG_FSL_DPAA2_SWITCH=n
|
|
||||||
AUTOLOAD:=$(call AutoProbe,mlxsw_spectrum)
|
AUTOLOAD:=$(call AutoProbe,mlxsw_spectrum)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user