parisc: Make 8250_gsc driver dependend on CONFIG_PARISC
Subsystems (2)
Helge Deller
maintainerPATCH 1/2 parisc: Make 8250_gsc driver dependend on CONFIG_PARISC
Although the name of the driver 8250_gsc.c suggests that it handles only serial ports on the GSC bus, it does handle serial ports listed in the parisc machine inventory as well, e.g. the serial ports in a C8000 PCI-only workstation.
Change the dependency to CONFIG_PARISC, so that the driver gets included in the kernel even if CONFIG_GSC isn't set.
Reported-by Mikulas Patocka <[email protected]>
Cc <[email protected]>
Signed-off-by Helge Deller <[email protected]>
--- drivers/tty/serial/8250/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/tty/serial/8250/Kconfig +1 -1
@@ -118,7 +118,7 @@ config SERIAL_8250_CONSOLE config SERIAL_8250_GSC tristate - depends on SERIAL_8250 && GSC + depends on SERIAL_8250 && PARISC default SERIAL_8250 config SERIAL_8250_DMA
--
2.37.3
Helge Deller
maintainerPATCH 2/2 parisc/serial: Rename 8250_gsc.c to 8250_parisc.c
The file name of this driver is misleading - it handles various serial ports on parisc machines, not just such on the GSC bus. Rename the file to make this clearer.
Suggested-by Mikulas Patocka <[email protected]>
Signed-off-by Helge Deller <[email protected]>
---
drivers/tty/serial/8250/{8250_gsc.c => 8250_parisc.c} | 0
drivers/tty/serial/8250/Kconfig | 2 +-
drivers/tty/serial/8250/Makefile | 2 +-
3 files changed, 2 insertions(+), 2 deletions(-)
rename drivers/tty/serial/8250/{8250_gsc.c => 8250_parisc.c} (100%)drivers/tty/serial/8250/8250_parisc.c renamed from drivers/tty/serial/8250/8250_gsc.c +0 -0
drivers/tty/serial/8250/Kconfig +1 -1
@@ -116,7 +116,7 @@ config SERIAL_8250_CONSOLE If unsure, say N. -config SERIAL_8250_GSC +config SERIAL_8250_PARISC tristate depends on SERIAL_8250 && PARISC default SERIAL_8250
drivers/tty/serial/8250/Makefile +1 -1
@@ -12,7 +12,7 @@ obj-$(CONFIG_SERIAL_8250) += 8250.o 8250_base.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 -obj-$(CONFIG_SERIAL_8250_GSC) += 8250_gsc.o +obj-$(CONFIG_SERIAL_8250_PARISC) += 8250_parisc.o obj-$(CONFIG_SERIAL_8250_PCI) += 8250_pci.o obj-$(CONFIG_SERIAL_8250_EXAR) += 8250_exar.o obj-$(CONFIG_SERIAL_8250_HP300) += 8250_hp300.o
--
2.37.3