linux_device_drivers_tutorial
linux_device_drivers_tutorial copied to clipboard
Separate 2.x modules from 3.x modules
What about create 2 folders and each contain their own module version? e.g.
- 2.x/
- hello 2.x module
- [ more 2.x modules here ]
- 3.x/
- hello 3.x module
- [ same modules than 2.x but 3.x version]
- This would make easier to compare same module for 2.x and 3.x versions.
- It also let us know clearly wich module hasn't been ported yet
That will be great , just take into consideration that not all the soruce code change ( specually the basic ones ) . All the current ones are working either on 2.x and 3.x.
You know what am I seeing comming ??? A nice vagrant box with multiple kernel versions or evne better a "tool" where you coudl specify the kernel you want to test :) . But that will be in the ling ( jsut kiding ) future.
Anyway , yes , please go ahead , and split them if you want , remmeber to adjust the Makefile to that.
On the other hand . It will be nice to create a udev char driver. I will create the feature :)