From tom@tomfoo.com  Sun Dec 21 05:52:51 2003
Return-Path: <tom@tomfoo.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 13FDF16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 21 Dec 2003 05:52:51 -0800 (PST)
Received: from lakemtao03.cox.net (lakemtao03.cox.net [68.1.17.242])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 5587843D48
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 21 Dec 2003 05:52:49 -0800 (PST)
	(envelope-from tom@tomfoo.com)
Received: from mail.tomfoo.com ([68.227.207.4]) by lakemtao03.cox.net
          (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP
          id <20031221135248.OWCD2192.lakemtao03.cox.net@mail.tomfoo.com>
          for <FreeBSD-gnats-submit@freebsd.org>;
          Sun, 21 Dec 2003 08:52:48 -0500
Received: from builder.tomfoo.com (builder.tomfoo.com [192.168.55.8])
	by mail.tomfoo.com (8.12.8p2/8.12.8) with ESMTP id hBLDqmp6042364
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 21 Dec 2003 08:52:48 -0500 (EST)
	(envelope-from tom@tomfoo.com)
Received: from builder.tomfoo.com (localhost [127.0.0.1])
	by builder.tomfoo.com (8.12.10/8.12.10) with ESMTP id hBLDq39P055096
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 21 Dec 2003 08:52:03 -0500 (EST)
	(envelope-from tom@builder.tomfoo.com)
Received: (from tom@localhost)
	by builder.tomfoo.com (8.12.10/8.12.10/Submit) id hBLDq3ql055095;
	Sun, 21 Dec 2003 08:52:03 -0500 (EST)
	(envelope-from tom)
Message-Id: <200312211352.hBLDq3ql055095@builder.tomfoo.com>
Date: Sun, 21 Dec 2003 08:52:03 -0500 (EST)
From: Tom Convery <tpc@tomfoo.com>
Reply-To: Tom Convery <tpc@tomfoo.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] bktr(4) compilation fails if BKTR_USE_FREEBSD_SMBUS is defined
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         60458
>Category:       kern
>Synopsis:       [patch] bktr(4) compilation fails if BKTR_USE_FREEBSD_SMBUS is defined
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    josef
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 21 06:00:32 PST 2003
>Closed-Date:    Wed May 26 13:19:38 PDT 2004
>Last-Modified:  Wed May 26 13:19:38 PDT 2004
>Originator:     Tom Convery
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD builder.tomfoo.com 5.2-CURRENT FreeBSD 5.2-CURRENT #2: Tue Dec 16 17:29:17 EST 2003 tom@builder.tomfoo.com:/scratch5/obj/usr/src/sys/BUILDER i386
>Description:
	Kernel compilation fails if

	device bktr
	options BKTR_USE_FREEBSD_SMBUS

	is included in the config file.
>How-To-Repeat:
	(See "Description.")
>Fix:
--- bktr.patch begins here ---
--- bktr_core.c.orig	Sun Dec 21 00:29:21 2003
+++ bktr_core.c	Sun Dec 21 00:34:12 2003
@@ -3890,7 +3890,7 @@
 	return ((int)((unsigned char)result));
 }
 
-#define IICBUS(bktr) ((bktr)->i2c_sc.iicbus)
+#define IICBUS(bktr) ((bktr)->i2c_sc.iicbb)
 
 /* The MSP34xx and DPL35xx Audio chip require i2c bus writes of up */
 /* to 5 bytes which the bt848 automated i2c bus controller cannot handle */
--- bktr.patch ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->josef 
Responsible-Changed-By: josef 
Responsible-Changed-When: Mon May 24 14:58:10 PDT 2004 
Responsible-Changed-Why:  
i'll handle this one. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=60458 
State-Changed-From-To: open->closed 
State-Changed-By: josef 
State-Changed-When: Wed May 26 13:19:30 PDT 2004 
State-Changed-Why:  
committed, thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=60458 
>Unformatted:
