Date: Tue, 15 Apr 2008 11:10:50 -0400 From: Coleman Kane <cokane@FreeBSD.org> To: current@FreeBSD.org Subject: Patch: if_ndis convert from timeout(9) to callout(9) Message-ID: <1208272250.1362.2.camel@localhost>
next in thread | raw e-mail | index | archive | help
--=-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 NyArMTU4MiwxMyBAQCBuZGlzX3RpY2soeHNjKQ0KIHsNCiAJc3RydWN0IG5kaXNfc29mdGMJKnNj Ow0KIA0KLQltdHhfdW5sb2NrKCZHaWFudCk7DQotDQogCXNjID0geHNjOw0KIA0KIAlJb1F1ZXVl V29ya0l0ZW0oc2MtPm5kaXNfdGlja2l0ZW0sDQogCSAgICAoaW9fd29ya2l0ZW1fZnVuYyluZGlz X3RpY2t0YXNrX3dyYXAsDQogCSAgICBXT1JLUVVFVUVfQ1JJVElDQUwsIHNjKTsNCi0Jc2MtPm5k aXNfc3RhdF9jaCA9IHRpbWVvdXQobmRpc190aWNrLCBzYywgaHogKg0KLQkgICAgc2MtPm5kaX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0soc2Mp Ow0KIAlpZnAtPmlmX3RpbWVyID0gMDsNCmRpZmYgLS1naXQgYS9zeXMvZGV2L2lmX25kaXMvaWZf bmRpc3Zhci5oIGIvc3lzL2Rldi9pZl9uZGlzL2lmX25kaXN2YXIuaA0KaW5kZXggOTRjYTJhNC4u ZTU5MGMwMiAxMDA2NDQNCi0tLSBzeXMvZGV2L2lmX25kaXMvaWZfbmRpc3Zhci5oDQorKysgc3lz L2Rldi9pZl9uZGlzL2lmX25kaXN2YXIuaA0KQEAgLTEyOSw3ICsxMjksNyBAQCBzdHJ1Y3QgbmRp c19zb2Z0YyB7DQogCW5kaXNfbWluaXBvcnRfYmxvY2sJKm5kaXNfYmxvY2s7DQogCW5kaXNfbWlu aXBvcnRfY2hhcmFjdGVyaXN0aWNzCSpuZGlzX2NoYXJzOw0KIAlpbnRlcmZhY2VfdHlwZQkJbmRp c190eXBlOw0KLQlzdHJ1Y3QgY2FsbG91dF9oYW5kbGUJbmRpc19zdGF0X2NoOw0KKwlzdHJ1Y3Qg Y2FsbG91dAkJbmRpc19zdGF0X2NhbGxvdXQ7DQogCWludAkJCW5kaXNfbWF4cGt0czsNCiAJbmRp c19vaWQJCSpuZGlzX29pZHM7DQogCWludAkJCW5kaXNfb2lkY250Ow0K --=-8Z19UvjF5vmXXjseYU2i-- --=-yzKZoqm8WCZQ/975xid1 Content-Type: application/pgp-signature; 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1208272250.1362.2.camel>