Home | History | Annotate | Line # | Download | only in eb7500atx
rsbus.h revision 1.3
      1  1.3  dyoung /* $NetBSD: rsbus.h,v 1.3 2011/07/19 15:59:52 dyoung Exp $ */
      2  1.1   chris 
      3  1.1   chris #ifndef _RSBUS_H_
      4  1.1   chris #define _RSBUS_H_
      5  1.1   chris 
      6  1.1   chris #include <sys/conf.h>
      7  1.1   chris #include <sys/device.h>
      8  1.1   chris #include <sys/queue.h>
      9  1.3  dyoung #include <sys/bus.h>
     10  1.1   chris 
     11  1.1   chris struct rsbus_softc {
     12  1.1   chris 	struct device sc_dev;
     13  1.1   chris 	bus_space_tag_t sc_iot;
     14  1.1   chris 	bus_space_handle_t sc_ioh;
     15  1.1   chris };
     16  1.1   chris 
     17  1.1   chris struct rsbus_attach_args {
     18  1.1   chris 	bus_space_tag_t		sa_iot;		/* Bus tag */
     19  1.1   chris 	bus_addr_t		sa_addr;	/* i/o address  */
     20  1.1   chris 	bus_size_t		sa_size;
     21  1.1   chris 	int			sa_intr;
     22  1.1   chris };
     23  1.1   chris 
     24  1.1   chris #endif /* _RSBUS_H_ */
     25