What I forgot to ask, on what processors are you using the isp1362 or
1161 HCs? We try to get it running on a Motorola i.MX processor.
I wonder, if this platform setup is reasonable or breaks stuff:
void ohci_isp1362_hw_reset(int id, int set)
{
}
static struct ohci_chip_info ohci_1362_data = {
.hw_reset = ohci_isp1362_hw_reset,
.clock_enable = NULL,
.clock_disable = NULL,
};
static struct resource ohci_isp1362_resources[] = {
{
.name= "mem",
.start= IMX_CS1_PHYS + 2,
.end= IMX_CS1_PHYS + 3,
.flags= IORESOURCE_MEM,
},
{
.name= "mem",
.start= IMX_CS1_PHYS + 0,
.end= IMX_CS1_PHYS + 1,
.flags= IORESOURCE_MEM,
},
{
.name= "irq",
.start= IRQ_GPIOA(1),
.end= IRQ_GPIOA(1),
.flags= IORESOURCE_IRQ,
},
{
.name= "dma",
.start= -1,
.end= -1,
.flags= IORESOURCE_DMA,
},
};
static u64 usb_dma_mask = 0xffffffff;
static struct platform_device ohci_isp1362_device = {
.name = "isp1362-ohci",
.id = 0,
.num_resources = ARRAY_SIZE(ohci_isp1362_resources),
.resource = ohci_isp1362_resources,
.dev = {
.platform_data = &ohci_1362_data,
.dma_mask = &usb_dma_mask,
.coherent_dma_mask = ~0,
}
};
In special, how do you set your dma mask?
Regards, Konsti
--
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E A080 1E69 3FDA EF62 FCEF
-------------------------------------------------------
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://productguide.itmanagersjournal.com/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel