No empty .Rs/.Re
[netbsd-mini2440.git] / sys / arch / sandpoint / include / bus.h
blobd4bf00f863bcab64444952668640839c40293340
1 /* $NetBSD: bus.h,v 1.7.38.2 2007/05/23 01:45:10 nisimura Exp $ */
2 /* $OpenBSD: bus.h,v 1.1 1997/10/13 10:53:42 pefo Exp $ */
4 #ifndef _SANDPOINT_BUS_H_
5 #define _SANDPOINT_BUS_H_
7 /*
8 * Values for the SandPoint bus space tag, not to be used directly by MI code.
9 */
10 #define SANDPOINT_BUS_SPACE_IO 0xFE000000 /* i/o space */
11 #define SANDPOINT_BUS_SPACE_MEM 0x80000000 /* mem space */
12 #define SANDPOINT_BUS_SPACE_EUMB 0xFC000000 /* EUMB space */
13 #define SANDPOINT_PCI_CONFIG_ADDR 0xFEC00CF8
14 #define SANDPOINT_PCI_CONFIG_DATA 0xFEE00CFC
17 * Address conversion as seen from a PCI master.
19 #define PHYS_TO_BUS_MEM(t,x) (x)
20 #define BUS_MEM_TO_PHYS(t,x) (x)
22 #ifdef _KERNEL
23 extern struct powerpc_bus_space sandpoint_io_space_tag;
24 extern struct powerpc_bus_space genppc_isa_io_space_tag;
25 extern struct powerpc_bus_space sandpoint_mem_space_tag;
26 extern struct powerpc_bus_space genppc_isa_mem_space_tag;
27 extern struct powerpc_bus_space sandpoint_eumb_space_tag;
28 #endif
30 #include <powerpc/bus.h>
32 #endif /* _SANDPOINT_BUS_H_ */