From owner-freebsd-questions Thu Apr 15 7:53:16 1999 Delivered-To: freebsd-questions@freebsd.org Received: from smtp1.vnet.net (smtp1.vnet.net [166.82.1.31]) by hub.freebsd.org (Postfix) with ESMTP id 2950214ED6 for ; Thu, 15 Apr 1999 07:52:25 -0700 (PDT) (envelope-from rivers@dignus.com) Received: from dignus.com (ponds.vnet.net [166.82.177.48]) by smtp1.vnet.net (8.9.1a/8.9.1) with ESMTP id KAA21822; Thu, 15 Apr 1999 10:51:14 -0400 (EDT) Received: from lakes.dignus.com (lakes.dignus.com [10.0.0.3]) by dignus.com (8.9.2/8.8.5) with ESMTP id KAA02483; Thu, 15 Apr 1999 10:50:00 -0400 (EDT) Received: (from rivers@localhost) by lakes.dignus.com (8.9.2/8.6.9) id KAA04881; Thu, 15 Apr 1999 10:50:00 -0400 (EDT) Date: Thu, 15 Apr 1999 10:50:00 -0400 (EDT) From: Thomas David Rivers Message-Id: <199904151450.KAA04881@lakes.dignus.com> To: freebsd-questions@FreeBSD.ORG, jk@nanoteq.co.za Subject: Re: kernel compile with bktr0 In-Reply-To: <37160F11.91A67DAB@nanoteq.co.za> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Hi there. I'm trying to compile the booktree driver for my tv card, but > the kernel returns errors (underneath) > The closest files i could find is [ smbus_if.m ] and [ iicbb_if.m ] > which i renamed to *.h - did'nt work. > Any suggestions , pleasssseee > > (making depend ) > > ../../pci/brooktree848.c:379: smbus_if.h: No such file or directory > ../../pci/brooktree848.c:380: iicbus_if.h: No such file or directory > ../../pci/bt848_i2c.c:61: iicbb_if.h: No such file or directory > ../../pci/bt848_i2c.c:62: smbus_if.h: No such file or directory > mkdep: compile failed > *** Error code 1 Your kernel config file is incorrect, and is missing the iic and smbus drivers. From the LINT file, you need the following lines in your config file to correctly compile brooktree support: # Brooktree driver has been ported to the new I2C framework. Thus, # you'll need at least iicbus, iicbb and smbus. iic/smb are only needed if you # want to control other I2C slaves connected to the external connector of # some cards. # device bktr0 controller smbus0 device smb0 at smbus? controller iicbus0 controller iicbb0 device ic0 at iicbus? device iic0 at iicbus? device iicsmb0 at iicbus? controller pcf0 at isa? port 0x320 net irq 5 - Dave Rivers - To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message