Re: [Fwd: Porting from Linux to BSD?]

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jeremy C. Reed
Date:  
To: plug-discuss
CC: Alan Dayley
Subject: Re: [Fwd: Porting from Linux to BSD?]
On Tue, 9 Nov 2004, Alan Dayley wrote:

> Posting here just in case the BSDers are lurking here and not in plug-devel.
>
> -------- Original Message --------
> Subject: Porting from Linux to BSD?
> From: "Alan Dayley" <>
> Date: Tue, November 9, 2004 3:52 pm
> To: <>
>
> There is a project attempting to port a working network interface driver
> from Linux to run on NetBSD. It is proving difficult.
>
> Are there any porting guides or advice out there? The google hits are
> too many or don't provide real information. Even references to good BSD
> programming communities would be good. I know there are some BSD
> daemons hidden among the penguins around here, so, speak up.


I don't know of any porting guides. In many (most) cases, the driver will
need to be rewritten from scratch because of various differences between
Linux and NetBSD kernels. (This is assuming your driver is kernel based,
like a Linux kernel module.)

Also need to consider licensing: if you want NetBSD to include the driver
for later maintenance then you can't simply copy a GPL'd driver.

You may want to look at
http://www.netbsd.org/Documentation/kernel/programming.html
and
"NetBSD Device Driver Writing Guide"
http://www.unixag-kl.fh-kl.de/~jkunz/NetBSD/

You can probably get advice and assistance via the NetBSD tech-misc,
tech-kern or tech-net mailing lists. See
http://www.netbsd.org/MailingLists/

If you need further assistance, please let me know.

(I am reed of NetBSD.org.)

Jeremy C. Reed

                 open source, Unix, *BSD, Linux training
                http://www.pugetsoundtechnology.com/



---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss