Linked by Thom Holwerda on Sun 22nd Jul 2007 00:33 UTC, submitted by liquidat
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 were 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."
Permalink for comment 257332
To read all comments associated with this story, please click here.
RE[2]: Full circle...
by MamiyaOtaru on Sun 22nd Jul 2007 23:22 UTC in reply to "RE: Full circle..."
MamiyaOtaru
Member since:
2005-11-11

But without ABI stability there are still needs for source to be recompiled for each kernel version (emphasis added)

In the past, this has been considered by some to be desirable, including (I thought)Greg Kroah-Hartman (see http://www.mjmwired.net/kernel/Documentation/stable_api_nonsense.tx... ), of which he is the author, or http://thread.gmane.org/gmane.linux.kernel/475654/focus=475727 ).

I'm just rather surprised to see GKH involved in an effort that has the side effect of making binary drivers easier. Re-reading the links I posted, it seems more like GKH supported efforts to allow only GPL drivers to be loaded because he is against binary drivers in kernel space, so it makes a little more sense now to see him working on allowing non GPL drivers in user space.

Seriously though, I have a hard time seeing the sense in it all. Intel's 3945 wireless driver ( http://ipw3945.sourceforge.net/ ) caught a lot of flack for relying on a binary userspace component. What is this new development if not an enabler for such behavior?

I obviously don't understand the issue as well as a lot of people, so I am quite happy I am not involved in the decisions. Curiosity remains however ;)

Reply Parent Score: 3