Hello Everyone, I've been following this discussion for a while. I'm also working on getting USB working on an isp1160 chip on a power pc platform. Since I couldn't find any official drivers for this chip, I am encouraged that there is some progress in this area. So I went ahead and downloaded Lothar's emu and isp1362 patches and applied them to my code base, which was not quite as straightforward as I had hoped. I'm using a 2.6.6 kernel (sorry, can't really change that), so the emu patch didn't patch cleanly, as the code base in the usb/host directory has changed from 2.6.6 to 2.6.8. So I applied it to 2.6.8 and directory diff'ed the changes and manually moved over what seemed relevant.
After running into the same issues already discussed (ohci_chip_info, DDPRINT, ...) in this thread and making the neccessary changes to compile on my platform, I've got the driver compiling and I am able to read basic registers on the device, but I don't think my driver gets fully initialized. So, I have a few questions/observations: * ohci_hcd_isp1362_init() doesn't do the actual HCD initialization. That seems to happen in ohci_hcd_isp1362_drv_probe(). However, in my system this function never seems to get called. It gets assigned to the fn ptr ohci_hcd_isp1362_driver.probe, which gets called in bus_probe, which gets assigned to driver.probe. The device_driver driver gets registered in hc_isp1362_driver_register. I don't know how device_driver.probe gets called. What is the easiest way to to get this function called properly? I'm not familiar with how USB probes drivers and devices. * When I was compiling the driver, I did not find any references to include any of the provided header files in the isp1362 patch. How did anyone get the driver to compile without these? Am I missing something? * platform_get_resource() and platform_get_irq() were introduced in kernel 2.6.8.1 (or there abouts), so I did not have access to them in 2.6.6. I've copied these functions into the driver, since all the underlying structures and defines seemed to exist already. Is this safe? It seems there has been quite a bit of traffic on this thread over the last while. Would it make sense to have a separate mailing list for this discussion? Not everyone else would be interested in these developments. Thanks, Philipp Schmid ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
