Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Dec 2007 05:19:50 GMT
From:      Kip Macy <kmacy@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 130458 for review
Message-ID:  <200712080519.lB85Josb045998@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=130458

Change 130458 by kmacy@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];
 };



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712080519.lB85Josb045998>