All of lore.kernel.org
 help / color / mirror / Atom feed
From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 08/10] ARM: io: remove IO_SPACE_LIMIT from platforms with ISA/PCI and 64K window
Date: Wed, 17 Aug 2011 08:53:56 +0100	[thread overview]
Message-ID: <E1Qtawm-0007N9-VA@rmk-PC.arm.linux.org.uk> (raw)
In-Reply-To: <20110817075104.GC1006@n2100.arm.linux.org.uk>

Remove IO_SPACE_LIMIT definitions from platforms which have a well
defined ISA or PCI, and has a 64K window.

EBSA110 - well defined set of ISA devices.
Footbridge, Integrator, IXP4xx, VT8500 - PCI platforms.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
---
 arch/arm/mach-ebsa110/include/mach/io.h    |    2 --
 arch/arm/mach-footbridge/include/mach/io.h |    2 --
 arch/arm/mach-integrator/include/mach/io.h |    2 --
 arch/arm/mach-ixp4xx/include/mach/io.h     |    2 --
 arch/arm/mach-vt8500/include/mach/io.h     |    2 --
 5 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/arch/arm/mach-ebsa110/include/mach/io.h b/arch/arm/mach-ebsa110/include/mach/io.h
index f68daa63..44679db 100644
--- a/arch/arm/mach-ebsa110/include/mach/io.h
+++ b/arch/arm/mach-ebsa110/include/mach/io.h
@@ -13,8 +13,6 @@
 #ifndef __ASM_ARM_ARCH_IO_H
 #define __ASM_ARM_ARCH_IO_H
 
-#define IO_SPACE_LIMIT 0xffff
-
 u8 __inb8(unsigned int port);
 void __outb8(u8  val, unsigned int port);
 
diff --git a/arch/arm/mach-footbridge/include/mach/io.h b/arch/arm/mach-footbridge/include/mach/io.h
index 32e4cc3..15a7039 100644
--- a/arch/arm/mach-footbridge/include/mach/io.h
+++ b/arch/arm/mach-footbridge/include/mach/io.h
@@ -23,8 +23,6 @@
 #define PCIO_SIZE       0x00100000
 #define PCIO_BASE       MMU_IO(0xff000000, 0x7c000000)
 
-#define IO_SPACE_LIMIT 0xffff
-
 /*
  * Translation of various region addresses to virtual addresses
  */
diff --git a/arch/arm/mach-integrator/include/mach/io.h b/arch/arm/mach-integrator/include/mach/io.h
index f21bb54..37beed3 100644
--- a/arch/arm/mach-integrator/include/mach/io.h
+++ b/arch/arm/mach-integrator/include/mach/io.h
@@ -20,8 +20,6 @@
 #ifndef __ASM_ARM_ARCH_IO_H
 #define __ASM_ARM_ARCH_IO_H
 
-#define IO_SPACE_LIMIT 0xffff
-
 /*
  * WARNING: this has to mirror definitions in platform.h
  */
diff --git a/arch/arm/mach-ixp4xx/include/mach/io.h b/arch/arm/mach-ixp4xx/include/mach/io.h
index 57b5410..ffb9d6a 100644
--- a/arch/arm/mach-ixp4xx/include/mach/io.h
+++ b/arch/arm/mach-ixp4xx/include/mach/io.h
@@ -17,8 +17,6 @@
 
 #include <mach/hardware.h>
 
-#define IO_SPACE_LIMIT 0x0000ffff
-
 extern int (*ixp4xx_pci_read)(u32 addr, u32 cmd, u32* data);
 extern int ixp4xx_pci_write(u32 addr, u32 cmd, u32 data);
 
diff --git a/arch/arm/mach-vt8500/include/mach/io.h b/arch/arm/mach-vt8500/include/mach/io.h
index 9077239..46181ee 100644
--- a/arch/arm/mach-vt8500/include/mach/io.h
+++ b/arch/arm/mach-vt8500/include/mach/io.h
@@ -20,8 +20,6 @@
 #ifndef __ASM_ARM_ARCH_IO_H
 #define __ASM_ARM_ARCH_IO_H
 
-#define IO_SPACE_LIMIT 0xffff
-
 #define __io(a)		__typesafe_io((a) + 0xf0000000)
 #define __mem_pci(a)	(a)
 
-- 
1.7.4.4

  parent reply	other threads:[~2011-08-17  7:53 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-17  7:51 [PATCH 00/10] Clean up some io.h and associated code Russell King - ARM Linux
2011-08-17  7:51 ` [PATCH 01/10] ARM: io: s3c2410: remove ioaddr() Russell King - ARM Linux
2011-08-17  7:51 ` [PATCH 02/10] ARM: io: RiscPC: define io addresses relative to IO_BASE Russell King - ARM Linux
2011-08-17  7:52 ` [PATCH 03/10] ARM: io: ecard: move ioaddr() inside __ecard_address Russell King - ARM Linux
2011-08-17  7:52 ` [PATCH 04/10] ARM: io: ecard: remove ioaddr() from ecard.c Russell King - ARM Linux
2011-08-17  7:52 ` [PATCH 05/10] ARM: io: RiscPC: make EASI_BASE a void iomem pointer Russell King - ARM Linux
2011-08-17  7:53 ` [PATCH 06/10] ARM: io: RiscPC: eliminate private inb() et.al. definitions Russell King - ARM Linux
2011-08-17  7:53 ` [PATCH 07/10] ARM: io: add a default IO_SPACE_LIMIT definition Russell King - ARM Linux
2011-08-17  7:53 ` Russell King - ARM Linux [this message]
2011-08-17  7:54 ` [PATCH 09/10] ARM: io: remove IO_SPACE_LIMIT from platforms without PCI/ISA Russell King - ARM Linux
2011-08-17  7:54 ` [PATCH 10/10] ARM: io: remove IO_SPACE_LIMIT from SA11x0 Russell King - ARM Linux
2011-08-18 15:14 ` [PATCH 00/10] Clean up some io.h and associated code Arnd Bergmann
2011-08-21  8:37   ` Russell King - ARM Linux
2011-08-21 13:21     ` Arnd Bergmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1Qtawm-0007N9-VA@rmk-PC.arm.linux.org.uk \
    --to=linux@arm.linux.org.uk \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.