From owner-freebsd-multimedia@FreeBSD.ORG Wed Jun 9 15:32:14 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 16C4E1065674 for ; Wed, 9 Jun 2010 15:32:14 +0000 (UTC) (envelope-from blott@computing.dcu.ie) Received: from mailhost.computing.dcu.ie (Mailhost.Computing.DCU.IE [136.206.11.247]) by mx1.freebsd.org (Postfix) with ESMTP id 88EC28FC18 for ; Wed, 9 Jun 2010 15:32:13 +0000 (UTC) Received: from sblott-desktop.computing.dcu.ie (dhcp11143.computing.dcu.ie [136.206.11.143]) by mailhost.computing.dcu.ie (8.13.2/8.13.2) with ESMTP id o59FCHTc023077 for ; Wed, 9 Jun 2010 16:12:17 +0100 (IST) Received: from sblott-desktop.computing.dcu.ie (localhost [127.0.0.1]) by sblott-desktop.computing.dcu.ie (8.14.3/8.14.3) with ESMTP id o59FCCkf004938 for ; Wed, 9 Jun 2010 16:12:12 +0100 (IST) (envelope-from blott@sblott-desktop.computing.dcu.ie) Received: (from blott@localhost) by sblott-desktop.computing.dcu.ie (8.14.3/8.14.3/Submit) id o59FCBq5004937 for freebsd-multimedia@freebsd.org; Wed, 9 Jun 2010 16:12:11 +0100 (IST) (envelope-from blott) Date: Wed, 9 Jun 2010 16:12:11 +0100 From: Stephen Blott To: freebsd-multimedia@freebsd.org Message-ID: <20100609151211.GA89536@computing.dcu.ie> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="82I3+IH0IqGh5yIs" Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Subject: [tk@giga.or.at: 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: Wed, 09 Jun 2010 15:32:14 -0000 --82I3+IH0IqGh5yIs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I found this problem previously with the pvr250 port. Here are my notes from then (it worked for me). Steve For the pvr250 port, there were a couple of source code changes necessary. In cxm.c, replace occurrences of unit = UNIT( minor(dev) ); with unit = dev2unit(dev); Also, in cxm.i2c.c, change: cxm_iic_callback( device_t dev, int index, caddr_t *data ) to cxm_iic_callback( device_t dev, int index, caddr_t data ) and add DRIVER_MODULE(iicbb, cxm_iic, iicbb_driver, iicbb_devclass, 0, 0); at the end. --82I3+IH0IqGh5yIs Content-Type: message/rfc822 Content-Disposition: inline Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sblott-desktop.computing.dcu.ie X-Spam-Level: X-Spam-Status: No, score=0.6 required=3.0 tests=BAYES_00,FH_DATE_PAST_20XX autolearn=no version=3.2.5 Delivered-To: unknown Received: from mailhost.computing.dcu.ie (136.206.11.247) by sblott-desktop.computing.dcu.ie with POP3-SSL; 09 Jun 2010 11:45:01 -0000 Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com [74.125.82.45]) by mailhost.computing.dcu.ie (8.13.2/8.13.2) with ESMTP id o59BfTkH006259 for ; Wed, 9 Jun 2010 12:41:35 +0100 (IST) Received: by wwb13 with SMTP id 13so563026wwb.18 for ; Wed, 09 Jun 2010 04:41:24 -0700 (PDT) Received: by 10.216.185.209 with SMTP id u59mr4857914wem.112.1276083672281; Wed, 09 Jun 2010 04:41:12 -0700 (PDT) X-Forwarded-To: sblott@computing.dcu.ie X-Forwarded-For: smblott@gmail.com sblott@computing.dcu.ie Delivered-To: smblott@gmail.com Received: by 10.216.39.142 with SMTP id d14cs161634web; Wed, 9 Jun 2010 04:41:11 -0700 (PDT) Received: by 10.115.84.27 with SMTP id m27mr1337714wal.167.1276083670222; Wed, 09 Jun 2010 04:41:10 -0700 (PDT) Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by mx.google.com with ESMTP id r12si16246040wac.74.2010.06.09.04.41.09; Wed, 09 Jun 2010 04:41:10 -0700 (PDT) Received-SPF: pass (google.com: domain of owner-freebsd-multimedia@freebsd.org designates 69.147.83.53 as permitted sender) client-ip=69.147.83.53; Authentication-Results: mx.google.com; spf=pass (google.com: domain of owner-freebsd-multimedia@freebsd.org designates 69.147.83.53 as permitted sender) smtp.mail=owner-freebsd-multimedia@freebsd.org Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id BC712155671; Wed, 9 Jun 2010 11:41:07 +0000 (UTC) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id EAA8E10656CC; Wed, 9 Jun 2010 11:41:06 +0000 (UTC) (envelope-from owner-freebsd-multimedia@freebsd.org) 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 395621065674; Wed, 9 Jun 2010 11:40:58 +0000 (UTC) (envelope-from wiz@danbala.tuwien.ac.at) Received: from danbala.tuwien.ac.at (danbala.ifoer.tuwien.ac.at [128.130.168.64]) by mx1.freebsd.org (Postfix) with ESMTP id F06E18FC1B; Wed, 9 Jun 2010 11:40:57 +0000 (UTC) Received: by danbala.tuwien.ac.at (Postfix, from userid 116) id C4CB839086A; Wed, 9 Jun 2010 13:40:56 +0200 (MEST) Date: Wed, 9 Jun 2010 13:40:56 +0200 From: Thomas Klausner To: Stefan Ehmann Message-ID: <20100609114056.GI16352@danbala.tuwien.ac.at> References: <20100513233437.GR27722@danbala.tuwien.ac.at> <201005140906.56328.shoesoft@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201005140906.56328.shoesoft@gmx.net> Cc: freebsd-multimedia@freebsd.org, edwin@mavetju.org, beat@freebsd.org 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: , Sender: owner-freebsd-multimedia@freebsd.org Errors-To: owner-freebsd-multimedia@freebsd.org On Fri, May 14, 2010 at 09:06:56AM +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. I met beat@ a few days ago at pkgsrccon and we looked at it. Neither pvr250 nor pvrxxx from ports compiled on his 8.0; it looks like additional changes are needed to adapt it to driver call signature changes in 8.0. beat agreed to take a look at it, I don't know how far he progressed. Cheers, Thomas _______________________________________________ freebsd-multimedia@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia To unsubscribe, send any mail to "freebsd-multimedia-unsubscribe@freebsd.org" --82I3+IH0IqGh5yIs--