Module Name: src
Committed By: skrll
Date: Sun Apr 10 15:37:33 UTC 2016
Modified Files:
src/sys/dev/usb [nick-nhusb]: xhcivar.h
Log Message:
Fix xpipe->xp_pipe was xpipe->pipe.
>From Takahiro HAYASHI
To generate a diff of this commit:
cvs rdiff -u -r1.4.12.7 -r1.4.12.8 src/sys/dev/usb/xhcivar.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/usb/xhcivar.h
diff -u src/sys/dev/usb/xhcivar.h:1.4.12.7 src/sys/dev/usb/xhcivar.h:1.4.12.8
--- src/sys/dev/usb/xhcivar.h:1.4.12.7 Thu Oct 22 11:15:42 2015
+++ src/sys/dev/usb/xhcivar.h Sun Apr 10 15:37:33 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: xhcivar.h,v 1.4.12.7 2015/10/22 11:15:42 skrll Exp $ */
+/* $NetBSD: xhcivar.h,v 1.4.12.8 2016/04/10 15:37:33 skrll Exp $ */
/*
* Copyright (c) 2013 Jonathan A. Kollasch
@@ -42,7 +42,7 @@ struct xhci_xfer {
#define XHCI_BUS2SC(bus) ((bus)->ub_hcpriv)
#define XHCI_PIPE2SC(pipe) XHCI_BUS2SC((pipe)->up_dev->ud_bus)
#define XHCI_XFER2SC(xfer) XHCI_BUS2SC((xfer)->ux_bus)
-#define XHCI_XPIPE2SC(d) XHCI_BUS2SC((d)->pipe.up_dev->ud_bus)
+#define XHCI_XPIPE2SC(d) XHCI_BUS2SC((d)->xp_pipe.up_dev->ud_bus)
#define XHCI_XFER2XXFER(xfer) ((struct xhci_xfer *)(xfer))