From owner-freebsd-questions@FreeBSD.ORG Sun Dec 26 11:38:52 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E385B16A4CE for ; Sun, 26 Dec 2004 11:38:52 +0000 (GMT) Received: from mail.iinet.net.au (mail-04.iinet.net.au [203.59.3.36]) by mx1.FreeBSD.org (Postfix) with SMTP id 5527343D48 for ; Sun, 26 Dec 2004 11:38:51 +0000 (GMT) (envelope-from outsidefactor@iinet.net.au) Received: (qmail 22328 invoked from network); 26 Dec 2004 11:38:49 -0000 Received: from unknown (HELO tyr) (203.217.67.1) by mail.iinet.net.au with SMTP; 26 Dec 2004 11:38:49 -0000 From: "Chris Martin" To: Date: Sun, 26 Dec 2004 22:38:25 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 Thread-Index: AcTrP2lkdax+xJwoRnyjBqeVk8ykWA== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Message-Id: <20041226113851.5527343D48@mx1.FreeBSD.org> cc: BUGS Subject: Including c files in the FreeBSD kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Dec 2004 11:38:53 -0000 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