enjoy-digital / litepcie

Small footprint and configurable PCIe core
Other
484 stars 119 forks source link

litepcie/software/kernel: updated main.c to support Linux kernel 6.5 #124

Closed Johnsel closed 9 months ago

Johnsel commented 10 months ago

Linux Kernel 6.5 has slightly different syntax related to creating a class, which I ifdef-ed so the the driver will compile against the latest kernels.

Johnsel commented 9 months ago

This should have been >= 6.4.0 instead. I will correct it shortly

enjoy-digital commented 9 months ago

Thanks @Johnsel, this is merged (and lowered to 6.4.0) with https://github.com/enjoy-digital/litepcie/commit/67d818c3414b4ebf457b6d4e1c83458ef86f8d21.