Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.mel.connect.com.au!munnari.OZ.AU!news.hawaii.edu!news.uoregon.edu!arclight.uoregon.edu!usenet.eel.ufl.edu!bofh.dot!news.mathworks.com!news.kei.com!nntp.coast.net!oleane!francenet.fr!itesec!sidhe.frmug.fr.net!not-for-mail From: roberto@keltia.freenix.fr (Ollivier Robert) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: How to configure the kernel Date: 14 May 1996 13:31:04 GMT Organization: Herve Schauer Consultants Lines: 32 Message-ID: <4na1uo$32f@sidhe.hsc.fr> References: <4n7fg9$4u2@titan.ci.ua.pt> NNTP-Posting-Host: sidhe.hsc.fr Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit [courtesy cc of this posting sent to cited author via email] In article <4n7fg9$4u2@titan.ci.ua.pt>, Paulo Rodrigues <pgr@ci.ua.pt> wrote: > In /usr/src/sys/i386/conf I made a copy of GENERIC to MYKERNEL. > As my machine has different irqs and IO ports I redefine them in > MYKERNEL. I also don't know the values of some constants like Good. > IO_KBD so in that lines I put the correct values that match my > system, for example: > > device sc0 at isa? port 0x0060 irq 1 vector scintr STOP ! Don't do that. You change the values for irq, dma, and son on but do not change IO_KBD or such. You don't have to change the sc0 at all for instance. > Do I have to use those constants (IO_KBD, etc)? And if there's > a conflict? Do I have to change isa.h in /usr/src/sys/isa? No. Just copy GENERIC into MYKERNEL. Delete the lines for the devices you don't have and change the irq/dma if you have too. But don't change any other values (especially symbolic ones). Look at the FAQ or the Handbook for details. -- Ollivier ROBERT -=-=- FreeBSD 2.x FAQ maintainer -=-=- roberto@freebsd.org -=-=-=-=-=- Support The Free UNIX Systems ! FreeBSD Linux NetBSD -=-=-=-=-=-