]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - drivers/usb/storage/unusual_uas.h
uas: replace WARN_ON_ONCE() with lockdep_assert_held()
[mirror_ubuntu-artful-kernel.git] / drivers / usb / storage / unusual_uas.h
CommitLineData
79b4c061
HG
1/* Driver for USB Attached SCSI devices - Unusual Devices File
2 *
3 * (c) 2013 Hans de Goede <hdegoede@redhat.com>
4 *
5 * Based on the same file for the usb-storage driver, which is:
6 * (c) 2000-2002 Matthew Dharm (mdharm-usb@one-eyed-alien.net)
7 * (c) 2000 Adam J. Richter (adam@yggdrasil.com), Yggdrasil Computing, Inc.
8 *
9 * This program is free software; you can redistribute it and/or modify it
10 * under the terms of the GNU General Public License as published by the
11 * Free Software Foundation; either version 2, or (at your option) any
12 * later version.
13 *
14 * This program is distributed in the hope that it will be useful, but
15 * WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License along
20 * with this program; if not, write to the Free Software Foundation, Inc.,
21 * 675 Mass Ave, Cambridge, MA 02139, USA.
22 */
23
24/*
25 * IMPORTANT NOTE: This file must be included in another file which defines
26 * a UNUSUAL_DEV macro before this file is included.
27 */
28
29/*
30 * If you edit this file, please try to keep it sorted first by VendorID,
31 * then by ProductID.
32 *
33 * If you want to add an entry for this file, be sure to include the
34 * following information:
35 * - a patch that adds the entry for your device, including your
36 * email address right above the entry (plus maybe a brief
37 * explanation of the reason for the entry),
38 * - lsusb -v output for the device
39 * Send your submission to Hans de Goede <hdegoede@redhat.com>
40 * and don't forget to CC: the USB development list <linux-usb@vger.kernel.org>
41 */
42
43/*
44 * This is an example entry for the US_FL_IGNORE_UAS flag. Once we have an
45 * actual entry using US_FL_IGNORE_UAS this entry should be removed.
46 *
47 * UNUSUAL_DEV( 0xabcd, 0x1234, 0x0100, 0x0100,
48 * "Example",
49 * "Storage with broken UAS",
50 * USB_SC_DEVICE, USB_PR_DEVICE, NULL,
51 * US_FL_IGNORE_UAS),
52 */