[PATCH v8 4/5] tty: serial: handle HAS_IOPORT dependencies
Greg Kroah-Hartman
gregkh at linuxfoundation.org
Fri Oct 11 06:09:20 UTC 2024
On Tue, Oct 08, 2024 at 02:39:45PM +0200, 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>
> ---
Acked-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
More information about the Spice-devel
mailing list