Date: Tue, 05 Oct 2010 18:09:59 -0700 From: Julian Elischer <julian@freebsd.org> To: Paul B Mahol <onemda@gmail.com> Cc: freebsd-net@freebsd.org Subject: Re: ndis: fix ugly code Message-ID: <4CABCC67.9070907@freebsd.org> In-Reply-To: <AANLkTimWn1q9RJMdXsu44kmwEeTVWEQ%2B1O%2BrT%2BM0puWn@mail.gmail.com> References: <AANLkTinpUmhczHu1mmtuO1BaibSpT1xUG0PY-Km8wHvL@mail.gmail.com> <4CAB9212.4010203@freebsd.org> <AANLkTimWn1q9RJMdXsu44kmwEeTVWEQ%2B1O%2BrT%2BM0puWn@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 10/5/10 5:27 PM, Paul B Mahol wrote: > On 10/5/10, Julian Elischer<julian@freebsd.org> wrote: >> On 10/5/10 1:19 PM, Paul B Mahol wrote: >>> Hi, >>> >>> If clang did not complain, I would probbaly never spot it. >>> >>> Patch attached. >> personally I think you could use kproc_kthread_add so that a single >> NDIS process had three threads. > Patch attached. Now we have single "ndis" kernel process with own threads. I don't know how ndis works. Is it possible that each ndis driver would have it's own process? or would each instance? I don't even know if it's possible to run two different ndis drivers in the same kernel. if that was the case we'd want to have a different name for each one so you can tell them, but I just don't know enough about it.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CABCC67.9070907>