[linux-dvb] [akpm@xxxxxxxx: [linux-dvb-maintainer] Fw: [Bugme-new] [Bug 4370] New: Pinnacle PCI SAT-TV card: cx24110 frontend ioctl32 error]

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

 



Luca Abeni <lucabe72@xxxxxxxx> :
[...]
> I tried to have a look, but .ioctl and .compat_ioctl have different
> prototypes (I see that .compat_ioctl has the same prototype as
> .unlocked_ioctl).
> 
> Anyway, I tried a quick hack without knowing the code, just for fun...
> And something like the attached patch works for me (2.6.11 kernel on
> AMD64, and a Skystar2 card). I do not think this is the cleanest
> possible solution, but with this patch a 32bit dvbtune works:

You can probably factor it in
drivers/media/dvb/dvb-core/dvbdev.c::dvb_register_device()
(i.e. plug your almost-generic .compat_ioctl into dvbdev->fops right after
the memcpy).

--
Ueimor



[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux