Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jun 2010 16:12:11 +0100
From:      Stephen Blott <sblott@computing.dcu.ie>
To:        freebsd-multimedia@freebsd.org
Subject:   [tk@giga.or.at: Re: multimedia/pvr250 port doesn't compile on FreeBSD 8]
Message-ID:  <20100609151211.GA89536@computing.dcu.ie>

next in thread | raw e-mail | index | archive | help

--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: <smblott+caf_=sblott=computing.dcu.ie@gmail.com>
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 <sblott@computing.dcu.ie>; Wed, 9 Jun 2010 12:41:35 +0100 (IST)
Received: by wwb13 with SMTP id 13so563026wwb.18
	for <sblott@computing.dcu.ie>; 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 <tk@giga.or.at>
To: Stefan Ehmann <shoesoft@gmx.net>
Message-ID: <20100609114056.GI16352@danbala.tuwien.ac.at>
References: <20100513233437.GR27722@danbala.tuwien.ac.at>
	<sfid-H20100514-090707-+053.74-1@spamfilter.osbf.lua>
	<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 <freebsd-multimedia.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia>, 
	<mailto:freebsd-multimedia-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-multimedia>;
List-Post: <mailto:freebsd-multimedia@freebsd.org>
List-Help: <mailto:freebsd-multimedia-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia>, 
	<mailto:freebsd-multimedia-request@freebsd.org?subject=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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100609151211.GA89536>