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" <alandd@consultpros.com>
> Date: Tue, November 9, 2004 3:52 pm
> To: <plug-devel@lists.plug.phoenix.az.us>
>
> 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 -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss