Moving from Binary Drivers to Open Source?
GerryGilmore asks: "We are a division, specializing in telecommunications equipment, of a very large hardware manufacturer. Our equipment, DSP and PSTN boards, has been supported under Linux through a set of binary driver modules and binary libraries implementing our API set. We are in the process of migrating to a completely open source-based software infrastructure to be more in sync with the rest of the Linux industry. However, not having any real experience with moving from proprietary to an open source model, we wanted to see if the Slashdot crowd has any similar experiences to share: The Good; The Bad; The Ugly; and how best to avoid the most common pitfalls."
The worse thing i've seen in a (Windows) driver.
// stage 1 // stuff here // stage 2 // stuff here // stage 3 // lameness filter mary had a little lab, blah, bla, 1 3 5 7 11 13 17 19 23 29 31
for (i=0;i10;i++) {
switch(i) {
case 1:
case 2:
case 3:
}
}
how long until
be sure you dont have any SCO code in there ;)
...lots of closed source contains rather dodgy comments that you might not want to be public.
Hehe.. very true. My favorite one:
"Sane people do things like this?"
Only to idiots, are orders laws.
-- Henning von Tresckow
Or things like...
//WARNING! We do not know what the following code does!
//But do NOT remove that extra semi-colon whatever you do
or...
//TODO: Change from inefficient inept implementation to sane one
What do you mean, "if"?