Re: [PATCH v8 4/5] tty: serial: handle HAS_IOPORT dependencies
From: Maciej W. Rozycki
Date: Sun Oct 13 2024 - 10:54:01 EST
On Tue, 8 Oct 2024, Niklas Schnelle wrote:
> In a future patch HAS_IOPORT=n will disable inb()/outb() and friends at
> compile time. We thus need to add HAS_IOPORT as dependency for those
> drivers using them unconditionally. Some 8250 serial drivers support
> MMIO only use, so fence only the parts requiring I/O ports and print an
> error message if a device can't be supported with the current
> configuration.
>
> Co-developed-by: Arnd Bergmann <arnd@xxxxxxxxxx>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxxxx>
> Signed-off-by: Niklas Schnelle <schnelle@xxxxxxxxxxxxx>
> ---
Reviewed-by: Maciej W. Rozycki <macro@xxxxxxxxxxx>
Maciej