Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Dec 2004 22:38:25 +1100
From:      "Chris Martin" <outsidefactor@iinet.net.au>
To:        <questions@freebsd.org>
Cc:        BUGS <bugs@bugs.au.freebsd.org>
Subject:   Including c files in the FreeBSD kernel
Message-ID:  <20041226113851.5527343D48@mx1.FreeBSD.org>

next in thread | raw e-mail | index | archive | help
I have some incomplete doco on installing a driver, and I was wondering if
someone could help me bridge the gap.

The drive makefile copies a vpd.c and a lib file into the /sys/ structure.
The doco then says to create a custom kernel config (e.g. MYKERNEL), put in
a "device" line for the driver ("device vpd" in this case) and create a
"files.MYKERNEL" file with the line:
'pci/vpb.c      optional vpb'

When I go to do a config before building, it says: 'Warning: device "vpb" is
unknown'

Is there a step missing to get the config to include the files.MYKERNEL
file?

If you wish to see the source for the drive in it's entirety, it can be
obtained here:
http://www.voicetronix.com.au/downloads.htm#freebsd

Hope someone can help me?

Chris




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