aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorAleksander Jan Bajkowski <olek2@wp.pl>2022-12-02 23:12:23 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2023-04-01 22:06:26 +0200
commit31b133022348ae86175a8dcd1d395dd870e7adc1 (patch)
treea07473683abb64eb8a4ead47841fee4ff7aec6f6 /package
parentfca03b4bad5743252de458198f3fe1d13b9f553d (diff)
downloadupstream-31b133022348ae86175a8dcd1d395dd870e7adc1.tar.gz
upstream-31b133022348ae86175a8dcd1d395dd870e7adc1.tar.bz2
upstream-31b133022348ae86175a8dcd1d395dd870e7adc1.zip
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@wp.pl>
Diffstat (limited to 'package')
-rw-r--r--package/kernel/linux/modules/netdevices.mk4
1 files 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)