Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Feb 2009 13:13:31 -0500
From:      Glen Barber <glen.j.barber@gmail.com>
To:        Amer Alhabsi <amer.alhabsi@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to compile a network driver given source code
Message-ID:  <4ad871310902071013j63815054u76c763ed63564103@mail.gmail.com>
In-Reply-To: <fec909700902070936q6812e48ew7195f5b5ededd5c1@mail.gmail.com>
References:  <fec909700902070936q6812e48ew7195f5b5ededd5c1@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Feb 7, 2009 at 12:36 PM, Amer Alhabsi <amer.alhabsi@gmail.com> wrote:
> Hi,
>
> I have Benq Joybook R43 notebook. It has network interface based on SiS 191.
> However, I can't configure it as it does not show up in ifconfig nor in
> sysinstall/configure/networking/interfaces. Dmesg says: No Driver Attached.
>
> After some search I found that someone has written a driver but it
> hasn't been put int the official FreeBSD release. I want to try my
> luck with the driver. My question is where to place the source code
> files? and how to compile it (I assume it can be part of a kernel
> rebuild if placed in the right directory)
>
> The source code for the driver consists of the 3 files: if_sis19x.c,
> if_sis19xreg.h and Makefile.
>

Edit the Makefile to match the standard installation directories that
FreeBSD uses (/usr/local), and use `make'.  Depending on what the
drivers needs are, you may have to edit more.

-- 
Glen Barber



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ad871310902071013j63815054u76c763ed63564103>