#include "../port/error.h"
#include "../port/usb.h"
#include "usbehci.h"
-//#include "uncached.h"
#define WINTARG(ctl) (((ctl) >> 4) & 017)
#define WINATTR(ctl) (((ctl) >> 8) & 0377)
capio->parms & 0x40 ? "explicit" : "automatic",
capio->parms & 0x10 ? "" : "no ", hp->nports);
+ ctlr->tdalloc = ucallocalign;
+ ctlr->dmaalloc = ucalloc;
+ ctlr->dmafree = ucfree;
+
ehcireset(ctlr);
ehcimeminit(ctlr);
ehcilinkage(hp);
hp->shutdown = shutdown;
hp->debug = setdebug;
+
+ intrenable(Irqlo, hp->irq, hp->interrupt, hp, hp->type);
+
return 0;
}