Open leragequit opened 1 year ago
You should probably condition this with the kernel version to keep backward compatibility
Eaxamples available in code:
#if KERNEL_VERSION(4, 13, 0) <= LINUX_VERSION_CODE
Hey @alonbl ,
unfortunately I forgot all about this and don't have a 4.13 system to test right now. Is this something you can do trivially or should i try to look into this at some point in the future when more time is available?
Best regards,
Sascha
Fixed with commit 9cdc9e335d51dc4e0e9d9fd6b4592ae55e30de72
added compatibility for 6.1 and 6.6 kernel
Hi there,
I had tried in Ubuntu 22.04.4 LTS with 6.5.0 kernel version and is not working.
It is the same error that I am facing when using the master branch.
Am I doing something wrong? Did you test it with this kernel version?
I was having trouble getting the driver to compile on my raspberry pi
with this patch its working again. adjusted caio->iocb->ki_complete call to the new function signature if compiled on kernel >= 5.16
and switched the deprecated pci_unmap_sg to the new dma_unmap_sg as well as the set_dma_mask functions