summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb_quirks.h
diff options
context:
space:
mode:
authorn_hibma <n_hibma@FreeBSD.org>1999-01-07 23:07:57 +0000
committern_hibma <n_hibma@FreeBSD.org>1999-01-07 23:07:57 +0000
commitf85edabd28f8c9ebaeed20a6bdb7ddef1ff1c098 (patch)
treec8f677155dd2322c9b2477c85e8f2959ef963429 /sys/dev/usb/usb_quirks.h
parentb118bd4907acdfd7a8cb3f83f50f0219e395b4a3 (diff)
downloadFreeBSD-src-f85edabd28f8c9ebaeed20a6bdb7ddef1ff1c098.zip
FreeBSD-src-f85edabd28f8c9ebaeed20a6bdb7ddef1ff1c098.tar.gz
Major synchronisation with NetBSD USB code
Diffstat (limited to 'sys/dev/usb/usb_quirks.h')
-rw-r--r--sys/dev/usb/usb_quirks.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/sys/dev/usb/usb_quirks.h b/sys/dev/usb/usb_quirks.h
index cc0cf09..07935d5 100644
--- a/sys/dev/usb/usb_quirks.h
+++ b/sys/dev/usb/usb_quirks.h
@@ -1,12 +1,13 @@
-/* $NetBSD: usb_quirks.h,v 1.1 1998/07/12 19:52:00 augustss Exp $ */
+/* $NetBSD: usb_quirks.h,v 1.5 1998/12/29 15:23:59 augustss Exp $ */
/* FreeBSD $Id$ */
/*
* Copyright (c) 1998 The NetBSD Foundation, Inc.
* All rights reserved.
*
- * Author: Lennart Augustsson <augustss@carlstedt.se>
- * Carlstedt Research & Technology
+ * This code is derived from software contributed to The NetBSD Foundation
+ * by Lennart Augustsson (augustss@carlstedt.se) at
+ * Carlstedt Research & Technology.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -39,11 +40,12 @@
struct usbd_quirks {
u_int32_t uq_flags; /* Device problems: */
-#define UQ_NO_SET_PROTO 0x01 /* cannot handle SET PROTOCOL */
+#define UQ_NO_SET_PROTO 0x01 /* cannot handle SET PROTOCOL. */
#define UQ_SWAP_UNICODE 0x02 /* has some Unicode strings swapped. */
#define UQ_HUB_POWER 0x04 /* does not respond correctly to get
device status; use get hub status. */
-#define UQ_NO_STRINGS 0x08 /* string descriptors are broken. */
+#define UQ_NO_STRINGS 0x08 /* string descriptors are broken. */
+#define UQ_BAD_ADC 0x10 /* bad audio spec version number. */
};
extern struct usbd_quirks usbd_no_quirk;
OpenPOWER on IntegriCloud