Fix xHCI event consumption
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include "src/lib/layout.h"
|
||||
#include "src/lib/memory.h"
|
||||
#include "src/lib/util.h"
|
||||
#include <stdint.h>
|
||||
|
||||
#define XHCI_PCI_CLASS 0x0C
|
||||
#define XHCI_PCI_SUBCLASS 0x03
|
||||
@@ -619,6 +620,7 @@ uint16_t xhci_read_endpoint(xhci_slot_t slot, xhci_endpoint_t endpoint, uint16_t
|
||||
}
|
||||
|
||||
RING_ADVANCE(evt);
|
||||
intr_regs->erdp = (uint64_t)VIRT_TO_PHYS(&evt_r[evt_r_i]);
|
||||
}
|
||||
|
||||
return transferred;
|
||||
|
||||
Reference in New Issue
Block a user