LWN.net Logo

Linux kernel design patterns - part 3

Linux kernel design patterns - part 3

Posted Jun 23, 2009 11:39 UTC (Tue) by michaeljt (subscriber, #39183)
Parent article: Linux kernel design patterns - part 3

The Windows device driver model (where it is well done) provides a different and interesting approach - splitting the drivers into a top layer, which is shared by several low-level drivers, and replaces the middle layer described in this article, and the low-level bottom layer drivers. Rather than evolve the middle layer to handle new usage cases, you can just write a new top layer driver to handle the new case if that makes sense.

It also lets you insert other drivers into the driver stack at a later point to expand on the existing functionality, but that is another story.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds