From owner-freebsd-current Sun Nov 22 02:08:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA22846 for freebsd-current-outgoing; Sun, 22 Nov 1998 02:08:19 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA22840 for ; Sun, 22 Nov 1998 02:08:13 -0800 (PST) (envelope-from dfr@nlsystems.com) Received: from herring.nlsystems.com (herring.nlsystems.com [10.0.0.2]) by nlsystems.com (8.9.1/8.8.5) with SMTP id KAA28878; Sun, 22 Nov 1998 10:09:19 GMT Date: Sun, 22 Nov 1998 10:09:19 +0000 (GMT) From: Doug Rabson To: Amancio Hasty cc: Jake , current@FreeBSD.ORG Subject: Re: kernel make failure in smbus In-Reply-To: <199811220145.RAA03548@rah.star-gate.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 21 Nov 1998, Amancio Hasty wrote: > > Post on the multimedia mailing list and request a patch to disable smb support > in bktr it should not be difficult to generate since the code > to talk to the I2C interface is still in the driver. > > I isolated the problem to : > /sys/sys/bus.h and the recently commit : > > 1.7 Sat Nov 14 21:58:41 1998 UTC by wollman > > CVS Tags: HEAD > Diffs to 1.6 > > My changes to the new device interface: > > - Interface wth the new resource manager. > - Allow for multiple drivers implementing a single devclass. > - Remove ordering dependencies between header files. > - Style cleanup. > - Add DEVICE_SUSPEND and DEVICE_RESUME methods. > - Move to a single-phase interrupt setup scheme. > > Kernel builds on the Alpha are brken until Doug gets a chance to incorporate > these changes on that side. This patch or something similar to it should fix it. I haven't tested it. Index: smbus.c =================================================================== RCS file: /home/ncvs/src/sys/dev/smbus/smbus.c,v retrieving revision 1.2 diff -u -r1.2 smbus.c --- smbus.c 1998/10/31 11:39:54 1.2 +++ smbus.c 1998/11/22 10:08:20 @@ -81,8 +81,8 @@ DEVMETHOD(bus_print_child, smbus_print_child), DEVMETHOD(bus_read_ivar, smbus_read_ivar), DEVMETHOD(bus_write_ivar, bus_generic_write_ivar), - DEVMETHOD(bus_create_intr, bus_generic_create_intr), - DEVMETHOD(bus_connect_intr, bus_generic_connect_intr), + DEVMETHOD(bus_setup_intr, bus_generic_setup_intr), + DEVMETHOD(bus_teardown_intr, bus_generic_teardown_intr), { 0, 0 } }; -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891 Fax: +44 181 381 1039 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message