Skip to content

Commit

Permalink
UHCI async packet support
Browse files Browse the repository at this point in the history
  • Loading branch information
Cacodemon345 committed Dec 4, 2024
1 parent a21ad4d commit b8e9169
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/usb/usb_uhci_bochs.c
Original file line number Diff line number Diff line change
Expand Up @@ -683,8 +683,8 @@ usb_uhci_do_transfer(bx_uhci_core_t *hub, uint32_t address, struct TD *td)
#if HANDLE_TOGGLE_CONTROL
p->packet.toggle = (td->dword2 & (1 << 19)) > 0;
#endif
// p->packet.complete_cb = uhci_event_handler;
// p->packet.complete_dev = this;
p->packet.complete_cb = usb_uhci_event_handler;
p->packet.complete_dev = hub;
switch (pid) {
case USB_TOKEN_OUT:
case USB_TOKEN_SETUP:
Expand Down

0 comments on commit b8e9169

Please sign in to comment.