Date: Mon, 23 Nov 2009 02:00:04 GMT From: "Jeremy O'Brien" <obrien654j@gmail.com> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/85886: [an] [patch] an0: timeouts with Cisco 350 minipci Message-ID: <200911230200.nAN204Dc056707@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/85886; it has been noted by GNATS. From: "Jeremy O'Brien" <obrien654j@gmail.com> To: bug-followup@freebsd.org, djb@gofree.co.uk Cc: Subject: Re: kern/85886: [an] [patch] an0: timeouts with Cisco 350 minipci Date: Sun, 22 Nov 2009 20:29:42 -0500 --0016e6d7f07a8db4800478ffc25a Content-Type: text/plain; charset=ISO-8859-1 Hoping to see this fix in the kernel, as it works flawlessly for my aironet 350 as well, and has been in dragonflybsd's tree for over a year without incident. I've attached an updated version of the patch that applies to both 8.0-RC3 and 8.0-CURRENT. Can someone please commit this? --0016e6d7f07a8db4800478ffc25a Content-Type: application/octet-stream; name="mpi350_fix.diff" Content-Disposition: attachment; filename="mpi350_fix.diff" Content-Transfer-Encoding: base64 X-Attachment-Id: f_g2ck6b320 ZGlmZiAtLWdpdCBhL3N5cy9kZXYvYW4vaWZfYW4uYyBiL3N5cy9kZXYvYW4vaWZfYW4uYwppbmRl eCA1YjRmMTNiLi5mMDgxMzhkIDEwMDY0NAotLS0gYS9zeXMvZGV2L2FuL2lmX2FuLmMKKysrIGIv c3lzL2Rldi9hbi9pZl9hbi5jCkBAIC0yNzQ3LDcgKzI3NDcsNyBAQCBhbl9zdGFydChzdHJ1Y3Qg aWZuZXQgKmlmcCkKIAlzdHJ1Y3QgbWJ1ZgkJKm0wID0gTlVMTDsKIAlzdHJ1Y3QgYW5fdHhmcmFt ZV84MDJfMwl0eF9mcmFtZV84MDJfMzsKIAlzdHJ1Y3QgZXRoZXJfaGVhZGVyCSplaDsKLQlpbnQJ CQlpZCwgaWR4LCBpOworCWludAkJCWlkLCBpZHgsIGksIHJlYWR5OwogCXVuc2lnbmVkIGNoYXIJ C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koQU5f VFhDVExfVFhPS19JTlRSfEFOX1RYQ1RMX1RYRVJSX0lOVFJ8QU5fSEVBREVSVFlQRV84MDIzfAlc Ci0JQU5fUEFZTE9BRFRZUEVfRVRIRVJ8QU5fVFhDVExfTk9SRUxFQVNFKQorI2RlZmluZSBBTl9U WENUTF84MDIzCQkoQU5fSEVBREVSVFlQRV84MDIzfEFOX1BBWUxPQURUWVBFX0VUSEVSKQorCisv KiAKKyAqIEFkZGl0aW9ucyB0byB0cmFuc21pdCBjb250cm9sIGJpdHMgZm9yIE1QSTM1MAorICov CisKKyNkZWZpbmUgQU5fVFhDVExfSFcoeCkJCSggeCA/IChBTl9UWENUTF9OT1JFTEVBU0UpIDog XAorCShBTl9UWENUTF9UWE9LX0lOVFJ8QU5fVFhDVExfVFhFUlJfSU5UUnxBTl9UWENUTF9OT1JF TEVBU0UpKQogCiAjZGVmaW5lIEFOX1RYR0FQXzgwMjExCQkwCiAjZGVmaW5lIEFOX1RYR0FQXzgw MjMJCTAK --0016e6d7f07a8db4800478ffc25a--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911230200.nAN204Dc056707>