diff options
author | Josef Karthauser <joe@FreeBSD.org> | 2002-04-01 13:21:43 +0000 |
---|---|---|
committer | Josef Karthauser <joe@FreeBSD.org> | 2002-04-01 13:21:43 +0000 |
commit | a5450efd66a747acc11fd80de72a7f805be5f75c (patch) | |
tree | 819699863dc14e7ed65e7e0a4164d2b7040acf03 /sys/dev/usb/ohcireg.h | |
parent | 6688a3fdbec8a6f26466db5d8c76ac16624935c7 (diff) | |
download | src-a5450efd66a747acc11fd80de72a7f805be5f75c.tar.gz src-a5450efd66a747acc11fd80de72a7f805be5f75c.zip |
Merge from NetBSD:
ohci.c (1.85), ohcireg.h (1.17):
----------------------------
date: 2000/04/01 09:27:35; author: augustss;
Add a delay before reading the number of ports from the controller to
avoid getting 0 from it.
----------------------------
Notes
Notes:
svn path=/head/; revision=93530
Diffstat (limited to 'sys/dev/usb/ohcireg.h')
-rw-r--r-- | sys/dev/usb/ohcireg.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/usb/ohcireg.h b/sys/dev/usb/ohcireg.h index dfee37cb8166..f620a9b36f46 100644 --- a/sys/dev/usb/ohcireg.h +++ b/sys/dev/usb/ohcireg.h @@ -1,4 +1,4 @@ -/* $NetBSD: ohcireg.h,v 1.16 2000/03/29 01:46:27 augustss Exp $ */ +/* $NetBSD: ohcireg.h,v 1.17 2000/04/01 09:27:35 augustss Exp $ */ /* $FreeBSD$ */ @@ -240,4 +240,8 @@ typedef struct { #define OHCI_CC_BUFFER_UNDERRUN 13 #define OHCI_CC_NOT_ACCESSED 15 +/* Some delay needed when changing certain registers. */ +#define OHCI_ENABLE_POWER_DELAY 5 +#define OHCI_READ_DESC_DELAY 5 + #endif /* _DEV_PCI_OHCIREG_H_ */ |