Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Sep 2007 15:19:18 -0700
From:      "Patil, Kiran" <kiran.patil@intel.com>
To:        <freebsd-drivers@freebsd.org>
Subject:   Help with statically compiling and linking simple hello worlds kind of driver with FreeBSD kernel
Message-ID:  <4AFE4AEEFA305C4BB82F73F4D819506002B93F19@orsmsx420.amr.corp.intel.com>

next in thread | raw e-mail | index | archive | help
Hi,

=20

I am newbie FreeBSD driver developer.

=20

I developed dynamically loaded module for simple hello world kind of
driver.  I can successfully dynamic load and unload the module
(hello.ko). There are other supporting files such as hello_1.c,
hello_2.c and hello.h which hets compiled when I compile hello driver.

=20

I want to statically compile this driver into FreeBSD kernel and I want
it to get loaded when FreeBSD kernel is booted.

=20

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.

=20

Thanks in advance.

=20

-- Kiran P.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4AFE4AEEFA305C4BB82F73F4D819506002B93F19>