1 /* $NetBSD: rsbus.h,v 1.2 2005/12/11 12:16:05 christos Exp $ */ 2 3 #ifndef _RSBUS_H_ 4 #define _RSBUS_H_ 5 6 #include <sys/conf.h> 7 #include <sys/device.h> 8 #include <sys/queue.h> 9 10 #include <machine/bus.h> 11 12 struct rsbus_softc { 13 struct device sc_dev; 14 bus_space_tag_t sc_iot; 15 bus_space_handle_t sc_ioh; 16 }; 17 18 struct rsbus_attach_args { 19 bus_space_tag_t sa_iot; /* Bus tag */ 20 bus_addr_t sa_addr; /* i/o address */ 21 bus_size_t sa_size; 22 int sa_intr; 23 }; 24 25 #endif /* _RSBUS_H_ */ 26