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."
Thread beginning with comment 257121
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE: Full circle...
by somebody on Sun 22nd Jul 2007 01:26 UTC in reply to "Full circle..."
somebody
Member since:
2005-07-07

I think it has more to do with politics than anything else.

Linus and kernel developers were not really enthusiastic about GPLv3 and its restrictions. This way kernel gets out with model that is even more free (just as Linus was ranting not so long ago) than before even if they would relicense it as GPLv3. Linus has shown a lot of willfulness towards companies developing drivers for linux and this would be it. But without ABI stability there are still needs for source to be recompiled for each kernel version (or at least wrapper part).

Reply Parent Score: 5

RE[2]: Full circle...
by hobgoblin on Sun 22nd Jul 2007 01:49 in reply to "RE: Full circle..."
hobgoblin Member since:
2005-07-06

well the wrapper is a lesser issue as it will probably not have to change much to interface with the kernel.

i just wonder what this will have to say for ati and nvidia drivers.

never mind, i see from the linked article that there are some issues with DMA and this system. to bad. but its a start ;)

Edited 2007-07-22 01:51

Reply Parent Score: 3

RE[2]: Full circle...
by MamiyaOtaru on Sun 22nd Jul 2007 23:22 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