Skip to contentSkip to conversation

Driver migration question

DISCUSSION Georg Nikodym 2 participants 2 messages Jan 24, 2001 – Jan 25, 2001

lore
Share & tools
lore
#0 lore raw

So, rather than repeated ask questions of the form:

	How do I change X (a 2.2 thingy in my driver) to the blessed
	form on 2.4.x?

I'm wondering if there's a driver in the kernel tree that somebody can point to and say, "This is how drivers should be done." In particular, I'm interested in networking drivers but any non-trivial driver will do.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#1 lore raw

The way drivers have to be done is mixed of two aspects:
1. The way you do drivers and
2. the way the driver works.
You should also try not to rewrite existing functions for not to get a mess of e.g. memory allocation functions that do the same but have different names.

Quoted 6 lines · Georg Nikodym

So, rather than repeated ask questions of the form:

How do I change X (a 2.2 thingy in my driver) to the blessed form on 2.4.x?

Quoted 8 lines

I'm wondering if there's a driver in the kernel tree that somebody can point to and say, "This is how drivers should be done." In particular, I'm interested in networking drivers but any non-trivial driver will do.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/