" error unknown field 'ioctl' " while compiling a driver for Kernel 2.6.38.8
Hello,
I try to compile a driver module of a PCI/VME adapter card (Model 616 from GE-IP/formerly SBS) for Kernel Version 2.38.8. This driver was developed for Kernel 2.6.32 and worked fine with this kernel version. Now, if I try to compile for version 2.6.38.8 (which I need for specific reasons) it does not compile anymore. There is an error "unknown field 'ioctl' ".
I already googled a bit an found out, that is has to do with the remove of the Big Kernel Lock (BKL) and the field ioctl in Kernel >= 2.6.37. One should use unlocked_ioctl and remove locking kernel code from the driver. If it is not really necessary, I want to avoid trying to port the driver, because I am not an experienced driver hacker.
Is there a possibility to use older drivers (with BKL and ioctl) in Kernel 2.6.38?
I have seen, that in Kernel 2.6.38 there is still a kernel config option for BKL, which can be set to YES to enable BKL for older drivers. Is there a possibility to configure the kernel, so that the field ioctl is available? Then I could still use my older driver for kernel 2.6.38.8.
Thanks and best regards
michael
|