mirror of
https://github.com/LiBwrt-op/openwrt-6.x.git
synced 2025-12-17 01:06:35 +00:00
The RTL8367S_GSW config for filogic target is not set by default. This switch model can be recognized by multiple drivers. Configure it as an optional module instead of default set in config. Signed-off-by: Schneider Azima <Schneider-Azima12@protonmail.com> Link: https://github.com/openwrt/openwrt/pull/19187 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
54 lines
1.5 KiB
Makefile
54 lines
1.5 KiB
Makefile
define KernelPackage/ata-ahci-mtk
|
|
TITLE:=Mediatek AHCI Serial ATA support
|
|
KCONFIG:=CONFIG_AHCI_MTK
|
|
FILES:= \
|
|
$(LINUX_DIR)/drivers/ata/ahci_mtk.ko \
|
|
$(LINUX_DIR)/drivers/ata/libahci_platform.ko
|
|
AUTOLOAD:=$(call AutoLoad,40,libahci libahci_platform ahci_mtk,1)
|
|
$(call AddDepends/ata)
|
|
DEPENDS+=@(TARGET_mediatek_mt7622||TARGET_mediatek_mt7623)
|
|
endef
|
|
|
|
define KernelPackage/ata-ahci-mtk/description
|
|
Mediatek AHCI Serial ATA host controllers
|
|
endef
|
|
|
|
$(eval $(call KernelPackage,ata-ahci-mtk))
|
|
|
|
define KernelPackage/btmtkuart
|
|
SUBMENU:=Other modules
|
|
TITLE:=MediaTek HCI UART driver
|
|
DEPENDS:=@TARGET_mediatek_mt7622 +kmod-bluetooth +kmod-btmtk +mt7622bt-firmware
|
|
KCONFIG:=CONFIG_BT_MTKUART
|
|
FILES:= \
|
|
$(LINUX_DIR)/drivers/bluetooth/btmtkuart.ko
|
|
AUTOLOAD:=$(call AutoProbe,btmtkuart)
|
|
endef
|
|
|
|
$(eval $(call KernelPackage,btmtkuart))
|
|
|
|
define KernelPackage/iio-mt6577-auxadc
|
|
TITLE:=Mediatek AUXADC driver
|
|
DEPENDS:=@(TARGET_mediatek_mt7622||TARGET_mediatek_filogic)
|
|
KCONFIG:=CONFIG_MEDIATEK_MT6577_AUXADC
|
|
FILES:= \
|
|
$(LINUX_DIR)/drivers/iio/adc/mt6577_auxadc.ko
|
|
AUTOLOAD:=$(call AutoProbe,mt6577_auxadc)
|
|
$(call AddDepends/iio)
|
|
endef
|
|
$(eval $(call KernelPackage,iio-mt6577-auxadc))
|
|
|
|
define KernelPackage/switch-rtl8367s
|
|
SUBMENU:=Network Devices
|
|
TITLE:=Realtek RTL8367S switch support
|
|
KCONFIG:= \
|
|
CONFIG_RTL8367S_GSW \
|
|
CONFIG_SWCONFIG=y
|
|
DEPENDS:=@TARGET_mediatek +kmod-swconfig
|
|
FILES:= \
|
|
$(LINUX_DIR)/drivers/net/phy/rtk/rtl8367s_gsw.ko
|
|
AUTOLOAD:=$(call AutoProbe,rtl8367s_gsw,1)
|
|
endef
|
|
|
|
$(eval $(call KernelPackage,switch-rtl8367s))
|