Felipe Maya wrote:
> 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:
> ....
> ....
> ....
>   
What goes wrong?
Are you using the patch I posted on this list?
Also, what router is your 5354 in?

This is very puzzling. One of the major changes was to get rid of the 
fake USB11 device. The single USB20 device now gets shared between the 
ehci and ohci drivers. I don't understand how the code in that case even 
got executed.

I just got a wl500gpv2 that has a 5354 and 2 usb ports. As soon as I get 
some headers soldered to it, I'll try both ports and see if I can get it 
to break.

Steve

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

Reply via email to