From owner-freebsd-multimedia@FreeBSD.ORG Thu Mar 18 10:20:19 2004 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A7B416A4E0 for ; Thu, 18 Mar 2004 10:20:19 -0800 (PST) Received: from mail014.syd.optusnet.com.au (mail014.syd.optusnet.com.au [211.29.132.160]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E25143D1D for ; Thu, 18 Mar 2004 10:20:07 -0800 (PST) (envelope-from akm@theinternet.com.au) Received: from theinternet.com.au (c211-30-103-113.carlnfd1.nsw.optusnet.com.au [211.30.103.113]) i2IIK5F11161 for ; Fri, 19 Mar 2004 05:20:05 +1100 Received: from theinternet.com.au (localhost [127.0.0.1]) by theinternet.com.au (8.12.11/8.12.11) with ESMTP id i2IIJwxC057698 for ; Fri, 19 Mar 2004 05:19:58 +1100 (EST) (envelope-from akm@theinternet.com.au) Received: (from akm@localhost) by theinternet.com.au (8.12.11/8.12.11/Submit) id i2IIJwQ0057697 for freebsd-multimedia@freebsd.org; Fri, 19 Mar 2004 05:19:58 +1100 (EST) (envelope-from akm) Date: Fri, 19 Mar 2004 05:19:58 +1100 From: Andrew Milton To: freebsd-multimedia@freebsd.org Message-ID: <20040318181958.GT54758@camelot.theinternet.com.au> Mail-Followup-To: freebsd-multimedia@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6i Subject: device bktr and smbus X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Mar 2004 18:20:19 -0000 I've been trying off and on (with cvsups in between) to compile a kernel with bktr and smbus support under -current. if I define options BKTR_USE_FREEBSD_SMBUS then the compile fails in bktr_core.c ../../../dev/bktr/bktr_core.c: In function `msp_dpl_write': ../../../dev/bktr/bktr_core.c:3910: error: structure has no member named `iicbus' there's two dozen or more places where it dies, related to this macro; #define IICBUS(bktr) ((bktr)->i2c_sc.iicbus) Is the BKTR_USE_FREEBSD_SMBUS option needed? (I can't access the remote control on this board, or do any smb ioctls without it anyway). Is there some simple fix for this? I'm happy to test patches / hacks d8) I've got these related options, I can post a full config if needed. device smbus device iicbus device iicbb device iicsmb device smb device iic device bktr options BKTR_GPIO_ACCESS options BKTR_SYSTEM_DEFAULT=BROOKTREE_PAL options BKTR_ALLOC_PAGES=532 options BKTR_NEW_MSP34XX_DRIVER options BKTR_USE_FREEBSD_SMBUS -- Totally Holistic Enterprises Internet| | Andrew Milton The Internet (Aust) Pty Ltd | M:+61 416 022 411 | ACN: 082 081 472 ABN: 83 082 081 472 |akm@theinternet.com.au| Carpe Daemon