Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Apr 1999 10:50:00 -0400 (EDT)
From:      Thomas David Rivers <rivers@dignus.com>
To:        freebsd-questions@FreeBSD.ORG, jk@nanoteq.co.za
Subject:   Re: kernel compile with bktr0
Message-ID:  <199904151450.KAA04881@lakes.dignus.com>
In-Reply-To: <37160F11.91A67DAB@nanoteq.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




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