From owner-freebsd-current@FreeBSD.ORG Tue Apr 15 15:12:44 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C58E106564A for ; Tue, 15 Apr 2008 15:12:44 +0000 (UTC) (envelope-from cokane@freebsd.org) Received: from QMTA05.westchester.pa.mail.comcast.net (qmta05.westchester.pa.mail.comcast.net [76.96.62.48]) by mx1.freebsd.org (Postfix) with ESMTP id CA5138FC1A for ; Tue, 15 Apr 2008 15:12:43 +0000 (UTC) (envelope-from cokane@freebsd.org) Received: from OMTA09.westchester.pa.mail.comcast.net ([76.96.62.20]) by QMTA05.westchester.pa.mail.comcast.net with comcast id Dr5C1Z00W0SCNGk5500x00; Tue, 15 Apr 2008 15:10:55 +0000 Received: from discordia ([24.60.135.75]) by OMTA09.westchester.pa.mail.comcast.net with comcast id DrBU1Z00D1dmTCQ3V00000; Tue, 15 Apr 2008 15:11:29 +0000 X-Authority-Analysis: v=1.0 c=1 a=TiCgF0Dk1HcA:10 a=HBIccKtm5QgA:10 a=sbo8gpZPf75CiZgFkrIA:9 a=Fo6cC1lnf6bGZ22j91n58SMrsacA:4 a=b8hG5vVbyAkA:10 a=H3kzZyVjFpQ6wUhzC2YA:9 a=i21OflLk7_QaZ2x6Krkl1yqjCKwA:4 a=NfA2RSpTaHsA:10 a=eZhx56p-2PMy61qXlR8A:9 a=8YRX9MrEQlIk9EoyeotnStsNjT4A:4 a=rPt6xJ-oxjAA:10 Received: by discordia (Postfix, from userid 103) id B40A81636F9; Tue, 15 Apr 2008 11:11:28 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.1.8-gr1 (2007-02-13) on discordia X-Spam-Level: X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.8-gr1 Received: from [172.20.1.3] (erwin.int.cokane.org [172.20.1.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by discordia (Postfix) with ESMTP id 146DE1636F8 for ; Tue, 15 Apr 2008 11:11:15 -0400 (EDT) From: Coleman Kane To: current@FreeBSD.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-yzKZoqm8WCZQ/975xid1" Organization: FreeBSD Project Date: Tue, 15 Apr 2008 11:10:50 -0400 Message-Id: <1208272250.1362.2.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1 FreeBSD GNOME Team Port Cc: Subject: Patch: if_ndis convert from timeout(9) to callout(9) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Apr 2008 15:12:44 -0000 --=-yzKZoqm8WCZQ/975xid1 Content-Type: multipart/mixed; boundary="=-8Z19UvjF5vmXXjseYU2i" --=-8Z19UvjF5vmXXjseYU2i Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello, I'd like some people using the if_ndis driver to test this patch to the if_ndis network driver. It converts the old-school timeout(9) API that is currently used into the new-school callout(9) API that is supposed to replace it. --=20 Coleman Kane --=-8Z19UvjF5vmXXjseYU2i Content-Disposition: attachment; filename=if_ndis_callout-conv.patch Content-Transfer-Encoding: base64 Content-Type: text/x-patch; name=if_ndis_callout-conv.patch; charset=UTF-8 ZGlmZiAtLWdpdCBhL3N5cy9kZXYvaWZfbmRpcy9pZl9uZGlzLmMgYi9zeXMvZGV2L2lmX25kaXMv aWZfbmRpcy5jDQppbmRleCBlMzhiY2Y2Li45MWJmOWZiIDEwMDY0NA0KLS0tIHN5cy9kZXYvaWZf bmRpcy9pZl9uZGlzLmMNCisrKyBzeXMvZGV2L2lmX25kaXMvaWZfbmRpcy5jDQpAQCAtMTU4Miwx NyArMTU4MiwxMyBAQCBuZGlzX3RpY2soeHNjKQ0KIHsNCiAJc3Ryd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name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEABECAAYFAkgExXUACgkQcMSxQcXat5eWaACeIGsxRyQIIqFHTJ58V5IxJPG7 mtMAniItBU2Ahc4YpMzHcNpSDGJrStO1 =ReBj -----END PGP SIGNATURE----- --=-yzKZoqm8WCZQ/975xid1--