Date: Sun, 22 Nov 1998 10:09:19 +0000 (GMT) From: Doug Rabson <dfr@nlsystems.com> To: Amancio Hasty <hasty@rah.star-gate.com> Cc: Jake <jake@checker.org>, current@FreeBSD.ORG Subject: Re: kernel make failure in smbus Message-ID: <Pine.BSF.4.01.9811221008450.21711-100000@herring.nlsystems.com> In-Reply-To: <199811220145.RAA03548@rah.star-gate.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.01.9811221008450.21711-100000>