/*
* Machine-dependent structures for autoconfiguration
*/
struct aubus_attach_args {
const char *aa_name; /* device name */
bus_space_tag_t aa_st; /* the space tag to use */
bus_addr_t aa_addrs[3]; /* system bus address(es) */
int aa_irq[2]; /* IRQ index(s) */
bus_dma_tag_t aa_dt; /* the dma tag to use */
};
#define aa_addr aa_addrs[0]
/* order of attach addresses for aumac register addresses */
#define AA_MAC_BASE 0
#define AA_MAC_ENABLE 1
#define AA_MAC_DMA_BASE 2
extern bus_space_tag_t aubus_st; /* XXX: for aubus.c */