Re: [PATCH v7 4/5] tty: serial: handle HAS_IOPORT dependencies

2024-10-08 Thread Niklas Schnelle
On Tue, 2024-10-08 at 13:32 +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

[PATCH v7 4/5] tty: serial: handle HAS_IOPORT dependencies

2024-10-08 Thread Niklas Schnelle
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