From owner-freebsd-multimedia@FreeBSD.ORG Thu May 20 19:52:42 2010 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 39F1A1065674 for ; Thu, 20 May 2010 19:52:42 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from thalia-smout.broadpark.no (thalia-smout.broadpark.no [80.202.8.21]) by mx1.freebsd.org (Postfix) with ESMTP id E71C38FC13 for ; Thu, 20 May 2010 19:52:41 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from ignis-smin.broadpark.no ([unknown] [80.202.8.11]) by thalia-smout.broadpark.no (Sun Java(tm) System Messaging Server 7u3-12.01 64bit (built Oct 15 2009)) with ESMTP id <0L2Q00B89HVOUZ20@thalia-smout.broadpark.no> for freebsd-multimedia@FreeBSD.org; Thu, 20 May 2010 21:52:36 +0200 (CEST) Received: from kg-v2.kg4.no ([unknown] [80.203.92.186]) by ignis-smin.broadpark.no (Sun Java(tm) System Messaging Server 7u3-12.01 64bit (built Oct 15 2009)) with SMTP id <0L2Q00HHTHVN8S80@ignis-smin.broadpark.no> for freebsd-multimedia@FreeBSD.org; Thu, 20 May 2010 21:52:36 +0200 (CEST) Date: Thu, 20 May 2010 21:52:35 +0200 From: Torfinn Ingolfsen To: freebsd-multimedia@FreeBSD.org Message-id: <20100520215235.9960d8be.torfinn.ingolfsen@broadpark.no> In-reply-to: <201005202145.31750.shoesoft@gmx.net> References: <20100513233437.GR27722@danbala.tuwien.ac.at> <201005140906.56328.shoesoft@gmx.net> <20100520210140.308b4dbc.torfinn.ingolfsen@broadpark.no> <201005202145.31750.shoesoft@gmx.net> X-Mailer: Sylpheed 3.0.2 (GTK+ 2.20.1; amd64-portbld-freebsd8.0) X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH Cc: Subject: Re: multimedia/pvr250 port doesn't compile on FreeBSD 8 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 May 2010 19:52:42 -0000 On Thu, 20 May 2010 21:45:31 +0200 Stefan Ehmann wrote: > On Thursday 20 May 2010 21:01:40 Torfinn Ingolfsen wrote: > > Hello, > > > > On Fri, 14 May 2010 09:06:56 +0200 > > > > Stefan Ehmann wrote: > > > I stumbled across this problem some time ago in pvrxxx. I guess the fix > > > should also work for pvr250: > > > > > > http://lists.freebsd.org/pipermail/freebsd-current/2008-September/088697. > > > html > > > > > > It's probably not the cleanest solution, but pvrxxx works here on 8.0. > > > > Reading through the thread, I am left with one question: > > Where should I add this line: > > DRIVER_MODULE(iicbb, cxm_iic, iicbb_driver, iicbb_devclass, 0, 0); > > > > I tried adding it to cxm.c (below the other DRIVER_MODULE line) but that > > didn't help. and /usr/src/sys/dev/iicbus/iicbb.c already contains that > > line. > > I put it in cxm_i2c.c for pvrxxx. Hmm, cxm_i2c.c already contains that line. root@kg-fil# grep DRIVER ./work/dev/cxm/cxm_i2c.c DRIVER_MODULE(cxm_iic, cxm, cxm_iic_driver, cxm_iic_devclass, 0, 0); root@kg-fil# uname -a FreeBSD kg-fil.kg4.no 8.0-STABLE FreeBSD 8.0-STABLE #3: Thu Dec 31 00:34:23 CET 2009 root@kg-fil.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64 Do I also need to "hack" minor? -- Torfinn