Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Oct 1998 14:13:05 -0700 (PDT)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        "Cambria, Mike" <mcambria@lucent.com>
Cc:        "'questions@freebsd.org'" <questions@FreeBSD.ORG>
Subject:   Re: make_device_driver.sh updated for PCI?
Message-ID:  <Pine.BSF.4.03.9810161411350.28399-100000@resnet.uoregon.edu>
In-Reply-To: <75ADD7496F0BD211ADC000104B8846CF0569F8@Rerun.Lucentctc.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 16 Oct 1998, Cambria, Mike wrote:

> 
> Hi,
> 
> I have a remote user who has bought another system to run FreeBSD.  They
> installed 2.2.7 from CD.  There is no support for the 3COM 3C905B.  I've
> pulled the if_xl.c and if_xlreg.h files from freebsd.org.  I was hoping that
> they could run /usr/share/examples/drivers/make_device_driver.sh with 'xl'
> as an parameter and replace the 2 relevant files.

No.  make_device_driver is for people who want to make a driver; the shell
script creates a empty framework.   You don't use it on existing drivers!

Simply drop the two files in /sys/pci, then modify /sys/conf/devices and
add an entry for the device.  Build a new kernel and enjoy.

> Either way, would what I suggest above have even worked (e.g. if I had an
> ISA driver), or is there more to it?  

Doug White                               
Internet:  dwhite@resnet.uoregon.edu    | FreeBSD: The Power to Serve
http://gladstone.uoregon.edu/~dwhite    | www.freebsd.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.03.9810161411350.28399-100000>