Language Selection

English French German Italian Portuguese Spanish

Linux kernel 2.6.23 to have stable userspace driver API

Filed under
Linux

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 digiKam 6.0.0 is released Rianne Schestowitz 1 20/02/2019 - 2:14am
Story Leftovers: Windows 10 Being Called "Linux" (Again), Linux Foundation Controls TNS, Mozilla Developer Tools and LibreOffice at FOSDEM 2019 Roy Schestowitz 1 20/02/2019 - 2:11am
Story Kali Linux 2019.1 Release Roy Schestowitz 4 20/02/2019 - 1:30am
Story Linux-powered robot kit aims for sweet spot between pro and kid products Rianne Schestowitz 19/02/2019 - 10:35pm
Story Android Leftovers Rianne Schestowitz 19/02/2019 - 8:50pm
Story Red Hat on Middleware, RHEL AUDITD, and More Security Issues Roy Schestowitz 19/02/2019 - 5:24pm
Story Vulkan/DXVK and More GNU/Linux Games (Native) Roy Schestowitz 19/02/2019 - 5:21pm
Story Software and HowTos: Organizer, Handbrake, Logical & in Bash and Python Roy Schestowitz 19/02/2019 - 5:19pm
Story Fedora: ImageMagick, Flathub, Ansible and More Roy Schestowitz 2 19/02/2019 - 5:12pm
Story Android Leftovers Rianne Schestowitz 19/02/2019 - 4:55pm