On Thu, 1 Aug 2013, Oliver Neukum wrote: > On Thu, 2013-08-01 at 17:13 +0800, Chen Wang wrote: > > hello, > > I'm reading code of usb core and driver model/sysfs. I believe they are > > designed with OOP. > > Yes, much of the code is OO. However, we usually > don't overwrite methods. > > > So, do we have any UML design diagrams for better > > No. The code was designed without diagrams. > > > understanding? I can't image newbies can ramp up quickly in front of > > such tons of codes without a high-level design guidance, though I > > believe I can understand them finally after days ;). > > You can write a USB driver without understanding driver > core. The driver core is needed only to understand > probing and power management in usbcore. On the other hand, patches to improve the documentation are always welcome. :-) Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html