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 257141
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[3]: I wonder...
by kaiwai on Sun 22nd Jul 2007 02:42 UTC in reply to "RE[2]: I wonder..."
kaiwai
Member since:
2005-07-06

You seem to left out an important verb. They seem to what the cardinal rule? ^^;


Design, design, design, document, document, document - rinse and repeat until you're confident enough that the design is robust enough to be forwards compatible and allow future development without needing to continuously throw out old code because the original design was flawed.

Reply Parent Score: 5

RE[4]: I wonder...
by bnolsen on Sun 22nd Jul 2007 02:59 in reply to "RE[3]: I wonder..."
bnolsen Member since:
2006-01-06

Umm...that mentality has big problems....nothing gets produced or an over engineered POS is designed.

Tere's always compromises to be made.

And there's a lot to be said about getting something out there that people can chew on and give you feedback on instead of just sitting around a table talking.

Reply Parent Score: 4

RE[5]: I wonder...
by kaiwai on Sun 22nd Jul 2007 04:36 in reply to "RE[4]: I wonder..."
kaiwai Member since:
2005-07-06

Umm...that mentality has big problems....nothing gets produced or an over engineered POS is designed.

There's always compromises to be made.

And there's a lot to be said about getting something out there that people can chew on and give you feedback on instead of just sitting around a table talking.


Oh, come on. The above is the equivalent of invading Iraq and failing to do the research before hand - now look what has happened.

Same thing if you don't investigate, document and design - you end up with a giant cluster f--k that becomes so hacked, so badly managed you're forced to chuck out the whole thing and replace it - thus costing money, thus very inefficient.

If things are properly documented, properly designed, they can be maintained for the long term rather than the short term gratification of the programmer in question.

If Linux developers and users want to get it as a viable desktop operating system, the above approach is completely ridiculous; simply throwing things out every couple of months or years because someone didn't do their homework.

Write a program, and do it right the first time.

Reply Parent Score: 5

RE[4]: I wonder...
by Dima on Sun 22nd Jul 2007 07:29 in reply to "RE[3]: I wonder..."
Dima Member since:
2006-04-06

Design, design, design, document, document, document

Developers, developers, developers!

Reply Parent Score: 5

RE[4]: I wonder...
by vegai on Sun 22nd Jul 2007 12:31 in reply to "RE[3]: I wonder..."
vegai Member since:
2005-12-25

Perhaps you are forgetting that this is not an ordinary company project. They can actually afford to throw out old code, and throwing out old code is sometimes a very good idea.

Reply Parent Score: 2

RE[4]: I wonder...
by stestagg on Sun 22nd Jul 2007 15:26 in reply to "RE[3]: I wonder..."
stestagg Member since:
2006-06-03

That's kinda what is happening. We're in one of your design phases at the moment (I'm not sure that we'll ever get to the document stage properly), and the public (that's you) is being invited to contribute to the design, redesign process. The point about community projects, is that processes that usually happen behind closed doors, happen in public. This helps prevent situations where software releases take 7 years, and still need lots of trivial problems to be ironed out upon release.

Reply Parent Score: 2