Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Dec 1998 17:26:43 -0500 (EST)
From:      ADRIAN Filipi-Martin <adrian@ubergeeks.com>
To:        Roger Hardiman <roger@cs.strath.ac.uk>
Cc:        freebsd-multimedia@FreeBSD.ORG
Subject:   Re: hauppauge wintv question
Message-ID:  <Pine.BSF.3.96.981202155152.9974B-100000@lorax.ubergeeks.com>
In-Reply-To: <36651B3D.41C6@cs.strath.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2 Dec 1998, Roger Hardiman wrote:

> Adrian,
> 
> > I've put the "device bktr" line in my kernel config and installed
> > a new kernel, yet I see no evidence that the device is being probed for.
> > This board has a bt878 on it (model 00401), but I believe this is
> > supported.  FYI, I'm running 2.2-STABLE from a few days ago.
> 
> 
> On 2.2.x (or 2.2-stable) the Bt878 is NOT supported.
> It is supported on 3.0-RELEASE and 3.0-current.
> 
> Fortunatly you can get support for your card by downloading the
> files from
> ftp://telepresence.dmem.strath.ac.uk/pub/bt848/22x and
> replacing the files in your source tree.

	Thanks.  I didn't realize the bt878 wasn't supported under 2.2.x. 
Your drivers worked just fine with the following patch.  FYI, I'm running
2.2-STABLE as of this afternoon. 

thanks again,

	Adrian
--
[ adrian@ubergeeks.com -- Ubergeeks Consulting -- http://www.ubergeeks.com/ ]

--- brooktree848.c.orig Fri Sep 25 04:30:24 1998
+++ brooktree848.c      Wed Dec  2 12:42:55 1998
@@ -531,7 +531,7 @@
 int    bktr_read __P((dev_t, struct uio *, int));
 int    bktr_write __P((dev_t, struct uio *, int));
 int    bktr_ioctl __P((dev_t, ioctl_cmd_t, caddr_t, int, struct proc *));
-int    bktr_mmap __P((dev_t, int, int));
+int    bktr_mmap __P((dev_t, vm_offset_t, int));
 
 struct devsw bktrsw = {
        &bktrcd,
@@ -2991,7 +2991,7 @@
  * 
  */
 int
-bktr_mmap( dev_t dev, int offset, int nprot )
+bktr_mmap( dev_t dev, vm_offset_t offset, int nprot )
 {
        int             unit;
        bktr_ptr_t      bktr;



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.981202155152.9974B-100000>