Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Add a comment about a non-obvious use of a #define.
details: https://anonhg.NetBSD.org/src/rev/a3bc1f912476
branches: trunk
changeset: 485171:a3bc1f912476
user: augustss <augustss%NetBSD.org@localhost>
date: Fri Apr 21 15:38:55 2000 +0000
description:
Add a comment about a non-obvious use of a #define.
diffstat:
sys/dev/usb/ohci.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 99e50d2a9375 -r a3bc1f912476 sys/dev/usb/ohci.c
--- a/sys/dev/usb/ohci.c Fri Apr 21 15:37:50 2000 +0000
+++ b/sys/dev/usb/ohci.c Fri Apr 21 15:38:55 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ohci.c,v 1.85 2000/04/01 09:27:35 augustss Exp $ */
+/* $NetBSD: ohci.c,v 1.86 2000/04/21 15:38:55 augustss Exp $ */
/* $FreeBSD: src/sys/dev/usb/ohci.c,v 1.22 1999/11/17 22:33:40 n_hibma Exp $ */
/*
@@ -2352,6 +2352,7 @@
OWRITE4(sc, port, UPS_OVERCURRENT_INDICATOR);
break;
case UHF_PORT_POWER:
+ /* Yes, writing to the LOW_SPEED bit clears power. */
OWRITE4(sc, port, UPS_LOW_SPEED);
break;
case UHF_C_PORT_CONNECTION:
Home |
Main Index |
Thread Index |
Old Index