Date: Wed, 16 Nov 2005 12:14:20 -0800 From: Julian Elischer <julian@elischer.org> To: Yong Ma <mayong@mail.com> Cc: freebsd-hackers@freebsd.org, freebsd-drivers@freebsd.org Subject: Re: How to make my new driver be configurable in the kernel configuration file? Message-ID: <437B931C.9080107@elischer.org> In-Reply-To: <20051116032001.7C66D1CE30A@ws1-6.us4.outblaze.com> References: <20051116032001.7C66D1CE30A@ws1-6.us4.outblaze.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Yong Ma wrote: > >Thank you! I did as that but came across some problems,these are the jobs and the errors: > > 1) I copyed the files to the sys/dev/mydevice and added "dev/mydevice/mydevice.c optinonal mydevice" in the file /usr/src/sys/conf/files.i386, > At one stage you could add your own file called "files.MYKERNEL", where MYKERNEL is in the name given in the 'ident' line of the "MYKERNEL" file. I have not checked if this still works, but it stops you frm having to edit the supplied "files" and "files.i386" files.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?437B931C.9080107>