On Fri, 15 Apr 2005, Michael wrote:
> I've attached my arch/arm/mach-lh7a40x/arch-oscar.c file, where I
> specify that I have this platform device.
Michael, just a side note about the delay function you use:
static void isp1362_delay(struct device *dev, unsigned int
delay)
{
printk(KERN_INFO"in isp1362_delay\n");
ndelay(delay * 2);
// (void) *(volatile unsigned long *)BUSDELAY_VIRT;
}
On ARM, ndelay() resolves to udelay(), i.e., the minimum
delay you'll get here, is 1 us. If you are going to use
ndelay(), you might rather just uncomment the macro
USE_NDELAY instead of USE_PLATFORM_DELAY and you don't need
to define isp1362_delay() at all.
Olav
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel