Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Sep 2007 09:12:10 -0500 (CDT)
From:      Mark Tinguely <tinguely@casselton.net>
To:        josema.alvarez@gmail.com, tinguely@casselton.net
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: KDM-4400 Video Capture
Message-ID:  <200709191412.l8JECAqu053217@casselton.net>
In-Reply-To: <71f6587f0709190701k3aa97b7cyb90311b25f01885e@mail.gmail.com>

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

>  Thanks Mark, I have downloaded the patch and I apply it. When I build
>  the kernel, the system print me this error:
>
>  /usr/src/sys/dev/bktr/bktr_core.c: In function `common_ioctl':
>  /usr/src/sys/dev/bktr/bktr_core.c:2507: error: structure has no member

Sorry, the FreeBSD 6.x, -current use the same patch, but there can be
slight changes in the structures. I bet the sys/dev/bktr/bktr_reg.h patch
did not apply cleanly.

Edit the file and place the following at the bottom of the bktr_softc
structure:

    struct bktr_softc   *kmaster;
    unsigned char       kunit;
    unsigned char       kinput;
    unsigned char       koutput;
#if (__FreeBSD_version >= 500000)
    struct mtx  kmutex;  /* per card crossbar changing Mutex */
#endif


Also, the sys/dev/bktr/ioctl_bt848.h must be copied to /usr/include/dev/bktr
for the application to pick up the new ioctl values.

--Mark Tinguely



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