Re: [PATCH 1/1] video: Handle HAS_IOPORT dependencies

2024-08-01 Thread Helge Deller
On 4/10/24 16:23, Niklas Schnelle wrote: In a future patch HAS_IOPORT=n will disable inb()/outb() and friends at compile time. We thus need to #ifdef functions and their callsites which unconditionally use these I/O accessors. In the include/video/vga.h these are conveniently all those functions

Re: [PATCH 1/1] video: Handle HAS_IOPORT dependencies

2024-04-24 Thread Helge Deller
On 4/22/24 21:28, Arnd Bergmann wrote: On Mon, Apr 22, 2024, at 10:34, Niklas Schnelle wrote: On Thu, 2024-04-11 at 16:00 +0200, Helge Deller wrote: * Niklas Schnelle : In a future patch HAS_IOPORT=n will disable inb()/outb() and friends at compile time. We thus need to #ifdef functions and th

Re: [PATCH 1/1] video: Handle HAS_IOPORT dependencies

2024-04-22 Thread Arnd Bergmann
On Mon, Apr 22, 2024, at 10:34, Niklas Schnelle wrote: > On Thu, 2024-04-11 at 16:00 +0200, Helge Deller wrote: >> * Niklas Schnelle : >> > In a future patch HAS_IOPORT=n will disable inb()/outb() and friends at >> > compile time. We thus need to #ifdef functions and their callsites which >> > unco

Re: [PATCH 1/1] video: Handle HAS_IOPORT dependencies

2024-04-22 Thread Niklas Schnelle
On Thu, 2024-04-11 at 16:00 +0200, Helge Deller wrote: > * Niklas Schnelle : > > In a future patch HAS_IOPORT=n will disable inb()/outb() and friends at > > compile time. We thus need to #ifdef functions and their callsites which > > unconditionally use these I/O accessors. In the include/video/vga

Re: [PATCH 1/1] video: Handle HAS_IOPORT dependencies

2024-04-11 Thread Helge Deller
* Niklas Schnelle : > In a future patch HAS_IOPORT=n will disable inb()/outb() and friends at > compile time. We thus need to #ifdef functions and their callsites which > unconditionally use these I/O accessors. In the include/video/vga.h > these are conveniently all those functions with the vga_io

[PATCH 1/1] video: Handle HAS_IOPORT dependencies

2024-04-10 Thread Niklas Schnelle
In a future patch HAS_IOPORT=n will disable inb()/outb() and friends at compile time. We thus need to #ifdef functions and their callsites which unconditionally use these I/O accessors. In the include/video/vga.h these are conveniently all those functions with the vga_io_* prefix. Co-developed-by: