* Andrew Gallatin <[EMAIL PROTECTED]> [010111 20:13] wrote:
>
> > On Thursday, January 11, 2001 3:12 PM, Alfred Perlstein
> > [SMTP:[EMAIL PROTECTED]] wrote:
> > > * Carl Makin <[EMAIL PROTECTED]> [010111 14:52] wrote:
> > > >
> > > > There are a couple of linux kernel modules that I'd love to run under
> > > > FreeBSD. I've always assumed that I'd have to rewrite them substantially
> > > > to make that happen.
> > > >
> > > > Can anyone give me some pointers on how hard it could be to port a linux
> > > > kernel module to FreeBSD?
> > >
> > > Depends on how familiar you are with kernel internals, for instance
> > > after taking a quick look at the kernel module needed to run vmware
> > > it was pretty clear that someone with the experience and time could
> > > have it done in under a week, about 2 weeks later some maniac ( :) )
> > > surfaced who had done just that.
>
> The biggest problem I've had porting linux drivers is that linux
> exports enough internals to allow drivers to distinguish between
> multiple opens of the same device. Eg:
[snip]
>
> Isn't this gross? Is there a better way?
Beyond gross. :)
I've heard of many requests for this special functionality in FreeBSD,
things as you've mentioned (vmware, your driver) as well as ptys.
If you wanted to fix our interface I'd be glad to help review it and
assist if possible.
--
-Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]]
"I have the heart of a child; I keep it in a jar on my desk."
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message