From 54b047d40c479796fd823b3a3632204a84fb842a Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Fri, 29 Mar 2019 20:21:39 -0700 Subject: [PATCH] kernel - Fix panic in uhci attach error path (2) * Add missing header file for last commit. --- sys/bus/u4b/controller/uhci.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/bus/u4b/controller/uhci.h b/sys/bus/u4b/controller/uhci.h index e73b671645..e971b760f4 100644 --- a/sys/bus/u4b/controller/uhci.h +++ b/sys/bus/u4b/controller/uhci.h @@ -233,6 +233,7 @@ typedef struct uhci_softc { uint8_t sc_addr; /* device address */ uint8_t sc_conf; /* device configuration */ + uint8_t sc_didinit; /* uchi_init() called */ uint8_t sc_isreset; /* bits set if a root hub is reset */ uint8_t sc_isresumed; /* bits set if a port was resumed */ uint8_t sc_hub_idata[1]; -- 2.41.0