unusual_uas.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. * IMPORTANT NOTE: This file must be included in another file which defines
  25. * a UNUSUAL_DEV macro before this file is included.
  26. */
  27. /*
  28. * If you edit this file, please try to keep it sorted first by VendorID,
  29. * then by ProductID.
  30. *
  31. * If you want to add an entry for this file, be sure to include the
  32. * following information:
  33. * - a patch that adds the entry for your device, including your
  34. * email address right above the entry (plus maybe a brief
  35. * explanation of the reason for the entry),
  36. * - lsusb -v output for the device
  37. * Send your submission to Hans de Goede <hdegoede@redhat.com>
  38. * and don't forget to CC: the USB development list <linux-usb@vger.kernel.org>
  39. */
  40. /*
  41. * This is an example entry for the US_FL_IGNORE_UAS flag. Once we have an
  42. * actual entry using US_FL_IGNORE_UAS this entry should be removed.
  43. *
  44. * UNUSUAL_DEV( 0xabcd, 0x1234, 0x0100, 0x0100,
  45. * "Example",
  46. * "Storage with broken UAS",
  47. * USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  48. * US_FL_IGNORE_UAS),
  49. */