X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FModules%2FUSB%2FUHCI%2Fuhci.h;h=6eff0ebd930206b626744ad412594a0a667438f6;hb=53c786d33db4627ae764299a62b1769eaed137c5;hp=090b6fcaa416cf3d793b30b1e38b5d6331ee9350;hpb=fa8a440a927e1a31c5cd1a82df05a7052da8c536;p=tpg%2Facess2.git diff --git a/KernelLand/Modules/USB/UHCI/uhci.h b/KernelLand/Modules/USB/UHCI/uhci.h index 090b6fca..6eff0ebd 100644 --- a/KernelLand/Modules/USB/UHCI/uhci.h +++ b/KernelLand/Modules/USB/UHCI/uhci.h @@ -24,6 +24,17 @@ struct sUHCI_ExtraTDInfo void *CallbackPtr; }; +#define TD_CTL_IOC (1 << 24) + +#define TD_CTL_ACTIVE (1 << 23) +#define TD_CTL_STALLED (1 << 22) +#define TD_CTL_DATABUFERR (1 << 21) +#define TD_CTL_BABBLE (1 << 20) +#define TD_CTL_NAK (1 << 19) +#define TD_CTL_CRCERR (1 << 18) +#define TD_CTL_BITSTUFF (1 << 17) +#define TD_CTL_RESERVED (1 << 16) + struct sUHCI_TD { /** @@ -165,8 +176,9 @@ struct sUHCI_Controller tUSBHub *RootHub; /** + * \brief Load in bytes on each interrupt queue */ -// int FrameLoads[1024]; + int InterruptLoad[128]; tPAddr PhysTDQHPage; struct