Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/usb Adda quirk for hubs that do not report bus power...



details:   https://anonhg.NetBSD.org/src/rev/94d0b08332e3
branches:  trunk
changeset: 498441:94d0b08332e3
user:      augustss <augustss%NetBSD.org@localhost>
date:      Tue Oct 24 14:56:09 2000 +0000

description:
Adda quirk for hubs that do not report bus powered status in a normal way.

diffstat:

 sys/dev/usb/usb_quirks.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 02c482d0c759 -r 94d0b08332e3 sys/dev/usb/usb_quirks.h
--- a/sys/dev/usb/usb_quirks.h  Tue Oct 24 14:53:59 2000 +0000
+++ b/sys/dev/usb/usb_quirks.h  Tue Oct 24 14:56:09 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: usb_quirks.h,v 1.14 2000/10/22 08:20:10 explorer Exp $ */
+/*     $NetBSD: usb_quirks.h,v 1.15 2000/10/24 14:56:09 augustss Exp $ */
 /*     $FreeBSD: src/sys/dev/usb/usb_quirks.h,v 1.9 1999/11/12 23:31:03 n_hibma Exp $  */
 
 /*
@@ -50,6 +50,7 @@
 #define UQ_SPUR_BUT_UP 0x0080  /* spurious mouse button up events */
 #define UQ_NO_XU       0x0100  /* audio device has broken extension unit */
 #define UQ_ASSUME_CM_OVER_DATA 0x0200 /* modem device breaks on cm over data */
+#define UQ_POWER_CLAIM 0x0400  /* hub lies about power status */
 };
 
 extern struct usbd_quirks usbd_no_quirk;



Home | Main Index | Thread Index | Old Index