aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2017-06-03 20:29:20 +0200
committerDaniel Golle <daniel@makrotopia.org>2017-06-03 20:45:50 +0200
commitaef39358e6f6ffbd19607330a51f99328a95944d (patch)
tree03268edeac50cf9a273254187d081f00302ea679 /package
parentbfa2e945de59760575cde66e93c49084da354806 (diff)
downloadupstream-aef39358e6f6ffbd19607330a51f99328a95944d.tar.gz
upstream-aef39358e6f6ffbd19607330a51f99328a95944d.tar.bz2
upstream-aef39358e6f6ffbd19607330a51f99328a95944d.zip
kernel: properly package 8250 serial PCI module
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'package')
-rw-r--r--package/kernel/linux/modules/other.mk11
1 files changed, 7 insertions, 4 deletions
diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk
index 026343cc25..1b31a861f0 100644
--- a/package/kernel/linux/modules/other.mk
+++ b/package/kernel/linux/modules/other.mk
@@ -652,16 +652,19 @@ define KernelPackage/serial-8250
SUBMENU:=$(OTHER_MENU)
TITLE:=8250 UARTs
KCONFIG:= CONFIG_SERIAL_8250 \
+ CONFIG_SERIAL_8250_PCI \
CONFIG_SERIAL_8250_NR_UARTS=16 \
- CONFIG_SERIAL_8250_RUNTIME_UARTS=16 \
- CONFIG_SERIAL_8250_EXTENDED=y \
- CONFIG_SERIAL_8250_MANY_PORTS=y \
+ CONFIG_SERIAL_8250_RUNTIME_UARTS=16 \
+ CONFIG_SERIAL_8250_EXTENDED=y \
+ CONFIG_SERIAL_8250_MANY_PORTS=y \
CONFIG_SERIAL_8250_SHARE_IRQ=y \
CONFIG_SERIAL_8250_DETECT_IRQ=n \
CONFIG_SERIAL_8250_RSA=n
FILES:= \
$(LINUX_DIR)/drivers/tty/serial/8250/8250.ko \
- $(LINUX_DIR)/drivers/tty/serial/8250/8250_base.ko@ge4.4
+ $(LINUX_DIR)/drivers/tty/serial/8250/8250_base.ko@ge4.4 \
+ $(if $(CONFIG_PCI),$(LINUX_DIR)/drivers/tty/serial/8250/8250_pci.ko@ge4.4)
+ AUTOLOAD:=$(call AutoProbe,8250 8250_base 8250_pci)
endef
define KernelPackage/serial-8250/description