PERFORCE change 130458 for review

Kip Macy kmacy at FreeBSD.org
Fri Dec 7 21:19:51 PST 2007


http://perforce.freebsd.org/chv.cgi?CH=130458

Change 130458 by kmacy at kmacy:storage:toestack on 2007/12/08 05:18:53

	add condvar to sleep on rather than using tsleep

Affected files ...

.. //depot/projects/toestack/sys/dev/cxgb/cxgb_adapter.h#11 edit

Differences ...

==== //depot/projects/toestack/sys/dev/cxgb/cxgb_adapter.h#11 (text+ko) ====

@@ -42,6 +42,7 @@
 #include <sys/socket.h>
 #include <sys/sockio.h>
 #include <sys/linux_compat.h>
+#include <sys/condvar.h>
 
 #include <net/ethernet.h>
 #include <net/if.h>
@@ -322,6 +323,8 @@
 	int                     idx; /* qset # */
 	int                     qs_cpuid;
 	int                     qs_flags;
+	struct cv		qs_cv;
+	struct mtx		qs_mtx;
 #define QS_NAME_LEN 32
 	char                    namebuf[QS_NAME_LEN];
 };


More information about the p4-projects mailing list