Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ce816fa8 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Linus Torvalds
Browse files

Kconfig: rename HAS_IOPORT to HAS_IOPORT_MAP



If the renamed symbol is defined lib/iomap.c implements ioport_map and
ioport_unmap and currently (nearly) all platforms define the port
accessor functions outb/inb and friend unconditionally.  So
HAS_IOPORT_MAP is the better name for this.

Consequently NO_IOPORT is renamed to NO_IOPORT_MAP.

The motivation for this change is to reintroduce a symbol HAS_IOPORT
that signals if outb/int et al are available.  I will address that at
least one merge window later though to keep surprises to a minimum and
catch new introductions of (HAS|NO)_IOPORT.

The changes in this commit were done using:

	$ git grep -l -E '(NO|HAS)_IOPORT' | xargs perl -p -i -e 's/\b((?:CONFIG_)?(?:NO|HAS)_IOPORT)\b/$1_MAP/'

Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 6d08a256
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -57,7 +57,7 @@ config ARCH_FLATMEM_ENABLE
config MMU
	def_bool y

config NO_IOPORT
config NO_IOPORT_MAP
	def_bool y

config GENERIC_CALIBRATE_DELAY
+6 −6
Original line number Diff line number Diff line
@@ -126,7 +126,7 @@ config HAVE_TCM
config HAVE_PROC_CPU
	bool

config NO_IOPORT
config NO_IOPORT_MAP
	bool

config EISA
@@ -410,7 +410,7 @@ config ARCH_EBSA110
	select ISA
	select NEED_MACH_IO_H
	select NEED_MACH_MEMORY_H
	select NO_IOPORT
	select NO_IOPORT_MAP
	help
	  This is an evaluation board for the StrongARM processor available
	  from Digital. It has limited hardware on-board, including an
@@ -428,7 +428,7 @@ config ARCH_EFM32
	select CPU_V7M
	select GENERIC_CLOCKEVENTS
	select NO_DMA
	select NO_IOPORT
	select NO_IOPORT_MAP
	select SPARSE_IRQ
	select USE_OF
	help
@@ -677,7 +677,7 @@ config ARCH_SHMOBILE_LEGACY
	select HAVE_SMP
	select MIGHT_HAVE_CACHE_L2X0
	select MULTI_IRQ_HANDLER
	select NO_IOPORT
	select NO_IOPORT_MAP
	select PINCTRL
	select PM_GENERIC_DOMAINS if PM
	select SPARSE_IRQ
@@ -699,7 +699,7 @@ config ARCH_RPC
	select ISA_DMA_API
	select NEED_MACH_IO_H
	select NEED_MACH_MEMORY_H
	select NO_IOPORT
	select NO_IOPORT_MAP
	select VIRT_TO_BUS
	help
	  On the Acorn Risc-PC, Linux can support the internal IDE disk and
@@ -760,7 +760,7 @@ config ARCH_S3C64XX
	select HAVE_S3C2410_I2C if I2C
	select HAVE_S3C2410_WATCHDOG if WATCHDOG
	select HAVE_TCM
	select NO_IOPORT
	select NO_IOPORT_MAP
	select PLAT_SAMSUNG
	select PM_GENERIC_DOMAINS if PM
	select S3C_DEV_NAND
+1 −1
Original line number Diff line number Diff line
@@ -4,4 +4,4 @@ config ARCH_PICOXCELL
	select ARM_VIC
	select DW_APB_TIMER_OF
	select HAVE_TCM
	select NO_IOPORT
	select NO_IOPORT_MAP
+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@ config ARCH_SIRF
	select ARCH_HAS_RESET_CONTROLLER
	select ARCH_REQUIRE_GPIOLIB
	select GENERIC_IRQ_CHIP
	select NO_IOPORT
	select NO_IOPORT_MAP
	select PINCTRL
	select PINCTRL_SIRF
	help
+1 −1
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@ if ARCH_S3C24XX
config PLAT_S3C24XX
	def_bool y
	select ARCH_REQUIRE_GPIOLIB
	select NO_IOPORT
	select NO_IOPORT_MAP
	select S3C_DEV_NAND
	select IRQ_DOMAIN
	help
Loading