Hi All, I tested this patch and it works. Now I can detect USB device normally. Thanks Daniel.
BR. Hans 2012/8/7 Daniel Golle <[email protected]>: > In order to get OHCI/EHCI working on the Rt3352, the platform device must be > named so rt3883-?hci will recognize it. > > Maybe we should rename the whole story to be rt3xxx-?hci for both, Rt3883 and > Rt3352...? > > Signed-off-by: Daniel Golle <[email protected]> > > diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/devices.c > b/target/linux/ramips/files/arch/mips/ralink/rt305x/devices.c > index bebab81..2e884c3 100644 > --- a/target/linux/ramips/files/arch/mips/ralink/rt305x/devices.c > +++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/devices.c > @@ -352,7 +352,7 @@ static struct resource rt3352_ehci_resources[] = { > > static u64 rt3352_ehci_dmamask = DMA_BIT_MASK(32); > static struct platform_device rt3352_ehci_device = { > - .name = "rt3352-ehci", > + .name = "rt3883-ehci", > .id = -1, > .resource = rt3352_ehci_resources, > .num_resources = ARRAY_SIZE(rt3352_ehci_resources), > @@ -382,7 +382,7 @@ static struct rt3883_ohci_platform_data rt3352_ohci_data > = { > > static u64 rt3352_ohci_dmamask = DMA_BIT_MASK(32); > static struct platform_device rt3352_ohci_device = { > - .name = "rt3352-ohci", > + .name = "rt3883-ohci", > .id = -1, > .resource = rt3352_ohci_resources, > .num_resources = ARRAY_SIZE(rt3352_ohci_resources), _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
