On Mon, 31 Jul 2006, Aleksey Gorelov wrote: > > What code duplication? Doing it the way I suggested doesn't require > > adding any new code at all. You, on the other hand, added several > > routines for bus glue that does virtually nothing. > > But you can not use exactly same shutdown function with both pci and > platform glue. You need to > convert pci/platform device to hcd anyway, right ? So this will add 2 doing > 'virtually nothing' > routines anyway (unless you just want to duplicate the code of shutdown > routine for for platform > glue). For ohci, you would need to do the same, hence 2 more routines, 4 > total. With bus glue, I > added just 2. Am I missing something here ?
Okay, now I understand your point. Yes, it makes sense to do it your way. Alan Stern ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel