~ubuntu-branches/ubuntu/trusty/argyll/trusty-proposed

« back to all changes in this revision

Viewing changes to usb/driver/lusb_defdi_guids.h

  • Committer: Package Import Robot
  • Author(s): Artur Rona
  • Date: 2014-02-12 00:35:39 UTC
  • mfrom: (13.1.24 sid)
  • Revision ID: package-import@ubuntu.com-20140212003539-24tautzlitsiz61w
Tags: 1.5.1-5ubuntu1
* Merge from Debian unstable. (LP: #1275572) Remaining changes:
  - debian/control:
    + Build-depend on libtiff-dev rather than libtiff4-dev.
  - debian/control, debian/patches/06_fix_udev_rule.patch:
    + Fix udev rules to actually work; ENV{ACL_MANAGE} has
      stopped working ages ago, and with logind it's now the
      "uaccess" tag. Dropping also consolekit from Recommends.
  - debian/patches/drop-usb-db.patch:
    + Use hwdb builtin, instead of the obsolete usb-db
      in the udev rules.
* debian/patches/05_ftbfs-underlinkage.diff:
  - Dropped change, no needed anymore.
* Refresh the patches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef __LUSB_DEFDI_GUIDS_
 
2
#define __LUSB_DEFDI_GUIDS_
 
3
 
 
4
#ifndef DEFINE_TO_STR
 
5
#define _DEFINE_TO_STR(x) #x
 
6
#define  DEFINE_TO_STR(x) _DEFINE_TO_STR(x)
 
7
#endif
 
8
 
 
9
#ifndef DEFINE_TO_STRW
 
10
#define _DEFINE_TO_STRW(x) L#x
 
11
#define  DEFINE_TO_STRW(x) _DEFINE_TO_STRW(x)
 
12
#endif
 
13
 
 
14
#define DEFINE_DEVICE_INTERFACE_GUID(BaseFieldName,BaseGuidName,L1,W1,W2,B1,B2,B3,B4,B5,B6,B7,B8)       \
 
15
        const GUID   BaseFieldName##Guid  = { L1, W1, W2, { B1, B2, B3, B4, B5, B6, B7, B8 } };                 \
 
16
        const CHAR*  BaseFieldName##GuidA = DEFINE_TO_STR(BaseGuidName);                                                                \
 
17
        const WCHAR* BaseFieldName##GuidW = DEFINE_TO_STRW(BaseGuidName)
 
18
 
 
19
#define _DefRawDeviceGuid {A5DCBF10-6530-11D2-901F-00C04FB951ED}
 
20
#define _DefLibusb0FilterGuid {F9F3FF14-AE21-48A0-8A25-8011A7A931D9}
 
21
#define _DefLibusb0DeviceGuid {20343A29-6DA1-4DB8-8A3C-16E774057BF5}
 
22
#define _DefLibusbKDeviceGuid {6C696275-7362-2D77-696E-33322D574446}
 
23
 
 
24
// USB Raw Device Interface GUID (DO NOT USE IN INF FILE)
 
25
DEFINE_DEVICE_INTERFACE_GUID(RawDevice, \
 
26
                             _DefRawDeviceGuid, \
 
27
                             0xA5DCBF10, 0x6530, 0x11D2, 0x90, 0x1F, 0x00, 0xC0, 0x4F, 0xB9, 0x51, 0xED);
 
28
 
 
29
// libusb0 Filter Device Interface GUID (DO NOT USE IN INF FILE)
 
30
DEFINE_DEVICE_INTERFACE_GUID(Libusb0Filter,
 
31
                             _DefLibusb0FilterGuid, \
 
32
                             0xF9F3FF14, 0xAE21, 0x48A0, 0x8A, 0x25, 0x80, 0x11, 0xA7, 0xA9, 0x31, 0xD9);
 
33
 
 
34
// libusb0 Default Device Interface GUID (DO NOT USE IN INF FILE)
 
35
DEFINE_DEVICE_INTERFACE_GUID(Libusb0Device,
 
36
                             _DefLibusb0DeviceGuid, \
 
37
                             0x20343A29, 0x6DA1, 0x4DB8, 0x8A, 0x3C, 0x16, 0xE7, 0x74, 0x05, 0x7B, 0xF5);
 
38
 
 
39
// libusbK Default Device Interface GUID (DO NOT USE IN INF FILE)
 
40
DEFINE_DEVICE_INTERFACE_GUID(LibusbKDevice,
 
41
                             _DefLibusbKDeviceGuid, \
 
42
                             0x6C696275, 0x7362, 0x2D77, 0x69, 0x6E, 0x33, 0x32, 0x2D, 0x57, 0x44, 0x46);
 
43
 
 
44
 
 
45
#endif