enjoy-digital / litepcie

Small footprint and configurable PCIe core
Other
449 stars 110 forks source link

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

Closed Johnsel closed 4 months ago

Johnsel commented 5 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 4 months ago

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

enjoy-digital commented 4 months ago

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