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