The patch works with one USB port, but with two USB simultaneously
something wrong happens.

I changed the driver_mipscore.c to enable SSB_DEV_USB11_HOST for bcm5354
at this line (208): 
 

if (((bus->chip_id == 0x4710) || (bus->chip_id == 0x5354)) && (irq <=
4))

instead

if (((bus->chip_id == 0x4710) && (irq <= 4))


and it seems work fine!!!!


 for (irq = 2, i = 0; i < bus->nr_devices; i++) {
                dev = &(bus->devices[i]);
                dev->irq = ssb_mips_irq(dev) + 2;
                switch (dev->id.coreid) {
                case SSB_DEV_USB11_HOST:
                        /* shouldn't need a separate irq line for
non-4710, most of them have a proper
                         * external usb controller on the pci */
                        if (((bus->chip_id == 0x4710) || (bus->chip_id
== 0x5354)) && (irq <= 4)) {
                                set_irq(dev, irq++);
                                break;
                        }
                        /* fallthrough */
                case SSB_DEV_PCI:
....
....
....


On Mon, 2008-06-09 at 05:19 -0700, Steve Brown wrote:
> Michael Buesch wrote:
> > On Monday 09 June 2008 13:48:35 Steve Brown wrote:
> >   
> >> This adds support to ehci-hcd for the ehci host function of the USB20 ssb 
> >> core in the Broadcom BCM5354. That core implements both ehci and ohci. The 
> >> support is implemented as a library or extension to the ohci-ssb support 
> >> in the ohci-hcd driver and is not standalone. The ehci-hcd driver must 
> >> load before the ohci-hcd driver.
> >>
> >> Signed-off-by: Steve Brown <[EMAIL PROTECTED]>
> >> Cc: Michael Buesch <[EMAIL PROTECTED]>
> >>     
> >
> > Do you have commit access to SVN?
> > If not, I'll commit it for you. (I assume you tested this patch and it 
> > works correctly).
> >
> >   
> I don't have commit access.
> 
> I've tested both ehci and ohci using the new code as well as built 
> without ehci and tested that ohci still worked. This was done using the 
> same file I submitted. As for the build process, selecting ehci selects 
> ohci. Also, ehci is loaded first. But, you never know.
> 
> Thanks for your help,
> 
> Steve
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to