[openwrt/openwrt] kernel: modules: hfcpci: limit to devices with pci support

LEDE Commits lede-commits at lists.infradead.org
Sat Apr 1 13:07:18 PDT 2023


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/31b133022348ae86175a8dcd1d395dd870e7adc1

commit 31b133022348ae86175a8dcd1d395dd870e7adc1
Author: Aleksander Jan Bajkowski <olek2 at wp.pl>
AuthorDate: Fri Dec 2 23:12:23 2022 +0100

    kernel: modules: hfcpci: limit to devices with pci support
    
    Kmod-hfcpci and kmod-hfcmulti supports ISDN adapters over PCI. On targets
    without PCI support, this package is empty. Symbol CONFIG_MISDN_HFCMULTI
    and CONFIG_MISDN_HFCPCI depends on CONFIG_PCI.
    
    Signed-off-by: Aleksander Jan Bajkowski <olek2 at wp.pl>
---
 package/kernel/linux/modules/netdevices.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk
index 2af84be638..4973c0502e 100644
--- a/package/kernel/linux/modules/netdevices.mk
+++ b/package/kernel/linux/modules/netdevices.mk
@@ -966,7 +966,7 @@ $(eval $(call KernelPackage,tg3))
 define KernelPackage/hfcpci
   TITLE:=HFC PCI cards (single port) support for mISDN
   KCONFIG:=CONFIG_MISDN_HFCPCI
-  DEPENDS:=+kmod-misdn
+  DEPENDS:=@PCI_SUPPORT +kmod-misdn
   SUBMENU:=$(NETWORK_DEVICES_MENU)
   FILES:=$(LINUX_DIR)/drivers/isdn/hardware/mISDN/hfcpci.ko
   AUTOLOAD:=$(call AutoLoad,31,hfcpci)
@@ -983,7 +983,7 @@ $(eval $(call KernelPackage,hfcpci))
 define KernelPackage/hfcmulti
   TITLE:=HFC multiport cards (HFC-4S/8S/E1) support for mISDN
   KCONFIG:=CONFIG_MISDN_HFCMULTI
-  DEPENDS:=+kmod-misdn
+  DEPENDS:=@PCI_SUPPORT +kmod-misdn
   SUBMENU:=$(NETWORK_DEVICES_MENU)
   FILES:=$(LINUX_DIR)/drivers/isdn/hardware/mISDN/hfcmulti.ko
   AUTOLOAD:=$(call AutoLoad,31,hfcmulti)




More information about the lede-commits mailing list