* [PATCH] m68k: make HPDCA and HPAPCI bools
@ 2025-08-22 10:42 Jiri Slaby (SUSE)
2025-09-01 8:53 ` Geert Uytterhoeven
0 siblings, 1 reply; 2+ messages in thread
From: Jiri Slaby (SUSE) @ 2025-08-22 10:42 UTC (permalink / raw)
To: geert; +Cc: linux-serial, linux-kernel, Jiri Slaby (SUSE), linux-m68k
The only user -- 8250_hp300 -- tests for CONFIG_HPDCA and CONFIG_HPAPCI.
It does not test for *_MODULE variants. That means that if someone sets
the configs to =m, the code is not compiled at all.
There is actually no point having these as tristate. Switch them to
bool.
Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: linux-m68k@lists.linux-m68k.org
---
arch/m68k/Kconfig.devices | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/m68k/Kconfig.devices b/arch/m68k/Kconfig.devices
index e6e3efac1840..e277f1bd2de1 100644
--- a/arch/m68k/Kconfig.devices
+++ b/arch/m68k/Kconfig.devices
@@ -105,14 +105,14 @@ config AMIGA_BUILTIN_SERIAL
To compile this driver as a module, choose M here.
config HPDCA
- tristate "HP DCA serial support"
+ bool "HP DCA serial support"
depends on DIO && SERIAL_8250
help
If you want to use the internal "DCA" serial ports on an HP300
machine, say Y here.
config HPAPCI
- tristate "HP APCI serial support"
+ bool "HP APCI serial support"
depends on HP300 && SERIAL_8250
help
If you want to use the internal "APCI" serial ports on an HP400
--
2.51.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] m68k: make HPDCA and HPAPCI bools
2025-08-22 10:42 [PATCH] m68k: make HPDCA and HPAPCI bools Jiri Slaby (SUSE)
@ 2025-09-01 8:53 ` Geert Uytterhoeven
0 siblings, 0 replies; 2+ messages in thread
From: Geert Uytterhoeven @ 2025-09-01 8:53 UTC (permalink / raw)
To: Jiri Slaby (SUSE); +Cc: linux-serial, linux-kernel, linux-m68k, Philip Blundell
CC PhilB
On Fri, 22 Aug 2025 at 12:42, Jiri Slaby (SUSE) <jirislaby@kernel.org> wrote:
> The only user -- 8250_hp300 -- tests for CONFIG_HPDCA and CONFIG_HPAPCI.
> It does not test for *_MODULE variants. That means that if someone sets
> the configs to =m, the code is not compiled at all.
>
> There is actually no point having these as tristate. Switch them to
> bool.
>
> Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
> Cc: Geert Uytterhoeven <geert@linux-m68k.org>
> Cc: linux-m68k@lists.linux-m68k.org
> ---
> arch/m68k/Kconfig.devices | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/m68k/Kconfig.devices b/arch/m68k/Kconfig.devices
> index e6e3efac1840..e277f1bd2de1 100644
> --- a/arch/m68k/Kconfig.devices
> +++ b/arch/m68k/Kconfig.devices
> @@ -105,14 +105,14 @@ config AMIGA_BUILTIN_SERIAL
> To compile this driver as a module, choose M here.
>
> config HPDCA
> - tristate "HP DCA serial support"
> + bool "HP DCA serial support"
> depends on DIO && SERIAL_8250
> help
> If you want to use the internal "DCA" serial ports on an HP300
> machine, say Y here.
>
> config HPAPCI
> - tristate "HP APCI serial support"
> + bool "HP APCI serial support"
> depends on HP300 && SERIAL_8250
> help
> If you want to use the internal "APCI" serial ports on an HP400
> --
> 2.51.0
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-09-01 8:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-22 10:42 [PATCH] m68k: make HPDCA and HPAPCI bools Jiri Slaby (SUSE)
2025-09-01 8:53 ` Geert Uytterhoeven
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).