usb_quirk.h (190749) | usb_quirk.h (194230) |
---|---|
1/* $FreeBSD: head/sys/dev/usb/quirk/usb_quirk.h 190749 2009-04-05 21:24:15Z piso $ */ | 1/* $FreeBSD: head/sys/dev/usb/quirk/usb_quirk.h 194230 2009-06-15 01:09:19Z thompsa $ */ |
2/*- 3 * Copyright (c) 2008 Hans Petter Selasky. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. --- 9 unchanged lines hidden (view full) --- 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 | 2/*- 3 * Copyright (c) 2008 Hans Petter Selasky. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. --- 9 unchanged lines hidden (view full) --- 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 |
27#ifndef _USB2_QUIRK_H_ 28#define _USB2_QUIRK_H_ | 27#ifndef _USB_QUIRK_H_ 28#define _USB_QUIRK_H_ |
29 30/* NOTE: UQ_NONE is not a valid quirk */ 31enum { /* keep in sync with usb_quirk_str table */ 32 UQ_NONE, 33 UQ_AUDIO_SWAP_LR, /* left and right sound channels are swapped */ 34 UQ_AU_INP_ASYNC, /* input is async despite claim of adaptive */ 35 UQ_AU_NO_FRAC, /* don't adjust for fractional samples */ 36 UQ_AU_NO_XU, /* audio device has broken extension unit */ --- 14 unchanged lines hidden (view full) --- 51 UQ_CFG_INDEX_1, /* select configuration index 1 by default */ 52 UQ_CFG_INDEX_2, /* select configuration index 2 by default */ 53 UQ_CFG_INDEX_3, /* select configuration index 3 by default */ 54 UQ_CFG_INDEX_4, /* select configuration index 4 by default */ 55 UQ_CFG_INDEX_0, /* select configuration index 0 by default */ 56 USB_QUIRK_MAX 57}; 58 | 29 30/* NOTE: UQ_NONE is not a valid quirk */ 31enum { /* keep in sync with usb_quirk_str table */ 32 UQ_NONE, 33 UQ_AUDIO_SWAP_LR, /* left and right sound channels are swapped */ 34 UQ_AU_INP_ASYNC, /* input is async despite claim of adaptive */ 35 UQ_AU_NO_FRAC, /* don't adjust for fractional samples */ 36 UQ_AU_NO_XU, /* audio device has broken extension unit */ --- 14 unchanged lines hidden (view full) --- 51 UQ_CFG_INDEX_1, /* select configuration index 1 by default */ 52 UQ_CFG_INDEX_2, /* select configuration index 2 by default */ 53 UQ_CFG_INDEX_3, /* select configuration index 3 by default */ 54 UQ_CFG_INDEX_4, /* select configuration index 4 by default */ 55 UQ_CFG_INDEX_0, /* select configuration index 0 by default */ 56 USB_QUIRK_MAX 57}; 58 |
59#endif /* _USB2_QUIRK_H_ */ | 59#endif /* _USB_QUIRK_H_ */ |