1 /* $NetBSD: rsbus.h,v 1.3 2011/07/19 15:59:52 dyoung 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 #include <sys/bus.h> 10 11 struct rsbus_softc { 12 struct device sc_dev; 13 bus_space_tag_t sc_iot; 14 bus_space_handle_t sc_ioh; 15 }; 16 17 struct rsbus_attach_args { 18 bus_space_tag_t sa_iot; /* Bus tag */ 19 bus_addr_t sa_addr; /* i/o address */ 20 bus_size_t sa_size; 21 int sa_intr; 22 }; 23 24 #endif /* _RSBUS_H_ */ 25