[tk@giga.or.at: Re: multimedia/pvr250 port doesn't compile on FreeBSD 8]

Stephen Blott sblott at computing.dcu.ie
Wed Jun 9 15:32:14 UTC 2010


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.



-------------- next part --------------
An embedded message was scrubbed...
From: Thomas Klausner <tk at giga.or.at>
Subject: Re: multimedia/pvr250 port doesn't compile on FreeBSD 8
Date: Wed, 9 Jun 2010 13:40:56 +0200
Size: 4926
Url: http://lists.freebsd.org/pipermail/freebsd-multimedia/attachments/20100609/8617fb9a/attachment.eml


More information about the freebsd-multimedia mailing list