[PATCH v8 4/5] tty: serial: handle HAS_IOPORT dependencies
Maciej W. Rozycki
macro at orcam.me.uk
Sun Oct 13 14:53:48 UTC 2024
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 at kernel.org>
> Signed-off-by: Arnd Bergmann <arnd at kernel.org>
> Signed-off-by: Niklas Schnelle <schnelle at linux.ibm.com>
> ---
Reviewed-by: Maciej W. Rozycki <macro at orcam.me.uk>
Maciej
More information about the dri-devel
mailing list