Language Selection

English French German Italian Portuguese Spanish

Linux kernel 2.6.23 to have stable userspace driver API

Filed under

Linus Torvalds included patches into the mainline tree which implement a stable userspace driver API into the Linux kernel.

The stable driver API was already announced a year ago by Greg Kroah-Hartman. Now the last patches where uploaded and the API was included in Linus’ tree. The idea of the API is to make life easier for driver developers:

"This interface allows the ability to write the majority of a driver in userspace with only a very small shell of a driver in the kernel itself. It uses a char device and sysfs to interact with a userspace process to process interrupts and control memory accesses."

Since future drivers using this API will run mainly in userspace there is no need to open up the source code for these parts. Also, drivers can be re-used even after kernel changes because the API will remain stable.

The background motivation for the inclusion of such a stable API comes form the embedded world.

more here

More in Tux Machines

Type Title Author Replies Last Postsort icon
Story Android Leftovers Rianne Schestowitz 23/10/2018 - 12:23am
Story Tiny NanoPi Duo2 SBC offers camera connector Rianne Schestowitz 23/10/2018 - 12:06am
Story today's leftovers Roy Schestowitz 22/10/2018 - 10:24pm
Story Red Hat: OpenShift and Awards Roy Schestowitz 22/10/2018 - 10:23pm
Story today's howtos Roy Schestowitz 22/10/2018 - 10:21pm
Story OSS Leftovers Roy Schestowitz 22/10/2018 - 10:15pm
Story Security: Telstra, Google+ and Facebook Incidents, and Latest Updates Roy Schestowitz 22/10/2018 - 10:12pm
Story Linus Torvalds is Back Roy Schestowitz 3 22/10/2018 - 9:44pm
Story Variables in BASH - Learn BASH | Part 2 Mohd Sohail 22/10/2018 - 9:36pm
Story Linux 4.19 Roy Schestowitz 2 22/10/2018 - 8:52pm