struct amusbss_softc {
struct device sc_dev;
+// struct simplebus_softc sc_sbus;
bus_space_tag_t sc_iot;
void *sc_ih;
bus_dma_tag_t sc_dmat;
bus_size_t sc_ios_queue;
};
+/* XXX figure out what to do instead of this XXX */
+extern void simplebus_attach_node(struct device *, int);
+
/* core decl */
int amusbss_match(struct device *, void *, void *);
void amusbss_attach(struct device *, struct device *, void *);
rev = HREAD4(sc, USBSS_REVREG);
printf(": rev %d.%d\n", rev >> 4 &0xf, rev & 0xf);
+ //faa->fa_node = node;
+ //simplebus_attach(parent, &sc->sc_sbus.sc_dev, faa);
+
/* Walk FDT child nodes to attach ammusb devices, map DMA controllers */
for (node = OF_child(faa->fa_node); node > 0; node = OF_peer(node)) {
if (OF_is_compatible(node, "ti,am3359-cppi41")) {