git: f52783fcf5cc - main - Fix USB debug print after 8fc2a3c41791b205a107dc2bec16ac7514a57958 .

Hans Petter Selasky hselasky at FreeBSD.org
Sat Jul 10 19:32:05 UTC 2021


The branch main has been updated by hselasky:

URL: https://cgit.FreeBSD.org/src/commit/?id=f52783fcf5cc60734121d061beef0d4ea47b224a

commit f52783fcf5cc60734121d061beef0d4ea47b224a
Author:     Hans Petter Selasky <hselasky at FreeBSD.org>
AuthorDate: 2021-07-10 19:30:29 +0000
Commit:     Hans Petter Selasky <hselasky at FreeBSD.org>
CommitDate: 2021-07-10 19:31:28 +0000

    Fix USB debug print after 8fc2a3c41791b205a107dc2bec16ac7514a57958 .
    
    MFC after:      1 week
    Sponsored by:   NVIDIA Networking
---
 sys/dev/usb/controller/xhci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/usb/controller/xhci.c b/sys/dev/usb/controller/xhci.c
index 93468c5d9333..690091fcef2f 100644
--- a/sys/dev/usb/controller/xhci.c
+++ b/sys/dev/usb/controller/xhci.c
@@ -2078,7 +2078,7 @@ xhci_setup_generic_chain(struct usb_xfer *xfer)
 
 		x = XREAD4(temp.sc, runt, XHCI_MFINDEX);
 
-		DPRINTF("MFINDEX=0x%08x IST=0x%x\n", x, sc->sc_ist);
+		DPRINTF("MFINDEX=0x%08x IST=0x%x\n", x, temp.sc->sc_ist);
 
 		switch (usbd_get_speed(xfer->xroot->udev)) {
 		case USB_SPEED_FULL:


More information about the dev-commits-src-all mailing list