Home | History | Annotate | Line # | Download | only in eb7500atx
rsbus.h revision 1.1
      1  1.1  chris /* $NetBSD: rsbus.h,v 1.1 2004/01/03 14:31:28 chris 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.1  chris 
     10  1.1  chris #include <machine/bus.h>
     11  1.1  chris 
     12  1.1  chris struct rsbus_softc {
     13  1.1  chris 	struct device sc_dev;
     14  1.1  chris 	bus_space_tag_t sc_iot;
     15  1.1  chris 	bus_space_handle_t sc_ioh;
     16  1.1  chris };
     17  1.1  chris 
     18  1.1  chris struct rsbus_attach_args {
     19  1.1  chris 	bus_space_tag_t		sa_iot;		/* Bus tag */
     20  1.1  chris 	bus_addr_t		sa_addr;	/* i/o address  */
     21  1.1  chris 	bus_size_t		sa_size;
     22  1.1  chris 	int			sa_intr;
     23  1.1  chris };
     24  1.1  chris 
     25  1.1  chris #endif /* _RSBUS_H_ */
     26