[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <bf276f98-2712-4fcf-a119-f984a1aedbf2@app.fastmail.com>
Date: Wed, 03 Apr 2024 20:34:57 +0200
From: "Arnd Bergmann" <arnd@...nel.org>
To: "Michael Schmitz" <schmitzmic@...il.com>,
"Niklas Schnelle" <schnelle@...ux.ibm.com>,
"Geert Uytterhoeven" <geert@...ux-m68k.org>
Cc: linux-m68k@...ts.linux-m68k.org, "Heiko Carstens" <hca@...ux.ibm.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 0/1] m68k: Handle HAS_IOPORT dependencies
On Wed, Apr 3, 2024, at 20:11, Michael Schmitz wrote:
> Niklas,
>
> how do you propose we handle legacy drivers that do depend on
> inb()/outb() functions (_not_ actual ISA I/O) on architectures that map
> inb()/outb() to MMIO functions?
>
> (In my case, that's at least ne.c - Geert ought to have a better
> overview what else does use inb()/outb() on m68k)
If a machine provides an inb()/outb() set of operations that
is actually used, it should set HAS_IOPORT.
For the Q40, it may be better in the long run to change the
drivers to just use MMIO directly though.
Arnd
Powered by blists - more mailing lists