File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 51
51
52
52
/* ioswab[bwlq], __mem_ioswab[bwlq] are defined in mangle-port.h */
53
53
54
- #define IO_SPACE_LIMIT 0xffff
55
-
56
54
/*
57
55
* On MIPS I/O ports are memory mapped, so we access them using normal
58
56
* load/store instructions. mips_io_port_base is the virtual address to
Original file line number Diff line number Diff line change 14
14
15
15
#include <asm/mipsregs.h>
16
16
17
+ #ifndef IO_SPACE_LIMIT
18
+ #define IO_SPACE_LIMIT 0xffff
19
+ #endif
20
+
17
21
/*
18
22
* This gives the physical RAM offset.
19
23
*/
Original file line number Diff line number Diff line change 11
11
#define PCI_IOSIZE SZ_16M
12
12
#define MAP_BASE (PCI_IOBASE + PCI_IOSIZE)
13
13
14
- /* Reserved at the start of PCI_IOBASE for legacy drivers */
15
- #define MMIO_LOWER_RESERVED 0x10000
14
+ #define IO_SPACE_LIMIT (PCI_IOSIZE - 1)
16
15
17
16
#include <asm/mach-generic/spaces.h>
18
17
#endif
You can’t perform that action at this time.
0 commit comments