Home | History | Annotate | Line # | Download | only in include
      1 /* $NetBSD: bus.h,v 1.3 2019/09/23 16:17:55 skrll Exp $ */
      2 
      3 /*
      4  * XXX: A dummy <machine/bus.h> for MI <sys/bus.h>.
      5  */
      6 
      7 #ifndef _MACHINE_BUS_H_
      8 #define	_MACHINE_BUS_H_
      9 
     10 typedef paddr_t	bus_addr_t;
     11 typedef psize_t	bus_size_t;
     12 
     13 #define PRIxBUSADDR	PRIxPADDR
     14 #define PRIxBUSSIZE	PRIxPSIZE
     15 #define PRIuBUSSIZE	PRIuPSIZE
     16 
     17 typedef int     bus_space_tag_t;
     18 typedef int     bus_space_handle_t;
     19 
     20 #define PRIxBSH		"x"
     21 
     22 /*
     23  * There is no bus_dma(9)'fied bus drivers on this port.
     24  */
     25 #define __HAVE_NO_BUS_DMA
     26 
     27 #endif /* _MACHINE_BUS_H_ */
     28