summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/ohcireg.h
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2002-01-21 04:24:33 +0000
committerjoe <joe@FreeBSD.org>2002-01-21 04:24:33 +0000
commit1c0dfadb293e923e1beded67d941a05f9c04a23e (patch)
treecf8352a1ca37a9479dcc5abf20b185f1f5633674 /sys/dev/usb/ohcireg.h
parentac16f826307f3faf58e1b1b7b5bd43fd267e1ec8 (diff)
downloadFreeBSD-src-1c0dfadb293e923e1beded67d941a05f9c04a23e.zip
FreeBSD-src-1c0dfadb293e923e1beded67d941a05f9c04a23e.tar.gz
Merge from NetBSD:
ohci.c: -r1.68 ohcireg.h: -r1.13 date: 2000/01/31 20:17:25; author: augustss; state: Exp; Fiddle with over-current protect when turning on port power to make things work for some OHCI controllers.
Diffstat (limited to 'sys/dev/usb/ohcireg.h')
-rw-r--r--sys/dev/usb/ohcireg.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/usb/ohcireg.h b/sys/dev/usb/ohcireg.h
index 053d7f3..a9f4f81 100644
--- a/sys/dev/usb/ohcireg.h
+++ b/sys/dev/usb/ohcireg.h
@@ -1,4 +1,4 @@
-/* $NetBSD: ohcireg.h,v 1.11 2000/01/16 10:35:24 augustss Exp $ */
+/* $NetBSD: ohcireg.h,v 1.13 2000/01/31 20:17:26 augustss Exp $ */
/* $FreeBSD$ */
@@ -110,6 +110,9 @@
#define OHCI_GET_NDP(s) ((s) & 0xff)
#define OHCI_PSM 0x0100 /* Power Switching Mode */
#define OHCI_NPS 0x0200 /* No Power Switching */
+#define OHCI_DT 0x0400 /* Device Type */
+#define OHCI_OCPM 0x0800 /* Overcurrent Protection Mode */
+#define OHCI_NOCP 0x1000 /* No Overcurrent Protection */
#define OHCI_GET_POTPGT(s) ((s) >> 24)
#define OHCI_RH_DESCRIPTOR_B 0x4c
#define OHCI_RH_STATUS 0x50
OpenPOWER on IntegriCloud