From owner-freebsd-questions Fri Oct 16 14:14:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA17116 for freebsd-questions-outgoing; Fri, 16 Oct 1998 14:14:31 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA16989 for ; Fri, 16 Oct 1998 14:13:42 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.8/8.8.8) with ESMTP id OAA26053; Fri, 16 Oct 1998 14:13:06 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Fri, 16 Oct 1998 14:13:05 -0700 (PDT) From: Doug White To: "Cambria, Mike" cc: "'questions@freebsd.org'" Subject: Re: make_device_driver.sh updated for PCI? In-Reply-To: <75ADD7496F0BD211ADC000104B8846CF0569F8@Rerun.Lucentctc.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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