and move that to the end of ohci.h? Also: the comments assuming PCI should go; so should the dbg() macros (use pr_debug or ohci_dbg); didn't apply on 2.6.5-mm.
This doesn't make sense to me. Can you try again?
You call dbg("..."); don't. Use ohci_dbg() or maybe dev_dbg() when driver model style diagnostics can work (you have a device, etc); use pr_debug() otherwise.
And there were comments you had copied/pasted, which made no sense since this isn't a PCI device ...
I like the way this uses platform_bus instead of a chip-specific bus. In fact, only the clock start/stop looks particularly specific to the LH7A404 -- so far!
That's true. It makes me wonder if it might be worth it to factor out some of this code. For example, we could declare some of it as generic_ and then refer to it with small wrappers that don't incure any code overhead.
I had the same thought. If you want to, feel free ... it's more likely to get re-used if generic stuff is factored out, and I suspect a fair amount of SOC OHCI shouldn't need anything more.
- Dave
- Dave
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel