On Friday 23 June 2006 3:55 am, Ralf Baechle wrote:
> 
> First part looks a bit hackish... but it works for me.

I take it there's no cpu_is_au1500() macro to use?  Maybe you should
add one, and start using it here.

Otherwise, the main reasons its hackish is that "not 1200" is not the
same as "is 1500", and the comma operator is not widely understood.
Plus, if it's 1500-specific, the udelay should be before the #endif.

> +#ifndef CONFIG_SOC_AU1200
>       /* wait for reset complete (read register twice; see au1500 errata) */
>       while (au_readl(USB_HOST_CONFIG),
>               !(au_readl(USB_HOST_CONFIG) & USBH_ENABLE_RD))
> +#endif
>               udelay(1000);

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to