Deleted Added
full compact
usb_quirk.c (225469) usb_quirk.c (225777)
1/* $FreeBSD: head/sys/dev/usb/quirk/usb_quirk.c 225469 2011-09-10 15:55:36Z hselasky $ */
1/* $FreeBSD: head/sys/dev/usb/quirk/usb_quirk.c 225777 2011-09-27 07:06:02Z hselasky $ */
2/*-
3 * Copyright (c) 1998 The NetBSD Foundation, Inc. All rights reserved.
4 * Copyright (c) 1998 Lennart Augustsson. All rights reserved.
5 * Copyright (c) 2008 Hans Petter Selasky. All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
9 * are met:

--- 442 unchanged lines hidden (view full) ---

452 USB_QUIRK(ROLAND, PC300, 0x0000, 0xffff, UQ_AU_VENDOR_CLASS),
453 USB_QUIRK(ROLAND, SK500, 0x0000, 0xffff, UQ_AU_VENDOR_CLASS),
454 USB_QUIRK(ROLAND, SCD70, 0x0000, 0xffff, UQ_AU_VENDOR_CLASS),
455 USB_QUIRK(ROLAND, UM550, 0x0000, 0xffff, UQ_AU_VENDOR_CLASS),
456 USB_QUIRK(ROLAND, SD20, 0x0000, 0xffff, UQ_AU_VENDOR_CLASS),
457 USB_QUIRK(ROLAND, SD80, 0x0000, 0xffff, UQ_AU_VENDOR_CLASS),
458 USB_QUIRK(ROLAND, UA700, 0x0000, 0xffff, UQ_AU_VENDOR_CLASS),
459 USB_QUIRK(MEDELI, DD305, 0x0000, 0xffff, UQ_SINGLE_CMD_MIDI, UQ_MATCH_VENDOR_ONLY),
2/*-
3 * Copyright (c) 1998 The NetBSD Foundation, Inc. All rights reserved.
4 * Copyright (c) 1998 Lennart Augustsson. All rights reserved.
5 * Copyright (c) 2008 Hans Petter Selasky. All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
9 * are met:

--- 442 unchanged lines hidden (view full) ---

452 USB_QUIRK(ROLAND, PC300, 0x0000, 0xffff, UQ_AU_VENDOR_CLASS),
453 USB_QUIRK(ROLAND, SK500, 0x0000, 0xffff, UQ_AU_VENDOR_CLASS),
454 USB_QUIRK(ROLAND, SCD70, 0x0000, 0xffff, UQ_AU_VENDOR_CLASS),
455 USB_QUIRK(ROLAND, UM550, 0x0000, 0xffff, UQ_AU_VENDOR_CLASS),
456 USB_QUIRK(ROLAND, SD20, 0x0000, 0xffff, UQ_AU_VENDOR_CLASS),
457 USB_QUIRK(ROLAND, SD80, 0x0000, 0xffff, UQ_AU_VENDOR_CLASS),
458 USB_QUIRK(ROLAND, UA700, 0x0000, 0xffff, UQ_AU_VENDOR_CLASS),
459 USB_QUIRK(MEDELI, DD305, 0x0000, 0xffff, UQ_SINGLE_CMD_MIDI, UQ_MATCH_VENDOR_ONLY),
460
461 /*
462 * Quirks for manufacturers which USB devices does not respond
463 * after issuing non-supported commands:
464 */
465 USB_QUIRK(FEIYA, DUMMY, 0x0000, 0xffff, UQ_MSC_NO_SYNC_CACHE, UQ_MATCH_VENDOR_ONLY),
466 USB_QUIRK(REALTEK, DUMMY, 0x0000, 0xffff, UQ_MSC_NO_SYNC_CACHE, UQ_MATCH_VENDOR_ONLY),
460};
461#undef USB_QUIRK_VP
462#undef USB_QUIRK
463
464static const char *usb_quirk_str[USB_QUIRK_MAX] = {
465 [UQ_NONE] = "UQ_NONE",
466 [UQ_MATCH_VENDOR_ONLY] = "UQ_MATCH_VENDOR_ONLY",
467 [UQ_AUDIO_SWAP_LR] = "UQ_AUDIO_SWAP_LR",

--- 337 unchanged lines hidden ---
467};
468#undef USB_QUIRK_VP
469#undef USB_QUIRK
470
471static const char *usb_quirk_str[USB_QUIRK_MAX] = {
472 [UQ_NONE] = "UQ_NONE",
473 [UQ_MATCH_VENDOR_ONLY] = "UQ_MATCH_VENDOR_ONLY",
474 [UQ_AUDIO_SWAP_LR] = "UQ_AUDIO_SWAP_LR",

--- 337 unchanged lines hidden ---