diff options
author | Steven A. Falco <sfalco@harris.com> | 2009-06-16 12:35:00 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 13:17:15 -0400 |
commit | 1d80766554322236aee50d6023693b3210b9cf38 (patch) | |
tree | bd20bdf677e5e551886673f4f3b74d6681cd8b12 /include/pcmcia | |
parent | a0779327d25bc74a50b23136e278dba24c628741 (diff) |
pcmcia: Use phys_addr_t for physical addresses
Physical addresses are currently represented as int or long types.
However, this does not work for processors like the PPC440EPx, which
is a 32-bit processor with a 36-bit address space. This patch uses
the phys_addr_t type, which correctly holds a 36-bit address on
this processor.
Signed-off-by: Steven A. Falco <sfalco@harris.com>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/pcmcia')
-rw-r--r-- | include/pcmcia/ss.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/pcmcia/ss.h b/include/pcmcia/ss.h index 9b4ac9385f5d..9a3b49865173 100644 --- a/include/pcmcia/ss.h +++ b/include/pcmcia/ss.h | |||
@@ -90,14 +90,14 @@ typedef struct pccard_io_map { | |||
90 | u_char map; | 90 | u_char map; |
91 | u_char flags; | 91 | u_char flags; |
92 | u_short speed; | 92 | u_short speed; |
93 | u_int start, stop; | 93 | phys_addr_t start, stop; |
94 | } pccard_io_map; | 94 | } pccard_io_map; |
95 | 95 | ||
96 | typedef struct pccard_mem_map { | 96 | typedef struct pccard_mem_map { |
97 | u_char map; | 97 | u_char map; |
98 | u_char flags; | 98 | u_char flags; |
99 | u_short speed; | 99 | u_short speed; |
100 | u_long static_start; | 100 | phys_addr_t static_start; |
101 | u_int card_start; | 101 | u_int card_start; |
102 | struct resource *res; | 102 | struct resource *res; |
103 | } pccard_mem_map; | 103 | } pccard_mem_map; |