Mailing List archive

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

[mpeg2] KFir and kernel 2.4.19 / 2.4.20



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





Home | Main Index | Thread Index