Re: OT? Is this bad news?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <misc@...>
Cc: Nick ! <kousue@...>
Date: Wednesday, February 14, 2007 - 1:19 pm

On 2/14/07, Nick ! wrote:

We have seen this happen in the past. A couple of examples have
already been given, such as when one particular BSD project went under
NDA with one particular storage adapter manufacturer and came out with
crap drivers for the community. This has also been an item of HUGE
debate over the last couple of years in this project's community.
Search archives and Undeadly for specifics. I'm providing a couple of
resources in this posting.

> "[NDAs] are usually signed either to keep information about the

Read: the _created code_ is to be released. Not the _docs_ and
_specifications_ that led to the code.

What do you think helps keep driver code maintainable and improved as
time goes on? Code itself, or documentation and specifications?

> nothing will be obfuscated

This statement is wrong and just plain idiotic. Something is
obfuscated; the original specifications from which working,
maintainable drivers can be written. The code itself *is* obfuscation.

This is the reason our community doesn't petition hardware
manufacturers to give us driver source code; it's nearly useless.

> He might *actually* be telling the truth. Maybe not all NDAs are

Don't make excuses for the project guy (as well intentioned as he may
be), and certainly don't make excuses for the hardware vendors who
screw their customer base. The code will be readable to some degree,
without a doubt, but it will *not* accurately provide implementation
documentation so that a working, maintainable driver can be authored
by other open source projects. Driver code can be filled with magic
numbers, meaningless constants, and inadequate commenting that results
in a working implementation for the Linux kernel source tree but
insufficient information for reverse engineering that crap for any
other implementation.

In short, it's next to useless.

> Also, please educate me: couldn't a BSD driver be created by using the

That *has* been the approach in many cases. And it sucks.

http://www.openbsd.org/papers/opencon06-docs/index.html
http://kerneltrap.org/node/6550
http://kerneltrap.org/node/7184
http://kerneltrap.org/node/6497

DS

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: OT? Is this bad news?, Darren Spruell, (Wed Feb 14, 12:24 am)
Re: OT? Is this bad news?, Han Boetes, (Wed Feb 14, 1:42 am)
Re: OT? Is this bad news?, Steven, (Wed Feb 14, 3:01 am)
Re: OT? Is this bad news?, Nick !, (Wed Feb 14, 11:42 am)
Re: OT? Is this bad news?, Darren Spruell, (Wed Feb 14, 1:19 pm)
Re: OT? Is this bad news?, Rod Dorman, (Wed Feb 14, 1:15 pm)
Re: OT? Is this bad news?, Marius ROMAN, (Wed Feb 14, 1:31 pm)
Re: OT? Is this bad news?, Karel Kulhavy, (Mon Mar 19, 8:44 am)
Re: OT? Is this bad news?, Hannah Schroeter, (Wed Feb 14, 1:04 pm)
Re: OT? Is this bad news?, Neil Joseph Schelly, (Wed Feb 14, 12:56 pm)
Re: OT? Is this bad news?, Darren Spruell, (Wed Feb 14, 1:24 pm)
Re: OT? Is this bad news?, Neil Joseph Schelly, (Wed Feb 14, 4:22 pm)
Re: OT? Is this bad news?, Darren Spruell, (Wed Feb 14, 2:39 am)
Re: OT? Is this bad news?, Han Boetes, (Wed Feb 14, 4:42 am)
Re: OT? Is this bad news?, Chris Kuethe, (Wed Feb 14, 2:31 am)