From owner-freebsd-current Sun Nov 15 21:24:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA19028 for freebsd-current-outgoing; Sun, 15 Nov 1998 21:24:24 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from rip.psg.com (rip.psg.com [147.28.0.39]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA19023 for ; Sun, 15 Nov 1998 21:24:22 -0800 (PST) (envelope-from randy@psg.com) Received: from localhost (2445 bytes) by rip.psg.com via sendmail with P:stdio/R:inet_resolve/T:smtp (sender: ) (ident using unix) id for ; Sun, 15 Nov 1998 21:23:59 -0800 (PST) (Smail-3.2.0.101 1997-Dec-17 #1 built 1998-Oct-13) Message-Id: Date: Sun, 15 Nov 1998 21:23:59 -0800 (PST) From: Randy Bush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: freebsd-current@FreeBSD.ORG Subject: kernel make failure in smbus Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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