Re: [PATCH v2 1/5] m68k: common PCI support definitions and code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Geert,

On 28/6/21 5:44 pm, Geert Uytterhoeven wrote:
Hi Greg,

On Mon, Jul 16, 2012 at 2:25 PM <gerg@xxxxxxxxxxxx> wrote:
From: Greg Ungerer <gerg@xxxxxxxxxxx>

Basic set of definitions and support code required to turn on CONFIG_PCI
for the m68k architecture. Nothing specific to any PCI implementation in
any m68k class CPU hardware yet.

Signed-off-by: Greg Ungerer <gerg@xxxxxxxxxxx>

--- a/arch/m68k/include/asm/io_mm.h
+++ b/arch/m68k/include/asm/io_mm.h
@@ -340,4 +340,6 @@ static inline void memcpy_toio(volatile void __iomem *dst, const void *src, int
   */
  #define xlate_dev_kmem_ptr(p)  p

+#define ioport_map(port, nr)   ((void __iomem *)(port))

So should we dop:

     config NO_IOPORT_MAP
             def_bool y

Triggered by seeing CONFIG_GPIO_TQMX86 being removed from allmodconfig
builds due to commit c6414e1a2bd26b00 ("gpio: AMD8111 and TQMX86
require HAS_IOPORT_MAP").

I guess we could.
But we would have to remove the iomap/iounmap definitions in kmap.h too right?

Regards
Greg




[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux