Module Name: src
Committed By: skrll
Date: Tue Apr 7 07:11:58 UTC 2015
Modified Files:
src/sys/dev/usb [nick-nhusb]: xhcivar.h
Log Message:
Some quirk flags. From Takahiro HAYASHI.
To generate a diff of this commit:
cvs rdiff -u -r1.4.12.3 -r1.4.12.4 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.3 src/sys/dev/usb/xhcivar.h:1.4.12.4
--- src/sys/dev/usb/xhcivar.h:1.4.12.3 Thu Mar 19 17:26:43 2015
+++ src/sys/dev/usb/xhcivar.h Tue Apr 7 07:11:58 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: xhcivar.h,v 1.4.12.3 2015/03/19 17:26:43 skrll Exp $ */
+/* $NetBSD: xhcivar.h,v 1.4.12.4 2015/04/07 07:11:58 skrll Exp $ */
/*
* Copyright (c) 2013 Jonathan A. Kollasch
@@ -109,6 +109,10 @@ struct xhci_softc {
bool sc_ac64;
bool sc_dying;
+
+ int sc_quirks;
+#define XHCI_QUIRK_FORCE_INTR __BIT(0) /* force interrupt reading */
+#define XHCI_QUIRK_INTEL __BIT(1) /* Intel xhci chip */
};
int xhci_init(struct xhci_softc *);