speedtch usbatm.h,1.22,1.23

Duncan Sands duncan at infradead.org
Thu Nov 3 12:39:14 EST 2005


Update of /home/cvs/speedtch
In directory phoenix.infradead.org:/tmp/cvs-serv29169

Modified Files:
	usbatm.h 
Log Message:
Make VERBOSE_DEBUG turn on DEBUG.  Add variable device_disconnected, for use
later, i.e. I couldn't be bothered breaking it out into a separate commit.


Index: usbatm.h
===================================================================
RCS file: /home/cvs/speedtch/usbatm.h,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- usbatm.h	30 Sep 2005 09:56:51 -0000	1.22
+++ usbatm.h	3 Nov 2005 17:39:11 -0000	1.23
@@ -41,7 +41,7 @@
 #define VERBOSE_DEBUG
 */
 
-#if !defined (DEBUG) && defined (CONFIG_USB_DEBUG)
+#if !defined (DEBUG) && (defined (CONFIG_USB_DEBUG) || defined (VERBOSE_DEBUG))
 #	define DEBUG
 #endif
 
@@ -174,6 +174,7 @@
 
 	struct kref refcount;
 	struct semaphore serialize;
+	int device_disconnected;
 
 	/* heavy init */
 	int thread_pid;




More information about the Usbatm-commits mailing list