mirror of
https://github.com/torvalds/linux.git
synced 2026-09-24 06:24:02 +02:00
The Moxa PCIe multiport serial boards are currently handled as part of 8250_pci.c. In preparation for adding Moxa-specific UART features and optimizations, move the Moxa PCIe implementation into a dedicated driver. This introduces drivers/tty/serial/8250/8250_mxpcie.c and wires it up via Kconfig and Makefile, while preserving the existing probe flow and device IDs. This change was suggested during earlier reviews by Andy Shevchenko [1][2]. No functional change intended. Link: https://lore.kernel.org/all/ZmQovC6TbDpTb3c8@surfacebook.localdomain/ [1] Link: https://lore.kernel.org/all/CAHp75VeDsVt0GQYUFxLM+obfmqXBPa3hM3YMsFbc26uzWZG-SQ@mail.gmail.com/ [2] Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Crescent Hsieh <crescentcy.hsieh@moxa.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Link: https://patch.msgid.link/20260731074820.735619-2-crescentcy.hsieh@moxa.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
63 lines
2.5 KiB
Makefile
63 lines
2.5 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for the 8250 serial device drivers.
|
|
#
|
|
|
|
obj-$(CONFIG_SERIAL_8250) += 8250.o
|
|
8250-y := 8250_core.o
|
|
8250-y += 8250_platform.o
|
|
8250-$(CONFIG_SERIAL_8250_PNP) += 8250_pnp.o
|
|
|
|
obj-$(CONFIG_SERIAL_8250) += 8250_base.o
|
|
8250_base-y := 8250_port.o
|
|
8250_base-$(CONFIG_SERIAL_8250_DMA) += 8250_dma.o
|
|
8250_base-$(CONFIG_SERIAL_8250_DWLIB) += 8250_dwlib.o
|
|
8250_base-$(CONFIG_SERIAL_8250_FINTEK) += 8250_fintek.o
|
|
8250_base-$(CONFIG_SERIAL_8250_PCILIB) += 8250_pcilib.o
|
|
8250_base-$(CONFIG_SERIAL_8250_RSA) += 8250_rsa.o
|
|
|
|
obj-$(CONFIG_SERIAL_8250_CONSOLE) += 8250_early.o
|
|
|
|
obj-$(CONFIG_SERIAL_8250_ACCENT) += 8250_accent.o
|
|
obj-$(CONFIG_SERIAL_8250_ACORN) += 8250_acorn.o
|
|
obj-$(CONFIG_SERIAL_8250_ASPEED_VUART) += 8250_aspeed_vuart.o
|
|
obj-$(CONFIG_SERIAL_8250_BCM2835AUX) += 8250_bcm2835aux.o
|
|
obj-$(CONFIG_SERIAL_8250_BCM7271) += 8250_bcm7271.o
|
|
obj-$(CONFIG_SERIAL_8250_BOCA) += 8250_boca.o
|
|
ifeq ($(CONFIG_SERIAL_8250),y)
|
|
obj-$(CONFIG_X86_INTEL_CE) += 8250_ce4100.o
|
|
endif
|
|
obj-$(CONFIG_SERIAL_8250_DFL) += 8250_dfl.o
|
|
obj-$(CONFIG_SERIAL_8250_DW) += 8250_dw.o
|
|
obj-$(CONFIG_SERIAL_8250_EM) += 8250_em.o
|
|
obj-$(CONFIG_SERIAL_8250_EXAR) += 8250_exar.o
|
|
obj-$(CONFIG_SERIAL_8250_EXAR_ST16C554) += 8250_exar_st16c554.o
|
|
obj-$(CONFIG_SERIAL_8250_FOURPORT) += 8250_fourport.o
|
|
obj-$(CONFIG_SERIAL_8250_FSL) += 8250_fsl.o
|
|
obj-$(CONFIG_SERIAL_8250_HP300) += 8250_hp300.o
|
|
obj-$(CONFIG_SERIAL_8250_HUB6) += 8250_hub6.o
|
|
obj-$(CONFIG_SERIAL_8250_INGENIC) += 8250_ingenic.o
|
|
obj-$(CONFIG_SERIAL_8250_IOC3) += 8250_ioc3.o
|
|
obj-$(CONFIG_SERIAL_8250_KEBA) += 8250_keba.o
|
|
obj-$(CONFIG_SERIAL_8250_LOONGSON) += 8250_loongson.o
|
|
obj-$(CONFIG_SERIAL_8250_LPC18XX) += 8250_lpc18xx.o
|
|
obj-$(CONFIG_SERIAL_8250_LPSS) += 8250_lpss.o
|
|
obj-$(CONFIG_SERIAL_8250_MEN_MCB) += 8250_men_mcb.o
|
|
obj-$(CONFIG_SERIAL_8250_MID) += 8250_mid.o
|
|
obj-$(CONFIG_SERIAL_8250_MOXA_PCIE) += 8250_mxpcie.o
|
|
obj-$(CONFIG_SERIAL_8250_MT6577) += 8250_mtk.o
|
|
obj-$(CONFIG_SERIAL_8250_NI) += 8250_ni.o
|
|
obj-$(CONFIG_SERIAL_OF_PLATFORM) += 8250_of.o
|
|
obj-$(CONFIG_SERIAL_8250_OMAP) += 8250_omap.o
|
|
obj-$(CONFIG_SERIAL_8250_PARISC) += 8250_parisc.o
|
|
obj-$(CONFIG_SERIAL_8250_PCI) += 8250_pci.o
|
|
obj-$(CONFIG_SERIAL_8250_PCI1XXXX) += 8250_pci1xxxx.o
|
|
obj-$(CONFIG_SERIAL_8250_PERICOM) += 8250_pericom.o
|
|
obj-$(CONFIG_SERIAL_8250_PXA) += 8250_pxa.o
|
|
obj-$(CONFIG_SERIAL_8250_RT288X) += 8250_rt288x.o
|
|
obj-$(CONFIG_SERIAL_8250_CS) += serial_cs.o
|
|
obj-$(CONFIG_SERIAL_8250_UNIPHIER) += 8250_uniphier.o
|
|
obj-$(CONFIG_SERIAL_8250_TEGRA) += 8250_tegra.o
|
|
|
|
CFLAGS_8250_ingenic.o += -I$(srctree)/scripts/dtc/libfdt
|