Help with statically compiling and linking simple hello worlds kind of driver with FreeBSD kernel

Andrey V. Elsukov bu7cher at yandex.ru
Thu Sep 20 22:15:28 PDT 2007


Patil, Kiran wrote:
> I want to statically compile this driver into FreeBSD kernel and I want
> it to get loaded when FreeBSD kernel is booted.
> 
> I am looking for BKM, how to do this? Any help is appreciated. If there
> is any example exist for this, can you please point me to it.

Hi, you can look into src/sys/conf directory. Here is lots of
examples. See into files.* and options.*.

-- 
WBR, Andrey V. Elsukov


More information about the freebsd-drivers mailing list