Helmut Auer wrote: > Michal Semler wrote: > >> >> _______________________________________________ >> >> linux-dvb@xxxxxxxxxxx >> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb >> >> > I Don't know what you want to say, but on my System the current DVB cvs > does NOT compile with kernel 2.6.12: > > /usr/local/src/dvb-kernel-050619/build-2.6/saa7146_video.c: In function > `saa7146_video_do_ioctl': > /usr/local/src/dvb-kernel-050619/build-2.6/saa7146_video.c:892: error: > structure has no member named `slot_name' > make[3]: *** > [/usr/local/src/dvb-kernel-050619/build-2.6/saa7146_video.o] Error 1 > make[2]: *** [_module_/usr/local/src/dvb-kernel-050619/build-2.6] Error 2 > make[2]: Leaving directory `/usr/src/linux-2.6.12-gentoo' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/usr/local/src/dvb-kernel-050619/build-2.6' > > This should be in there.. --- dvb-kernel/linux/drivers/media/common/saa7146_video.c.orig 2005-05-07 04:13:11.000000000 -0700 +++ dvb-kernel/linux/drivers/media/common/saa7146_video.c 2005-05-07 04:09:06.000000000 -0700 @@ -889,7 +889,11 @@ strcpy(cap->driver, "saa7146 v4l2"); strlcpy(cap->card, dev->ext->name, sizeof(cap->card)); +#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,11)) + sprintf(cap->bus_info,"PCI:%s", pci_name(dev->pci)); +#else sprintf(cap->bus_info,"PCI:%s",dev->pci->slot_name); +#endif cap->version = SAA7146_VERSION_CODE; cap->capabilities = V4L2_CAP_VIDEO_CAPTURE |