Home | History | Annotate | Line # | Download | only in include
      1 /*	$NetBSD: bus_defs.h,v 1.1 2011/07/01 17:10:00 dyoung Exp $	*/
      2 /*	$OpenBSD: bus.h,v 1.1 1997/10/13 10:53:42 pefo Exp $	*/
      3 
      4 #ifndef _SANDPOINT_BUS_DEFS_H_
      5 #define _SANDPOINT_BUS_DEFS_H_
      6 
      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
     15 
     16 /*
     17  * Address conversion as seen from a PCI master.
     18  */
     19 #define PHYS_TO_BUS_MEM(t,x)	(x)
     20 #define BUS_MEM_TO_PHYS(t,x)	(x)
     21 
     22 #include <powerpc/bus_defs.h>
     23 
     24 #endif /* _SANDPOINT_BUS_DEFS_H_ */
     25