Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Nov 1998 21:23:59 -0800 (PST)
From:      Randy Bush <randy@psg.com>
To:        freebsd-current@FreeBSD.ORG
Subject:   kernel make failure in smbus
Message-ID:  <m0zfH8p-0008G3C@rip.psg.com>

next in thread | raw e-mail | index | archive | help
cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith -Winline -Wuninitialized -Wformat  -fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I../../../include  -DKERNEL -include opt_global.h -aout  ../../dev/smbus/smbus.c
../../dev/smbus/smbus.c:84: `bus_create_intr_desc' undeclared here (not in a function)
../../dev/smbus/smbus.c:84: initializer element for `smbus_methods[7].desc' is not constant
../../dev/smbus/smbus.c:84: `bus_generic_create_intr' undeclared here (not in a function)
../../dev/smbus/smbus.c:84: initializer element for `smbus_methods[7].func' is not constant
../../dev/smbus/smbus.c:85: `bus_connect_intr_desc' undeclared here (not in a function)
../../dev/smbus/smbus.c:85: initializer element for `smbus_methods[8].desc' is not constant
../../dev/smbus/smbus.c:85: `bus_generic_connect_intr' undeclared here (not in a function)
../../dev/smbus/smbus.c:85: initializer element for `smbus_methods[8].func' is not constant
*** Error code 1

Stop.


i have what worked the other week, but not this evening

#
# SMB bus
#
# System Management Bus support provided by the 'smbus' device.
#
# Supported devices:
# smb   standard io
#
# Supported interfaces:
# iicsmb I2C to SMB bridge with any iicbus interface
# bktr  brooktree848 I2C hardware interface
#
controller smbus0

device smb0     at smbus?

#
# I2C Bus
#
# Philips i2c bus support is provided by the `iicbus' device.
#
# Supported devices:
# ic    i2c network interface
# iic   i2c standard io
# iicsmb i2c to smb bridge. Allow i2c i/o with smb commands.
#
# Supported interfaces:
# pcf   Philips PCF8584 ISA-bus controller
# bktr  brooktree848 I2C software interface
#
# Other:
# iicbb generic I2C bit-banging code (needed by lpbb, bktr)
#
controller iicbus0
controller iicbb0

device ic0      at iicbus?
device iic0     at iicbus?
device iicsmb0  at iicbus?

# 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

randy

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



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