multimedia/pvr250 port doesn't compile on FreeBSD 8
shoesoft at gmx.net
Fri May 21 07:35:19 UTC 2010
On Thursday 20 May 2010 21:52:35 Torfinn Ingolfsen wrote:
> > > 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 at kg-fil# grep DRIVER ./work/dev/cxm/cxm_i2c.c
> DRIVER_MODULE(cxm_iic, cxm, cxm_iic_driver, cxm_iic_devclass, 0, 0);
> root at 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 at kg-fil.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64
> Do I also need to "hack" minor?
These lines are not the same. You need them both:
--- pvrxxx.orig/dev/cxm/cxm_i2c.c 2009-12-05 13:31:54.000000000 +0100
+++ pvrxxx/work/dev/cxm/cxm_i2c.c 2009-12-01 08:52:29.000000000 +0100
@@ -131,6 +131,7 @@
DRIVER_MODULE(cxm_iic, cxm, cxm_iic_driver, cxm_iic_devclass, 0, 0);
+DRIVER_MODULE(iicbb, cxm_iic, iicbb_driver, iicbb_devclass, 0, 0);
More information about the freebsd-multimedia