On Thu, Dec 09, 2004 at 08:45:42AM +0900, li xinyi wrote:
> 
> I beliebe that OOA/OOD or other software engineering skills also apply
> to device driver development, though C by nature is not an OO
> language.

The Linux kernel uses OO design elements throughout it.  Look at how we
handle inheritance, overloading, and other fun stuff.

> This is what I want to figure out, to create a model for USB
> driver with notation like UML (to help understand it and further
> development).

Have you looked at the usb-skeleton.c driver?  It is a good example
driver and is a good place to start.

> Has anyone done this before? Wouldnt a design doc or
> design Model for device driver be nice?

It would.  But any such model or document the isn't somehow
automatically generated by the source doe (like our current kerneldoc
stuff is) would quickly get out of date.

Good luck,

greg k-h


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to