Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[mpeg2] Re: KFir and kernel 2.4.19 / 2.4.20



Richard,

I noticed the same thing.
I removed the busy field like you did for 2.4.19
(I've updated cvs as well)

The kfir card works fine for me under 2.4.19

Anything else you changed since 2.4.18?
Maybe SMP/non-SMP?
Maybe a different PCI slot for your kfir?

  Bram


On Tue, 17 Dec 2002 09:58:14 +0100
"Richard Reuters" <lists@Reuters-IT.com> wrote:

> Hi,
> 
> I asked this some time ago, but no feedback.
> 
> Is anyone using the kfir drivers with kernel 2.4.19 or 2.4.20?
> 
> I'm using the latest drivers from the cvs tree and have problems running the
> kfir board under one of the above kernels. I have no problems with 2.4.18,
> but have to use a newer kernel due to hardware support for my motherboard.
> 
> In 2.4.19 the v4l interface changed. When compiling there is an error,
> telling that there is no "busy" in struct video_device. When deleting "busy"
> around line 2550 in kfir.c (a similar approach was successful when using the
> dvb drivers and switching to 2.4.19 some time ago):
> 
> /* template for video_device-structure */
> static struct video_device kfir_template = {
> owner:	      THIS_MODULE,
> name:         "Kfir",
> type:         VID_TYPE_MPEG_ENCODER,
> hardware:     VID_HARDWARE_SAA7146,  //FIXME: need to get VID_HARDWARE_KFIR
> registered
> open:         kfir_open,
> close:        kfir_close,
> read:         kfir_read,
> write:        kfir_write,
> poll:	      kfir_poll,
> ioctl:	      kfir_ioctl,
> mmap:         kfir_mmap,
> initialize:   kfir_init_done,
> priv:         NULL,
> // busy:         0,
> minor:        0,
> };
> 
> the driver compiles, but I have a complete machine lockup when loading the
> driver. After adding some debug output this seems to happen in AlteraReset()
> after interrupt manipulation
> 
> 	// Mask interupts in Altera.
> 	waltl(ALT_ADR_INT_MASK, 0);
> 
> Any solution?
> 
> --
> Reuters IT
> Buchenweg 2
> 52441 Linnich
> Germany
> 
> www.Reuters-IT.com
> 
> 
> 


-- 
------------------------------------------------------------------------------
 Bram Stolk, VR Specialist.
 SARA Academic Computing Services Amsterdam, PO Box 94613, 1090 GP  AMSTERDAM
 email: bram@sara.nl   Phone +31-20-5923059  Fax +31-20-6683167

 "I heard if you play the NT-4.0-CD backwards, you get a satanic message."
 "Thats nothing, if you play it forward, it installs NT-4.0"
------------------------------------------------------------------------------




Home | Main Index | Thread Index