[Pcsclite-cvs-commit] r2356 - trunk/Drivers/ccid/src

Ludovic Rousseau rousseau at alioth.debian.org
Fri Jan 26 17:43:45 CET 2007


Author: rousseau
Date: 2007-01-26 17:43:45 +0100 (Fri, 26 Jan 2007)
New Revision: 2356

Modified:
   trunk/Drivers/ccid/src/ccid.h
   trunk/Drivers/ccid/src/ccid_usb.c
Log:
move #define O2MICRO_OZ776_PATCH from ccid_usb.c to ccid.h so we can use
it in other .c files


Modified: trunk/Drivers/ccid/src/ccid.h
===================================================================
--- trunk/Drivers/ccid/src/ccid.h	2007-01-24 13:21:39 UTC (rev 2355)
+++ trunk/Drivers/ccid/src/ccid.h	2007-01-26 16:43:45 UTC (rev 2356)
@@ -138,6 +138,13 @@
 #define CHERRYXX44	0x046a0010
 #define CL1356D		0x0B810200
 
+/*
+ * The O2Micro OZ776S reader has a wrong USB descriptor
+ * The extra[] field is associated with the last endpoint instead of the
+ * main USB descriptor
+ */
+#define O2MICRO_OZ776_PATCH
+
 /* Escape sequence codes */
 #define ESC_GEMPC_SET_ISO_MODE		1
 #define ESC_GEMPC_SET_APDU_MODE		2

Modified: trunk/Drivers/ccid/src/ccid_usb.c
===================================================================
--- trunk/Drivers/ccid/src/ccid_usb.c	2007-01-24 13:21:39 UTC (rev 2355)
+++ trunk/Drivers/ccid/src/ccid_usb.c	2007-01-26 16:43:45 UTC (rev 2356)
@@ -53,13 +53,6 @@
  * Manufacturer and Product ID are also used to identify the device */
 #define ALLOW_PROPRIETARY_CLASS
 
-/*
- * The O2Micro OZ776S reader has a wrong USB descriptor
- * The extra[] field is associated with the last endpoint instead of the
- * main USB descriptor
- */
-#define O2MICRO_OZ776_PATCH
-
 #define BUS_DEVICE_STRSIZE 32
 
 typedef struct




More information about the Pcsclite-cvs-commit mailing list