[Pcsclite-cvs-commit] r4355 - /trunk/Drivers/ccid/src/ccid.h

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Fri Jul 31 08:42:49 UTC 2009


Author: rousseau
Date: Fri Jul 31 08:42:49 2009
New Revision: 4355

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=4355
Log:
add GET_VENDOR macro

Modified:
    trunk/Drivers/ccid/src/ccid.h

Modified: trunk/Drivers/ccid/src/ccid.h
URL: http://svn.debian.org/wsvn/pcsclite/trunk/Drivers/ccid/src/ccid.h?rev=4355&op=diff
==============================================================================
--- trunk/Drivers/ccid/src/ccid.h (original)
+++ trunk/Drivers/ccid/src/ccid.h Fri Jul 31 08:42:49 2009
@@ -181,6 +181,9 @@
 #define DELLSCRK    0x413C2101
 #define KOBIL_TRIBANK	0x0D463010
 
+#define VENDOR_GEMALTO 0x08E6
+#define GET_VENDOR(readerID) ((readerID >> 16) & 0xFFFF)
+
 /*
  * The O2Micro OZ776S reader has a wrong USB descriptor
  * The extra[] field is associated with the last endpoint instead of the




More information about the Pcsclite-cvs-commit mailing list