mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Set default cycle state in case of early interrupts.
MFC after: 3 days
This commit is contained in:
parent
1628e293fd
commit
a4a51f054d
1 changed files with 4 additions and 0 deletions
|
|
@ -614,6 +614,10 @@ xhci_init(struct xhci_softc *sc, device_t self)
|
|||
sc->sc_bus.devices = sc->sc_devices;
|
||||
sc->sc_bus.devices_max = XHCI_MAX_DEVICES;
|
||||
|
||||
/* set default cycle state in case of early interrupts */
|
||||
sc->sc_event_ccs = 1;
|
||||
sc->sc_command_ccs = 1;
|
||||
|
||||
/* setup command queue mutex and condition varible */
|
||||
cv_init(&sc->sc_cmd_cv, "CMDQ");
|
||||
sx_init(&sc->sc_cmd_sx, "CMDQ lock");
|
||||
|
|
|
|||
Loading…
Reference in a new issue