From owner-freebsd-hackers Sun Dec 20 13:38:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA24466 for freebsd-hackers-outgoing; Sun, 20 Dec 1998 13:38:47 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA24460 for ; Sun, 20 Dec 1998 13:38:45 -0800 (PST) (envelope-from julian@whistle.com) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id NAA05069; Sun, 20 Dec 1998 13:31:37 -0800 (PST) Received: from current1.whistle.com(207.76.205.22) via SMTP by alpo.whistle.com, id smtpdnu5065; Sun Dec 20 21:31:36 1998 Date: Sun, 20 Dec 1998 13:31:33 -0800 (PST) From: Julian Elischer To: Jeroen Ruigrok/Asmodai cc: Bill Loraine , FreeBSD Hackers Subject: RE: Writing device drivers for FreeBSD In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG conf.c no longer exists. Every driver used to have to have an entry in it. Now each driver adds it's own entry dynamically using a function in kern_conf.c julian p.s. if it's an ISA device try running the script /usr/share/examples/drivers/make_device_driver.sh or /usr/share/examples/drivers/make_pseudo_driver.sh (depending on whether you have actual hardware to inteface with ot if you are using a device driver to present some 'pretend' device). the scripts need a little updating. but they will do 90% of what you need (You need to add code to register the interrupt vector in the first and remove it from the config line it generates. On Sun, 20 Dec 1998, Jeroen Ruigrok/Asmodai wrote: > [cc:-ed to hackers, removed from doc] > > On 17-Dec-98 Bill Loraine wrote: > > In the Tutorial "Writing device drivers for FreeBSD" on the Standard > > Model steps required for adding a driver, step 2 Make room in conf.c - > > Which the tutorial says is located in "/usr/src/sys/i386/i386/conf.c" on > > my operating system files(my hard drive with FreeBSD installed) I don't > > have a conf.c file at all much less in that location. > > I think conf.c needs to be renamed to autoconf.c. Then again, I might be wrong. > Someone care to update/verify my assumption? > > --- > Jeroen Ruigrok van der Werven Life is the only Pain > asmodai(at)wxs.nl we endeavour... > Network/Security Specialist > BSD & picoBSD: The Power to Serve > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message